Retry a webhook call
Send a failed or dropped call again, with the same event data, to its webhook's saved URL.
https://app.usenotix.dev/api/v1/webhooks/calls/{callId}/retryNeeds a full access key. Sending access keys cannot call this. Key permissions lists the extra rules some calls have.
Send a failed or dropped call again, with the same event data, to its webhook's saved URL. The call goes back to PENDING and starts a fresh set of attempts. The answer is 202. A call that was delivered, or is still being delivered, answers 409 CONFLICT. A team can retry 30 calls a minute. Any full access key can retry, as any team member can on the dashboard; other keys answer 403 SCOPE_DENIED, and a key limited to one domain 403 DOMAIN_PINNED.
Path parameters
Headers
Bearer followed by your API key.
Errors
`SCOPE_DENIED`: the key is not a full access key (send-only, read-only or live AI). `DOMAIN_PINNED`: the key is limited to one domain.
No webhook call with this id for the calling team.
The call was delivered, or is still being delivered. Only a failed or dropped call can be retried.
The team retried 30 calls in the last minute.
Every error has the same shape. See all error codes.
curl -X POST "https://app.usenotix.dev/api/v1/webhooks/calls/<callId>/retry" \
-H "Authorization: Bearer $NOTIX_API_KEY"
import { Notix } from "notix-js";
const notix = new Notix(process.env.NOTIX_API_KEY);
const { data, error } = await notix.webhookEndpoints.retryCall("whc_123");
{
"callId": "cm1x8f3k20001qz7v5b9d2e4a"
}