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