In the API, each number is a line object, so the events about your numbers are the line.* events below.
Events
- Messages:
message.receivedandmessage.status. - Contacts:
contact.created,contact.opted_outandcontact.opted_in. - Conversations and agents:
conversation.assignedandagent.handoff. - Numbers:
line.state_changed,line.degradedandline.recovered. - Workflows:
workflow.run.completedandworkflow.webhook.
Retries and replay
- Answer with any
2xxwithin 10 seconds, then do slow work afterwards. - Anything else is retried with exponential backoff and jitter for up to 24 hours. Answer
410 Goneto stop and disable the endpoint. - Delivery is at least once, and events can arrive out of order. Skip an event
idyou've already handled. - Every attempt is kept. Replay a finished delivery from the dashboard or the API; it sends the same event with a fresh signature.
Endpoints and secrets
- An endpoint must be a public
httpsURL. Private, loopback and metadata addresses are refused. - Each endpoint's signing secret is shown once, when you create it. When you rotate it, deliveries carry both signatures for 24 hours.
- A workspace can have up to 20 endpoints.