Webhook events
Number allocated
eventorder.number_allocated
Sent when a phone number is allocated to your order. Register your endpoint in Dashboard → API Keys → Webhooks.
Verify the signature: each delivery carries
X-Webhook-Signature: sha256=<hmac> — HMAC-SHA256 of the raw request
body using your webhook secret — and X-Webhook-Event with the event
type. Respond 2xx quickly; non-2xx deliveries are retried with
backoff (30s → 5m → 30m → 2h).
PAYLOAD
BODY application/json
{
event_type: string
Allowed: order.number_allocated
order_id: string
service_code: string
country_code: string
phone_number: string
E.164 with the leading
+ and country calling code; same passthrough exception as the order phone_number.status: string
Allowed: active
allocated_at: string
amount_cents: integer
Amount charged for this order in cents (the same
amount_cents as the order).channel_id: string
The
channel_id the order was placed with. Present only for orders placed by channel.}
RESPONSE
Return any 2xx to acknowledge.