Skip to main content
Omneya
EN
Start test system Try it
Developer docs menu

Request log

What the shop records about each API request, how sensitive fields are masked, and how long entries are kept.

What is recorded

The shop keeps a log of the requests made with your key. The shop operator has access to it and can use it to see why a request was rejected, without you having to send screenshots or payloads.

Every request that is sent with a valid key is recorded, including requests that end in 403, 422, 429 or 500. Each entry contains:

  • HTTP method and path
  • status code
  • error.code and the field errors from error.details, if any
  • the request body, with sensitive fields masked (see below)
  • external_order_id, if the body contains one
  • the ID of the created order, for a successful POST /orders
  • duration of the request
  • the IP address the request came from

Requests without a recognized key, which end in 401, are not recorded, because they cannot be assigned to an access.

Masked fields

Before a body is stored, fields with these names are replaced by ********, at any nesting level:

  • api_key
  • key
  • token
  • password
  • secret

Never send keys or passwords in a request body. The API does not need them there; your key belongs in the Authorization header, which is not recorded.

Bodies larger than 64 KB, and bodies that are not valid JSON, are not stored. The entry then only notes that the body was left out.

Retention

Entries are deleted automatically after 14 days.

Working with the operator

When a request fails and you need help, give the operator:

  • the time of the request
  • the method and path
  • your external_order_id, for orders
  • error.details.reference, if the response contained one

With this the operator can find the entry and see the exact data the shop received. Recording never changes the response: if writing the log fails, your request is answered as usual.