Skip to main content
Every OrigoID endpoint returns the same envelope. This consistency is intentional — your parser is one helper that works for every operation.

Shape

Fields

ErrorDetail (entries in errors[])

When type is INVALID_REQUEST, errors[] lists per-field issues. Each entry is:

HTTP status codes

OrigoID uses HTTP status codes that match the nature of the response: In every case where you receive a JSON body, it follows the envelope shape above.

Parsing pattern (any language)

Common type codes

Each endpoint also defines specific codes (e.g. CURP_NOT_FOUND, CFDI_CANCELED, INE_NOT_VALID). See each operation in the API reference for the complete list.