https://api.veriko.mx/v1/validations/{id}/cep/send-telegramSend the CEP to Telegram
How-to guide →Starts delivery of the CEP as a PDF to the Telegram chat linked to the owning account.
An HTTP status 202 (with queued: true in the body) confirms that delivery is pending, not that it completed.
It requires an available receipt and a linked Telegram account:
- Without the document, it responds with an HTTP status
409(withcep_not_availablein the body). - Without the link, it responds with an HTTP status
409(withtelegram_not_linkedin the body).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id* | path | string (uuid) | required | Validation UUID. |
Idempotency-Key | header | string | optional | Optional client-generated key (Stripe-style) that guarantees the request is processed exactly once within a 24-hour TTL. The scope is 11111111-2222-3333-4444-555555555555 |
curl -X POST 'https://api.veriko.mx/v1/validations/{id}/cep/send-telegram' \
-H 'Authorization: Bearer veriko_••••' \
-H 'Content-Type: application/json'Python example — coming soon.
JavaScript example — coming soon.
PHP example — coming soon.
| Status | Class | Description | Body |
|---|---|---|---|
| 202 | 2xx | CEP delivery was accepted and is pending delivery to the linked Telegram chat. | Body without schema |
| 401 | 4xx | Authentication is required or the provided credentials are invalid. | ErrorResponse |
| 403 | 4xx | The validations.retries.manage permission is missing (permission_denied). The "Validate" and "Full access" API key presets include it. With "Read only", or with an explicit permission list that leaves it out, this operation responds 403. | ErrorResponse |
| 404 | 4xx | Validation not found or not owned by the account ( not_found). | ErrorResponse |
| 409 | 4xx | The CEP is unavailable ( cep_not_available) or the account has no linked Telegram chat (telegram_not_linked). | ErrorResponse |
| 410 | 4xx | The validation was purged and this resource no longer exists ( validation_purged). | ErrorResponse |
| 422 | 4xx | Invalid UUID in path ( invalid_uuid). | ErrorResponse |
| 429 | 4xx | Rate limit exceeded ( rate_limit_exceeded: wait a few seconds). | RetryAfterError |
| 503 | 5xx | Delivery could not be started ( dispatch_failed). | ErrorResponse |
| Header | Type | Description |
|---|---|---|
Idempotent-Replayed | string | Only present when the request included the Idempotency-Key header. false marks a fresh response; true marks a response reused from the idempotency cache, which remains valid for 24 hours per account, endpoint, and key. |
| Status | Code | Example |
|---|---|---|
| 401 | unauthorized | This request requires authentication. Envelope
|
| 403 | permission_denied | You do not have permission to access this resource. Envelope
|
| 404 | not_found | We could not find what you requested. Envelope
|
| 410 | validation_purged | This validation was permanently deleted. Envelope
|
| 422 | validation_error | Some data needs fixing. Envelope
|
| 429 | rate_limit_exceeded | You exceeded the request limit. Envelope
Response headers
|
| 503 | dispatch_failed | We could not start the request. Envelope
|