Create Webhook
Webhooks
Créer un webhook
Creates a new webhook configuration for a specific Allo number.
POST
Create Webhook
Autorisations
Scope needed: WEBHOOKS_READ_WRITE
Corps
application/json
Request body for creating a webhook configuration
The Allo phone number to create the webhook for (E.164 format)
Exemple:
"+1234567890"
The webhook URL endpoint to receive events
List of webhook topics to subscribe to
Options disponibles:
CALL_RECEIVED, SMS_RECEIVED, CONTACT_CREATED, CONTACT_UPDATED Whether the webhook is enabled
Réponse
Webhook created successfully
Response containing the created webhook configuration