Request IDs
Each API request has an associated request identifier. You can find this value in the response headers, under X-Request-Id. You can place your own identifier into a request header, and you receive it in a response header as well. We recommend using a random character generator such as UUID.
Example request
Example request with a correlation id header
curl https://api.inpost-group.com/location/v1/points
-H "Authorization: Bearer {token}"
-H "Content-Type: application/json"
-H "X-Request-Id: ee59dccf-d686-4ea4-b21c-781118ad163e"
Example response with a correlation id header
< x-request-id: ee59dccf-d686-4ea4-b21c-781118ad163e
{
"count": 62388,
"page": 1,
"perPage": 25,
"totalPages": 2496,
"items": [
{
"id": "GB_12345",
"type": "APM",
"country": "GB",
"locationType": "INDOOR",
"imageUrl": "https://test-api-images.easypack24.net/gb/images/GB_12345.jpg",
"coordinates": {
"latitude": 0.0,
"longitude": 0.0
},
...
}