Logo
15_Days_of_Postman_-_for_testers_IvanKo API Documentation

Get all collections

GET {{baseUrl}}/collections

Gets all of your collections. The response includes all of your subscribed collections.

 

Body PARAM

Key Datatype Required Description 
name
string Filter results by collections that match the given name.
workspace
string 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?name=<string>&workspace=<string>'

ENDPOINTS