Skip to main content
POST
Resume Twitter Webhook Deliveries & Retry Events
Free - does not consume credits
These snippets shape a recovery row. Store delivery_status, consecutive_failures, failure_hard_cap, status_code, and the delivery-log endpoint beside the webhook ID.

Path parameters

string
required
The webhook ID to test and resume.

Headers

string
required
Your API key. This endpoint also accepts session cookie authentication.

What happens

Xquik sends a signed webhook.test request to the webhook URL. If your receiver returns a 2xx status, Xquik reactivates the webhook, resets consecutiveFailures to 0, and returns the updated webhook object. If the signed test fails, Xquik returns 400 with success: false, statusCode, and error. The webhook is not reactivated. This endpoint does not rotate or return the signing secret. Keep using the one-time secret from Create Webhook.

Response

200 OK

boolean
true when the signed test request succeeded and the webhook was resumed.
number
HTTP status code returned by your receiver during the signed test.
object
Updated webhook configuration. Webhook object fields:
string
Unique webhook identifier.
string
Delivery endpoint URL.
string[]
Event types this webhook is subscribed to.
boolean
true after a successful resume.
number
Consecutive receiver failures. Resets to 0 after a successful resume.
string
active, paused, or needs_attention.
number
Failure count where the webhook needs attention before resuming.
string
ISO 8601 creation timestamp.

400 Test Failed

boolean
false when the signed test did not receive a 2xx response.
number
HTTP status code from the receiver, or 0 if it was unreachable.
string
Delivery failure reason.
Fix the receiver, then retry this endpoint.

400 Invalid Request

The provided webhook ID is not a valid format.

401 Unauthenticated

Missing or invalid API key / session cookie.

404 Not Found

No webhook exists with this ID, or it belongs to a different account.

429 Rate Limited

Too many requests. Wait for the Retry-After header before retrying.

Recovery handoff

Use this endpoint after fixing a receiver that returned repeated non-2xx responses, became unreachable, or reached deliveryStatus: "needs_attention".

Needs Attention

deliveryStatus: "needs_attention" means the receiver has reached the failure cap. Fix the receiver before resuming.

Signed Test Gate

Resume only succeeds after a signed webhook.test request receives a 2xx response from your receiver.

Failure Counter

Store consecutiveFailures and failureHardCap for alerting and recovery dashboards.

No Secret Rotation

Resume does not return or rotate secret. Keep verifying delivery signatures with the secret returned at creation time.

Delivery Log

After resuming, check List Deliveries for recent status, attempts, lastStatusCode, and lastError rows.

Event Replay

Use delivery streamEventId with Get Event or event list pages to backfill missed downstream work.
This endpoint supports dual authentication: API key (x-api-key header) or session cookie from the dashboard.Related: List Webhooks · Update Webhook · Test Webhook · List Deliveries · Webhook Verification