Skip to content

Webhook Troubleshooting ​

Your service must respond with a 2xx response code within five seconds to acknowledge receipt. Amiqus will attempt to redeliver a webhook up to four more times if a non-2xx response code is received or the request times out.

Retries ​

An incremental delay is applied before each redelivery attempt to allow your service to recover. The first redelivery attempt is made 60 seconds after the first failure, 120 seconds after the next, then 600 and finally 900 seconds. In total, Amiqus will attempt to deliver a webhook over a period of 28 minutes. If the fifth and final attempt fails, no further attempts will be made, however webhooks can be manually resent in the Webhooks UI.

A header (X-AQID-Delivery-Attempt) is included with each webhook and contains the number of attempts that have been made to deliver it. This header can be used to monitor your service's ability to receive webhooks and highlight connectivity or performance issues.

Deactivation ​

Failure to respond successfully to a webhook too many times in succession will cause the subscription to be automatically deactivated and an alert notification issued. Unless a successful response is received by the fifth and final delivery attempt, the failure tally is increased by one. A webhook subscription will be deactivated when the tally reaches 10 (50 failed delivery attempts across 10 individual webhook payloads). The failure tally is reset after the first successful response to any webhook delivery attempt for that subscription.

Failure tallies are unique to each webhook subscription, but are shared across all event types for that subscription. Automatically deactivated webhooks can be reactivated using either the API Update a webhook operation or using the webhooks UI found in your team workflows area.

Team members can opt to receive notifications in-app and/or email if a webhook is automatically deactivated. All team admins will always receive an email notification.

Delivery logs ​

Webhook delivery logs are available at List all deliveries for a webhook, and are available for 90 days after the first delivery attempt.

Delivery logs can be helpful when troubleshooting issues with your integration. They include the body, headers and status code from the most recent delivery attempt to give you an indication of what Amiqus receives from your service.