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 withPOST /webhooks/delivery-status. As forGET /webhooks/delivery-status, a URL stored with notifications switched off on every channel does not count as configured.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Webhook updated.
Invalid body: callbackUrl is missing or malformed, is not HTTPS, uses a port other than 443 or 8443, or its host is not publicly reachable.
The API key is missing, invalid, or lacks the WEBHOOKS operation.
No webhook is configured. Create one with POST /webhooks/delivery-status.
Unexpected server error.