Use this endpoint to subscribe to a webhook.
Verification handshake - when a subscription is created, the API sends a POST request to the target_url with an X-Hook-Secret header. Your endpoint must respond with the same X-Hook-Secret header and value. If the secret is not echoed back the request fails with a 401 error, and if the target_url cannot be reached it fails with a 400 error.
A target_url that is already used by another subscription is rejected with a 409 error. Sandbox API keys cannot create subscriptions and receive a 403 error.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
403Webhooks are not enabled for this API key, or the API key is a sandbox key. Contact the Repliers support team to enable the feature.
409The target_url is already used by another webhook subscription.
