Código de verificação bem-sucedido
O evento verify_code.success é acionado quando o código de verificação foi entregue com sucesso e o destinatário foi verificado.
Authorizations
Seção intitulada “Authorizations ”Request Body required
Seção intitulada “Request Body required ”object
Unique entity UUID
Versão da estrutura de dados do webhook de notificação
Nome do evento do Webhook
Timestamp when the entity was added to the system by the user
Número total de tentativas de entrega de webhooks de notificação
Número atual da tentativa de notificação do webhook
Notification task identifier (request identifier)
Data for verify_code.success, verify_code.failed and verify_code.channel.updated events
object
Verify code ID (UUID)
User ID
Phone number
Routing strategy configuration
object
Timeout in seconds. Only applicable for the telegram channel.
Verify code status
Channel that delivered the code
Cost in cents
Currency code
Verification code
Code length
Custom payload
Creation timestamp
Last update timestamp
Processing history
object
Whether the verification code has been deleted from storage after being sent.
Examples
Verify Code Success Event
Event sent when the verification code was successfully delivered and verified
{ "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "api_version": "2022-05-25", "name": "verify_code.success", "created_at": 1735689600, "attempt_total": 3, "attempt_number": 1, "data": { "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "user_id": 12345, "phone": "+4915112345678", "routing_strategy": [ { "channel": "telegram", "timeout_sec": 30, "sender_id": "LOX24" }, { "channel": "sms", "timeout_sec": 60, "sender_id": "LOX24" } ], "status": 10, "delivered_channel": "telegram", "cost": 5, "currency": "EUR", "code": "1234", "code_length": 4, "payload": "session_abc123", "created_at": 1735689540, "updated_at": 1735689600, "history": [ { "id": "a1b2c3d4-d5e6-7890-abcd-ef1234567890", "channel": "telegram", "status": 10, "processed_at": 1735689570, "external_id": "tg_msg_001" } ], "is_code_deleted": false }, "notification_task_id": "3378de83-de66-4de8-9d29-2b10d41bb641"}Responses
Seção intitulada “ Responses ”Webhook recebido
Estrutura do corpo do pedido de webhook inválido
Pedido de webhook não autorizado
Acesso proibido ao webhook
Acesso proibido ao webhook
Erro do servidor