Logo
30 days challenge API Documentation

Create a Fork

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 name, id, uid along with fork information.

You can also specify the context of a workspace to fork a collection in by passing the workspace as a query param.

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

 

Body PARAM

Key Datatype Required Description 
workspace
string Workspace ID is required to create a fork



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X POST 'https://api.getpostman.com/collections/fork/undefined?workspace=undefined?workspace=undefined' -H 'Content-Type: application/json' -d '{"label":"Fork label"}'

ENDPOINTS