Skip to main content

Update delivery-status webhook

PUT 

/api/partner-gateway/webhooks/delivery-status

Replaces the callback URL of the delivery-status webhook. Use it when your endpoint changes: the next events go to the new URL at once.

  • It also switches every channel back on: notifications are enabled for SMS, RCS and WhatsApp in the JSON format described on POST /webhooks/delivery-status. A webhook whose channels were switched off, or whose SMS callbacks were set to another format, from the web dashboard sends every documented event again.
  • URL rules: the same as on creation. HTTPS on port 443 or 8443, no credentials, no fragment, and a host that resolves to a publicly reachable address.
  • It does not create a webhook: if none is configured the call answers 404. Create one with POST /webhooks/delivery-status. As for GET /webhooks/delivery-status, a URL stored with notifications switched off on every channel does not count as configured.

Request​

Responses​

Webhook updated.