Create a fork

View as Markdown
Creates a [fork](https://learning.postman.com/docs/collaborating-in-postman/version-control/#creating-a-fork) from an existing collection into a workspace.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

collectionIdstringRequired
The collection's ID.

Query parameters

workspacestringRequired
The workspace ID in which to create the fork.

Request

This endpoint expects an object.
labelstringRequired
The fork's label.

Response

Successful Response
collectionobject
Information about the forked collection.

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error