Create a collection
POST https://api.getpostman.com/collections
Creates a collection using the [Qodex Collection v2 schema format]
Body
PARAM
Key | Datatype | Required | Description |
workspace
|
string | Optional. A workspace ID in which to create the collection. If you do not include this query parameter, the system creates the collection in your "My Workspace" workspace. |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
RESPONSES
status OK
{
"collection": {
"id": "12ece9e1-2abf-4edc-8e34-de66e74114d2",
"name": "Sample Collection",
"uid": "12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2"
}
} |
ENDPOINTS