Create a webhook
POST
/webhooksAutorisation
AuthorizationJeton Bearer · headerrequisA BillionSend API key (bs_…).
Corps de la requête
requisapplication/jsonendpointstring<uri>requislongueur max 2048
eventsstring[]requismin 1 éléments
inbox_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: every inbox.
max 100 éléments
signing_secretstringSigning secret to use instead of minting one: whsec_ followed by base64 of 24-64 bytes (the Standard Webhooks format). An existing secret carried over keeps the receiver verifying unchanged; when omitted, a new one is generated.
Réponses
200
Webhook created; signing_secret is also retrievable via GET /webhooks/{id}
objectstringrequisValeurs autorisées :
webhookidstring<uuid>requissigning_secretstringrequis401
Missing, malformed, unknown or revoked API key
statusCodenumberrequisnamestringrequismessagestringrequis403
Plan webhook endpoint limit reached
statusCodenumberrequisnamestringrequismessagestringrequis422
Validation error
statusCodenumberrequisnamestringrequismessagestringrequis429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberrequisnamestringrequismessagestringrequis