Kanał kodu weryfikacyjnego zakończony sukcesem
Zdarzenie verify_code.channel.success jest wyzwalane, gdy określony kanał pomyślnie przetworzył kod weryfikacyjny.
Authorizations
Dział zatytułowany „Authorizations ”Request Body required
Dział zatytułowany „Request Body required ”object
Unikalny identyfikator UUID encji
Wersja struktury danych webhooka powiadomień
Nazwa zdarzenia webhooka
Znacznik czasu dodania encji do systemu przez użytkownika
Łączna liczba prób dostarczenia webhooka powiadomienia
Numer bieżącej próby powiadomienia przez webhook
Notification task identifier (request identifier)
Data for verify_code.channel.sent, verify_code.channel.success and verify_code.channel.failed 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.
Channel-specific processing details
object
History entry ID
Channel type
Channel processing status
Processing timestamp
External provider ID
Error message if failed
Cost for this channel in cents
Examples
Verify Code Channel Success Event
Event sent when a specific channel has confirmed successful delivery of the verification code
{ "id": "b3e4f5a6-7c8d-4e9f-0a1b-2c3d4e5f6a7b", "api_version": "2022-05-25", "name": "verify_code.channel.success", "created_at": 1735689575, "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": 1735689575, "history": [ { "id": "a1b2c3d4-d5e6-7890-abcd-ef1234567890", "channel": "telegram", "status": 10, "processed_at": 1735689570, "external_id": "tg_msg_001" } ], "is_code_deleted": false, "channel": { "id": "a1b2c3d4-d5e6-7890-abcd-ef1234567890", "channel": "telegram", "status": 10, "processed_at": 1735689570, "external_id": "tg_msg_001", "error": null, "cost": 5 } }, "notification_task_id": "66cbf195-fb99-4fb9-8a5c-5e43f74ee864"}Responses
Dział zatytułowany „ Responses ”Webhook odebrany
Nieprawidłowa struktura treści żądania webhooka
Żądanie webhooka nieautoryzowane
Dostęp do webhooka zabroniony
Dostęp do webhooka zabroniony
Błąd serwera