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-Keyrequest header orapikeyURL query parameter.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
workspace | string | Workspace ID is required to create a fork |
Request Body
{"label"=>"Fork label"}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string |