https://api.veriko.mx/v1/beneficiaries/imports/{id}/previewPreview extracted rows from import
How-to guide →Returns rows extracted from the file, paginated and filterable by bucket. CLABEs and phones are shown in full to the job owner; cards are also returned in full in the owner's view (the cross-user admin view masks them). Available only when the job is in preview_ready or later states with total_rows>0.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id* | path | integer | required | Numeric ID of the import job. e.g.42 |
buckets | query | array<string> | optional | Which rows to include, based on how they came out of the file.
["valid","correctable"] |
page | query | integer | optional | Page number (1-based). Default: 1 |
per_page | query | integer | optional | Rows per page (1–100). Default: 25 |
curl -X GET 'https://api.veriko.mx/v1/beneficiaries/imports/{id}/preview' \
-H 'Authorization: Bearer veriko_••••'Python example — coming soon.
JavaScript example — coming soon.
PHP example — coming soon.
| Field | Type | Description |
|---|---|---|
data | array | Main response payload. Shape varies by endpoint (object, array, or JSON:API envelope with |
type | string | JSON:API resource type (always beneficiary_import_row |
id | string | Numeric row ID expressed as a string (JSON:API format). e.g.123 |
attributes | object | Parsed row fields. |
row_index | integer | 0-based position of the row in the original file. Allows the user to locate the row in the source document. e.g.5 |
status | string | Classification bucket: valid |
parsed_account | string | nullnullable | Normalized account number extracted from the file. The job owner can view and edit this value in the preview; 012180004412345678 |
parsed_account_type | string | nullnullable | Detected account type. clabe |
parsed_bank_code | string | nullnullable | 5-digit Banxico code of the receiving bank derived from the parsed account. 40012 |
parsed_bank_name | string | nullnullable | Resolved name of the receiving bank. BBVA MEXICO |
parsed_label | string | nullnullable | Label/alias extracted from the file or auto-assigned. Proveedor ABC |
error_codes | array | Stable error codes for the row (e.g. [] |
corrections_applied | object | Auto-corrections applied by the system to this row (e.g. {} |
user_overrides | object | Manual user overrides submitted via {} |
raw_preview | object | Snippet of the original file for diagnostic purposes. Sequences of 6 or more consecutive digits are masked ( {} |
created_beneficiary_id | integer | nullnullable | ID of the beneficiary record created after commit. null |
meta | object | Response metadata including API version, route prefix, unique request identifier, and the server timestamp in UTC. |
version | string | API version that processed the request. e.g.1.47.0 |
api_version | string | API route prefix version (e.g. v1 |
request_id | string | Unique request identifier (hex). e.g.a1b2c3d4e5f6 |
datetime | object | Companion descriptor present in every response's meta block (and in outgoing webhook payloads). Lets clients assert the timezone contract without re-reading the spec. e.g.{"timezone":"UTC","format":"ISO 8601"} |
timezone* | string | Always UTC |
format* | string | Always ISO 8601 |
links | object | Pagination or related links, present only when the endpoint returns a paginated collection. |
| Status | Class | Description | Body |
|---|---|---|---|
| 200 | 2xx | Paginated preview rows with pagination metadata and job snapshot. | BeneficiaryImportPreviewResponse |
| 401 | 4xx | Authentication is required or the provided credentials are invalid. | ErrorResponse |
| 403 | 4xx | Insufficient permissions. | ErrorResponse |
| 404 | 4xx | The resource does not exist or is not visible to the client | Error |
| Status | Code | Example |
|---|---|---|
| 401 | unauthorized | Invalid or missing authentication credentials. Envelope
|
| 403 | forbidden | You do not have permission to access this resource. Envelope
|