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 provide own identifier and place it into request header and you receive it in response headers as well. We recommend using a strongly random character generator such as UUID.

Example request

Example request with correlation id header

curl https://api.inpost-group.com/points \
  -H "Authorization: Bearer {token}"
  -H "Content-Type: application/json"
  -H "X-Request-Id: ee59dccf-d686-4ea4-b21c-781118ad163e"

Example response with correlation id header


< x-request-id: ee59dccf-d686-4ea4-b21c-781118ad163e
{
  "count": 62388,
  "page": 1,
  "perPage": 25,
  "totalPages": 2496,
  "items": [
    {
      "id": "GB_76992",
      "type": "APM",
      "country": "GB",
      "locationType": "INDOOR",
      "imageUrl": "https://test-api-images.easypack24.net/gb/images/76992.jpg",
      "coordinates": {
        "latitude": 0.0,
        "longitude": 0.0
      },
      ...
}