POST https://api.getpostman.com/collections
This endpoint allows you to create collections using the Qodex Collection v2 format. For more information about the v2 schema, check the format here. On successful creation of the collection, the response returns the collection You can also specify the context of a workspace to create a collection in directly by passing the Requires API Key as name
, id
and the uid
.workspace
as a query param.
X-Api-Key
request header or apikey
URL query parameter.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
RESPONSES
status OK
{
"collection": {
"id": "2412a72c-1d8e-491b-aced-93809c0e94e9",
"name": "Sample Collection",
"uid": "5852-2412a72c-1d8e-491b-aced-93809c0e94e9"
}
} |
ENDPOINTS