Skip to content

Request identifier (X-Request-ID)

X-Request-ID is a header that comes in the return of a call to the APIs and is useful in cases of debugging and checking LOGs. It is very important that when requesting support the X-Request-ID is provided.

Example where to find x-request-id in Postman

Example where to find x-request-id in Postman

An example of using X-Request-ID:

GET /v0/orders HTTP/1.1
Host: api.magalu.com
X-Request-Id: e9f485cc-5b67-4791-a723-919c5796a9f0

Note

The header value can be generated by the client, but if not provided, we will create it automatically. We recommend that applications save this value to facilitate the identification of requests in case of problems. It must always be a UUID.