Create a new webhook subscription

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
account_idintegerOptional
Account ID of the associated account
callback_urlstringOptional
URL to be notified
callback_usernamestringOptional
Username to be sent to the notification URL
callback_passwordstringOptional
Password to be sent to the notification URL
event_idstringOptional

ID of the event that you are subscribing to. Valid values: ACCOUNT.CERTIFICATIONUPDATE

Response

Digital certificate link successfully generated
account_idinteger or null
Account ID of the associated account
webhook_subscription_idstring or null
ID of the webhook subscription
webhook_dataobject or null

Errors