Pular para o conteúdo

Teste Registo de entrega de SMS (DLR)

POST

O evento ‘sms.delivery.dryrun’ é usado para uma emulação de envio de SMS. Veja Simular o envio de um SMS (para teste).

Cada SMS tem um código de relatório de entrega (DLR).

Notificações de webhook

Media type application/json
object
id

Unique entity UUID

string
/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
api_version

Versão da estrutura de dados do webhook de notificação

string
Example
2022-05-25
name

Nome do evento do Webhook

string
created_at

Timestamp when the entity was added to the system by the user

integer
attempt_total

Número total de tentativas de entrega de webhooks de notificação

integer
>= 1 <= 4
Example
4
attempt_number

Número atual da tentativa de notificação do webhook

integer
>= 1
Example
1
notification_task_id

Notification task identifier (request identifier)

string format: uuid
Example
3378de83-de66-4de8-9d29-2b10d41bb641
name
Allowed values: sms.delivery.dryrun
data

Data for sms.delivery and sms.delivery.dryrun events

object
id

Unique entity UUID

string
/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
key_id

Identificador da chave API

integer
>= 1
dlr_code
integer
Allowed values: 0 1 2 4 8 16
Example
1
status_code

Status of the sms. For more info see SMS status codes

integer
Allowed values: 0 100 208 400 410 2000 3000 5000 6000
callback_data

String which will be send back to your endpoint. E.g. it can be usable to pass your system message id.

string | null
<= 36 characters

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