Create a webhook endpoint

Registers a webhook endpoint. Deliveries carry recipients' phone numbers in full, so registering one also requires the phones:view scope. The response is the only place the signing secret ever appears — store it before doing anything else.

Body Params

Registers a webhook endpoint to receive event deliveries.

uri
required
^https://.*

HTTPS URL deliveries are POSTed to.

boolean
Defaults to false

Whether the endpoint starts receiving deliveries immediately; defaults to false.

events
array of objects, unique
required
length between 1 and 2147483647

Event types delivered to this endpoint; at least one.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json