GEThttps://api.veriko.mx/v1/beneficiaries/imports/template

Download bulk import template

Visibility
public
Auth
API key
Permission
beneficiaries.records.create
How-to guide →

Returns a template file in the requested format, with the fixed headers label, account_number and bank_code (the same fields as POST /v1/beneficiaries) and example rows for CLABE, card and DiMo phone. Serves as a starting point for the bulk import.

The headers do not change with the language: the Accept-Language header only picks the language of the example rows and the sheet name; Spanish is served by default. On import, headers are matched case-insensitively.

Parameters
ParameterInTypeRequiredDescription
format*querystringrequired

Format of the downloaded template. csv, xls, xlsx, and txt carry the expected columns ready to fill in; json carries the same shape for generating the file from a program.

e.g. csv
Request
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.

Response status codesGET /v1/beneficiaries/imports/template
StatusClassDescriptionBody
2002xx
Generated template file. Content-Type varies by format (text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel, text/plain, application/json).
Body without schema
4014xx
Authentication is required or the provided credentials are invalid.
ErrorResponse
4034xx
Insufficient permissions. Also email_verification_required: the account's email cannot receive mail and, until it is fixed or verified, only reading the profile, fixing the email, and logging out are allowed.
ErrorResponse
4224xx
invalid_format: The requested format is not supported.
ErrorResponse
4294xx
Rate limit exceeded (rate_limit_exceeded: wait a few seconds).
RetryAfterError
Response headers200
HeaderTypeDescription
Content-Dispositionstring
Suggested download filename.
Content-Typestring
Varies by ?format (CSV / XLSX / XLS / TXT / JSON).
Errors from GET /v1/beneficiaries/imports/template
StatusCodeExample
401unauthorized

This request requires authentication.

Envelope
meta.request_id
c4d5e6f7a8b99b8a7f6e5d4c
403permission_denied

You do not have permission to access this resource.

Envelope
meta.request_id
d5e6f7a8b9c00c9b8a7f6e5d
422invalid_format

Invalid template format; accepted: csv, xlsx, xls, txt, json.

Envelope
meta.request_id
c5d6e7f8a9b00b9a8f7e6d5c
429rate_limit_exceeded

You exceeded the request limit.

Envelope
meta.request_id
f7a8b9c0d1e22e1d0c9b8a7f
Response headers
  • Retry-After: integer — Seconds to wait before retrying. Matches the endpoint's rate-limit window (typically 60s for list endpoints, 1-5s for in-flight idempotent operations).
  • X-RateLimit-Limit: integer — Configured request cap for this bucket. It is emitted on every 429 and, on the authenticated API, also on successful responses, where it is the per-key cap of the account plan.
  • X-RateLimit-Remaining: integer — Requests remaining in the current window. Always 0 at the moment of the 429; on a successful response of the authenticated API it is what is left of the per-key cap.
  • X-RateLimit-Reset: integer — Absolute Unix epoch (seconds) when the window resets. Emitted on every 429, alongside Retry-After, and on successful responses of the authenticated API.