Create a fork

POST https://api.getpostman.com/collections/fork/{{collectionId}}?workspace={{workspaceId}}

Creates a [fork] from an existing collection into a workspace. Include the following required request body properties:

  • label — The fork's label.

Request Params

KeyDatatypeRequiredDescription
workspacestringRequired. The workspace ID in which to fork the collection.

Request Body

{"label"=>"{{collectionForkName}}"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"collection":{"id":"09547fef-a9a5-4e00-998b-aa563e8db69a","name":"Test Collection","fork":{"label":"Test Fork","createdAt":"2022-06-16T19:51:44.069Z","from":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2"},"uid":"12345678-09547fef-a9a5-4e00-998b-aa563e8db69a"}}