Creates a webhook endpoint
Creates a webhook endpoint.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
"https://mycompany.com/incoming_webhooks/clients"
When not specified it defaults to true
thus enabling the endpoint.
[
"client.created",
"client.updated",
"client.deleted",
"file_import.finished"
]
Response
Creates a webhook webdpoints allowing external backend systems to be notified wheneve the event occurs on BSPK.
Unique identifier of the store where the appointment was created (based on associate assignment)
Store name of where the appointment was created (based on associate assignment)
[
"client.created",
"client.updated",
"client.deleted"
]
Whether or not the webhoook endpoint is enabled. If true
events will be sent to it, otherwise it will not.
Timestamp of when the webhook endpoint was created
Timestamp of when the webhook endpoint was last updated
(Only returned while creating the endpoint). The secret that BSPK will send (via X-Bspk-Secret
HTTP header) on every request to this endpoint so that your bakend can validate requests.