Number of APIs: 7
GET https://api.getpostman.com/collections
The The response contains an array of collection information containing the Requires API Key as /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.name
, id
, owner
and uid
of each collection.
X-Api-Key
request header or apikey
URL query parameter.
GET https://api.getpostman.com/collections/{{collection_uid}}
Access the contents of a collection that is accessible to you using its unique id ( Requires API Key as uid
).
X-Api-Key
request header or apikey
URL query parameter.
POST https://api.getpostman.com/collections
This endpoint allows you to create collections using the Qodex Collection v2 format. For more information about the v2 schema, check the format here. On successful creation of the collection, the response returns the collection You can also specify the context of a workspace to create a collection in directly by passing the Requires API Key as name
, id
and the uid
.workspace
as a query param.
X-Api-Key
request header or apikey
URL query parameter.
PUT https://api.getpostman.com/collections/{{collection_uid}}
This endpoint allows you to update an existing collection using the Qodex Collection v2 format. For more information about the v2 schema, check the format here. On successful updation of the collection, the response returns the collection Requires API Key as Note: Please be careful when trying to update the collection, as the existing collection will be replaced by the request body.name
, id
and uid
.
X-Api-Key
request header or apikey
URL query parameter.
DELETE https://api.getpostman.com/collections/{{collection_uid}}
This endpoint allows you to delete an existing collection. On successful deletion of the collection, the response returns the Requires API Key as id
and uid
.
X-Api-Key
request header or apikey
URL query parameter.
POST https://api.getpostman.com/collections/fork/{{collection_uid}}?workspace={{workspace_id}}
This endpoint allows you to create a fork from an existing collection. On successful creation of the collection, the response returns the collection You can also specify the context of a workspace to fork a collection in by passing the Requires API Key as name
, id
, uid
along with fork
information.workspace
as a query param.
X-Api-Key
request header or apikey
URL query parameter.
7. Merge a Fork
POST https://api.getpostman.com/collections/merge
This endpoint allows you to merge a forked collection back to its destination collection. On successful creation of the collection, the response returns the collection You need to specify the fork UID (as Optionally, you can also specify the merge strategy as either If the collections cannot be merged (due to conflicts), appropriate error messages will be returned. Requires API Key as name
, id
and uid
.source
) and destination collection UID (as destination
) in the request body.deleteSource
or updateSourceWithDestination
. Following is an explanation of the merge strategies
Merge Strategy
Behaviour
deleteSource
Forked collection is deleted after merging
updateSourceWithDestination
Forked collection is up to date with changes in destination collection
X-Api-Key
request header or apikey
URL query parameter.
ENDPOINTS