GET https://api.veriko.mx/v1/validations/export

Export validations

Audience
public
Auth
API key
Permission
validations:read
How-to guide →

Downloads a file with the authenticated user's validation records. Supports the same filters as GET /v1/validations. The format parameter selects between CSV (default) and XLSX. The filename includes the brand slug + period (date).

Parameters
Parameter In Type Required Description
batch_id query integer optional

Filters to validations belonging to a bulk import job.

date_from query string (date) optional

Inclusive start date (YYYY-MM-DD).

date_to query string (date) optional

Inclusive end date (YYYY-MM-DD).

format query string optional

File format: `csv` (default) or `xlsx`.

Default: csv

playground query string optional

When set to `'1'`, exports only sandbox validations.

retry_state query string optional

Filters by automatic retry cycle status.

search query string optional

Search across tracking key, reference, sender, and recipient.

status query string optional

Filter by granular status.

type query string optional

Filter by type.

with_deleted query string optional

Tri-state full-visibility: omit = all; `'1'` = deleted only; `'0'` = active only.

Request
curl -X GET 'https://api.veriko.mx/v1/validations/export' \
  -H 'Authorization: Bearer mxcep_••••'

Python example — coming soon.

JavaScript example — coming soon.

PHP example — coming soon.

Response status codes GET /v1/validations/export
Status Class Description Body
200 2xx CSV file (with UTF-8 BOM) or XLSX based on `format`. The filename is `<brand-slug>-validaciones-<YYYY-MM-DD>.<ext>`. No body
401 4xx Authentication is required or the provided credentials are invalid. ErrorResponse
Response headers 200
Header Type Description
Content-Disposition string Download header with the canonical filename.
Errors from GET /v1/validations/export
Status Code Detail
401 unauthorized

Invalid or missing authentication credentials.

Envelope
meta.request_id
c4d5e6f7a8b9