Update a webhook
PATCH
/webhooks/{id}Autorisation
AuthorizationJeton Bearer · headerrequisA BillionSend API key (bs_…).
Paramètres de chemin
idstring<uuid>requisCorps de la requête
application/jsonendpointstring<uri>longueur max 2048
eventsstring[]min 1 éléments
statusstringValeurs autorisées :
enableddisabledinbox_idsstring<uuid>[] | nullBillionSend extension: inbox events and email.received reach this endpoint only for these inboxes of the team (at most 100). null means every inbox. Omitted: unchanged.
max 100 éléments
Réponses
200
Webhook updated
objectstringrequisValeurs autorisées :
webhookidstring<uuid>requis401
Missing, malformed, unknown or revoked API key
statusCodenumberrequisnamestringrequismessagestringrequis404
Not found
statusCodenumberrequisnamestringrequismessagestringrequis422
Validation error
statusCodenumberrequisnamestringrequismessagestringrequis429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberrequisnamestringrequismessagestringrequis