https://api.veriko.mx/v1/beneficiaries/imports/templateDownload bulk import template
How-to guide →Returns a template file in the requested format, with headers in Spanish or English and example rows for CLABE, card and DiMo phone. Serves as a starting point for the bulk import. Header language is negotiated with the Accept-Language header; Spanish is served by default. The import parser then accepts headers in both languages accent-insensitively.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
format* | query | string | required | Format of the downloaded template. csv |
curl -X GET 'https://api.veriko.mx/v1/beneficiaries/imports/template' \
-H 'Authorization: Bearer veriko_••••'Python example — coming soon.
JavaScript example — coming soon.
PHP example — coming soon.
| Status | Class | Description | Body |
|---|---|---|---|
| 200 | 2xx | Generated template file. Content-Type varies by format (text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel, text/plain, application/json). | No body |
| 401 | 4xx | Authentication is required or the provided credentials are invalid. | ErrorResponse |
| 403 | 4xx | Insufficient permissions. | ErrorResponse |
| 422 | 4xx | invalid_format — the requested format is not supported. | ErrorResponse |
| Header | Type | Description |
|---|---|---|
Content-Disposition | string | Suggested download filename. |
Content-Type | string | Varies by ?format (CSV / XLSX / XLS / TXT / JSON). |
| Status | Code | Example |
|---|---|---|
| 401 | unauthorized | Invalid or missing authentication credentials. Envelope
|
| 403 | forbidden | You do not have permission to access this resource. Envelope
|
| 422 | invalid_format | Format must be one of: csv, xlsx, xls, txt, json Envelope
|