Logo
30 Days of Postman API Documentation

All Collections

GET https://api.getpostman.com/collections

The /collections endpoint returns a list of all collections that are accessible by you. The list includes your own collections and the collections that you have subscribed to.

The response contains an array of collection information containing the name, id, owner and uid of each collection.

Requires API Key as X-Api-Key request header or apikey URL query parameter.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "collections": [ { "id": "dac5eac9-148d-a32e-b76b-3edee9da28f7", "name": "Cloud API", "owner": "631643", "uid": "631643-dac5eac9-148d-a32e-b76b-3edee9da28f7" }, { "id": "f2e66c2e-5297-e4a5-739e-20cbb90900e3", "name": "Sample Collection", "owner": "631643", "uid": "631643-f2e66c2e-5297-e4a5-739e-20cbb90900e3" }, { "id": "f695cab7-6878-eb55-7943-ad88e1ccfd65", "name": "Postman Echo", "owner": "631643", "uid": "631643-f695cab7-6878-eb55-7943-ad88e1ccfd65" } ] }



Curl
curl -X GET 'https://api.getpostman.com/collections'

ENDPOINTS