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.

Request Params

KeyDatatypeRequiredDescription
workspacestringWorkspace ID is required to create a fork

Request Body

{"name"=>"Fork name"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring