Logo
30daysofpostman API Documentation

All Collections - auth helper

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 
workspace
string Optional. A workspace ID.



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "collections": [ { "id": "dac5eac9-148d-a32e-b76b-3edee9da28f7", "name": "Cloud API", "owner": "12345678", "createdAt": "2022-04-12T10:29:46.000Z", "updatedAt": "2022-04-12T10:29:56.000Z", "uid": "12345678-dac5eac9-148d-a32e-b76b-3edee9da28f7", "isPublic": true } ] }



Curl
curl -X GET 'https://api.getpostman.com/collections?workspace=workspaceId'

ENDPOINTS