get single collection
GET https://api.getpostman.com/collections/{{collection_uid}}
Access the contents of a collection that is accessible to you using its unique id ( Requires API Key as uid
).
X-Api-Key
request header or apikey
URL query parameter.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"collection": {
"info": {
"name": "Sample Collection",
"description": "This is a sample collection that makes a tiny request to Postman Echo service to get the list of request headers sent by a HTTP client.",
"_postman_id": "12ece9e1-2abf-4edc-8e34-de66e74114d2",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
"fork": {
"label": "Sample Fork",
"createdAt": "2022-06-16T19:51:44.069Z",
"from": "12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2"
}
},
"item": [
{
"name": "Request Headers",
"id": "82ee981b-e19f-962a-401e-ea34ebfb4848",
"event": [
{
"listen": "test",
"script": {
"id": "7d2334fc-a84a-4c3d-b26c-7529afa4c0ae",
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"url": "https://echo.getpostman.com/headers",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
]
},
"response": []
}
]
}
} |
ENDPOINTS