Ir para o conteúdo

Requests with a unique identifier (x-request-trace-id)

By including an x-request-trace-id field, requests can be uniquely identified and thus audited.

To use it, simply include the x-request-trace-id field in the request header and assign it a unique value of your choosing. This will allow you to identify each request individually. This field is optional and is available in all versions of Datavalid.

Important information about x-request-trace-id

  • There is no validation of the data sent;
  • Avoid assigning personal data information.

More details

To learn more about this feature, select the desired endpoint and refer to the "Parameters" section within the API reference.

To verify the identification of the requests, you can generate a detailed report using the Customer Area Portal. The request identifier will be referred to as request-trace-id in the "observacoes" field. For example:

{
    "insumo-sufixo":"/validate/pf-face",
    "request-trace-id":"<seu código de identificação único>"
}