Webhook
Register Webhook
Register a webhook to listen to the events.
POST
/
user
/
webhook
/
Authorizations
X-API-KEY
string
headerrequiredYour API key with the prefix: dr_
. This is required by all endpoints to access our API programatically. You can view your API Key by navigating to the account settings panel (In the bottom left corner click on your Account
→ profile
)
Body
application/json
endpoint
string
requiredURL of the webhook endpoint to receive events
events
string[] | null
requiredList of subscribable events your webhook wants to listen to. null
means to subscribe to all the available events.
Response
201 - application/json
Allows to specify fields to be included
endpoint
string
requiredEndpoint to listen to the subscribed events.
key
string
requiredSecret key to perform HTTP Signature Verification.
events
string[]
requiredEvents to be observed.