https://api.veriko.mx/v1/beneficiaries/imports/{id}/previewPreview extracted rows from import
How-to guide →Returns the rows extracted from the file in an import job, paginated and filterable by bucket.
It responds in any job state; before preview_ready the list is empty.
| 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 | Position of the row within the original file, starting at 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 SPEI code of the resolved bank, derived from 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. Runs of 13 to 19 digits that are not a CLABE (18 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.a1b2c3d4e5f66f5e4d3c2b1a |
datetime | object | Companion descriptor present in the {"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 | permission_denied | You do not have permission to access this resource. Envelope
|