Webhooks
Ready POSTs a JSON event to a URL you own when something happens: a reply, a delivery, an opt-out, or a call if you ask for call events. You need a public URL that accepts POST; no-code tools such as n8n and Make.com give you one (see Integrations). Save it with PUT /v1/webhooks, then verify the signature on every event. For tags, pipeline stages and the other events not in the table below, use trigger subscriptions. Running a different app on each number? Give a number its own URL with PUT /v1/numbers/:id: its replies and delivery statuses go there, signed with the same secret.
#The Event object
Every event is a JSON POST shaped { event, timestamp, data }.
eventstring- The event type, from the table below, or
testfor a test event. Ignoretestevents in production. timestampstring- When it happened, ISO 8601 UTC with milliseconds. A retry keeps the first try’s timestamp.
dataobject- The fields listed for the event type below. When your webhook takes your sub-accounts’ events (
include_sub_accounts), a sub-account’s event also hassub_account:{ "id", "name" }, the sub-account it happened in.
Each event also carries an X-Ready-Event-Id header that stays the same on every retry: use it to skip a repeat. contact_opted_out, contact_opted_in and contact_created have no message_id. contact_id is safe for them: a contact is created once, and a repeated opt-out or opt-in for the same contact changes nothing.
#Event types
| Event | Sent when | data |
|---|---|---|
inbound_reply |
A contact texts one of your numbers, or sends an iMessage to your iMessage line. | message_id, public_message_id, contact_id, from, to, body, segments, optional media_url, optional channel
Field notesTo look the reply up, passmessage_id to GET /v1/messages/:id. It is Ready’s numeric id for the incoming message and works for every reply. public_message_id is the same message as a string, and GET /v1/messages/:id accepts it too; it and segments are missing for numbers connected through GoHighLevel. media_url is included for a carrier reply when Ready saved its attachment. It is a Ready-hosted URL; a text-only reply or failed media capture has no media_url. A reply with several photos sends one inbound_reply for the text and first photo, then one more per extra photo, each with an empty body, segments 0 and its own public_message_id. An iMessage reply has channel: "imessage" and no segments. Its to is your iMessage line, or null when it came in on Ready’s shared line. Its media_url is the photo or voice note it carried. A voice note also fires voice_message_received if you subscribed to it. A tapback (a heart or thumbs up on your message) doesn’t fire inbound_reply: subscribe to imessage_tapback.
|
message_delivered |
The carrier confirms delivery. Once per attempt. An iMessage sent through some lines can’t report delivery, so for those this fires when the iMessage is sent. When Ready resends a failed text, the resend fires its own event under the same public message_id (see Failures Ready resends for you). | message_id, from, to, contact_id, status, error_reason, error_detail, error
Field notesmessage_id is the string your send returned, preserved across automatic resends (an iMessage send returns Ready’s integer row id instead, which these events do not carry: they carry the carrier’s string id). error is a copy of error_detail on a text message; an iMessage event has no error. error_reason and error_detail mean the same as on GET /v1/messages/:id and take the same values. Both are null on delivery. For an iMessage from your iMessage line, data has only message_id, to, contact_id, status and channel: "imessage", plus error_detail (iMessage not delivered) on a failure. It has no from and no error_reason. When that iMessage was to a saved contact, Ready resends it as a text on its own unless it was sent as iMessage only, and the text fires its own message_delivered or message_failed, so don’t resend it yourself.
|
message_failed |
The carrier reports a failure. Once per attempt, and not always final. Only for messages the carrier accepted: a send refused up front returns its error directly instead. If Ready resends the text, a message_delivered or another message_failed follows under the same public id. | |
contact_opted_out | A contact opts out: they text STOP or another opt-out keyword, Ready reads their reply as a request to stop, or a complaint scan of their replies finds one. An opt-out you add through the in-app assistant fires it too. Opt-outs you add on a contact or by import, TCPA scrubbing and CRM sync don’t trigger it. | contact_id, phone |
contact_opted_in opt-in | A contact who had opted out texts START or another opt-in keyword, and Ready lifts the opt-out. Use it to undo a contact_opted_out you saved. An opt-out you remove yourself doesn’t trigger it. | contact_id, phone |
call_received opt-in |
A call to one of your numbers, or a FaceTime Audio call to your iMessage line, starts ringing. | The call: call_id, channel, direction, from, to, status, outcome, duration_seconds, disposition, notes, contact_id, contact_name, agent_id, agent_name, recording_url, created_at, transcript
Field notescall_id is in_ plus a number for a call to your numbers, out_ plus a number for a Ready Dialer call and ft_ plus a number for a FaceTime Audio call. channel is phone or facetime. direction is inbound or outbound. outcome is one of answered, voicemail, no_answer, busy, failed or missed, and is null on call_received because the call is still ringing. recording_url is a Ready API address that returns the audio when you call it with your API key, or null when the call has no recording. transcript is null until a transcript exists, and always null when the call isn’t recorded. disposition and notes are set only on Ready Dialer calls. Any field can be null except call_id, channel, direction and duration_seconds.
|
call_completed opt-in | A call to one of your numbers, a Ready Dialer call or a FaceTime Audio call ends. | |
call_recording_ready opt-in | The recording of a call to one of your numbers, a Ready Dialer call or a FaceTime Audio call is saved and recording_url can be fetched. | |
voice_message_received opt-in | A contact sends a voice note to your iMessage line. Fields: message_id, contact_id, from, to (your iMessage line), media_url (plays the audio) and received_at. | |
registration_in_review opt-in |
A brand or campaign registration goes to the carriers for review. | sub_account_id, registration_type, brand_status, campaign_status, rejection_reason
Detailssub_account_id is the Ready account the registration belongs to. If that account is a sub-account, the event also goes to its agency’s webhook, so an agency can follow every client from one URL. registration_type is brand or campaign: the one that just changed. brand_status and campaign_status are that account’s current statuses (the same values as status in the Registration object, including cancelled), or null if it has none yet. rejection_reason is the carrier’s reason on registration_rejected and null on the other two.
|
registration_approved opt-in | The carriers approve a brand or campaign. | |
registration_rejected opt-in | The carriers reject a brand or campaign. Fix it and resubmit, and you get registration_in_review again. | |
vetting_completed opt-in | The carrier finishes a paid brand vetting and sends its result. An upgrade from Standard to Enhanced doesn’t send it: read the brand with GET /v1/registration instead. | registration_id, result, vetting_type, vetting_score
Field notesresult is passed or failed. vetting_type is standard or enhanced, or null when the carrier didn’t name the tier, and vetting_score is the carrier’s score, or null when it gave none. On failed, Ready’s team is alerted to sort out a refund or a new vet with you.
|
number_active opt-in |
A number Ready ordered from the carrier for you is set up and can be used. A number that was ready at once (instant: true when you bought it) doesn’t send it. | phone_number_id, phone_number, status
Field notesphone_number_id is the id Buy a number returned. status is active. Use this instead of polling Get a number.
|
number_rejected opt-in | The carrier can’t fill a number Ready ordered for you. For a US number, Ready may first try other area codes in the same state, so this comes after those tries. | phone_number_id, status, country, area_code, reason, can_replace
Field notesstatus is provider_rejected. reason is no_stock when the area code ran out of numbers, else carrier_rejected. can_replace is true for a US number: pick a new area code with Replace a rejected number, at no charge. For a number in another country it is false, and your payment was returned.
|
port_request_updated opt-in | A port request changes status: it goes to the carrier, it completes, it is rejected, or it is cancelled. A port date set later without a status change doesn’t send it. | port_request_id, status, previous_status, numbers, cutover_on, reason
Field notesstatus is the new status: with_carrier, completed, rejected or cancelled. numbers lists the numbers in the request. cutover_on is the carrier’s port date, or null before it gave one. reason says why it couldn’t port, on rejected only; otherwise it is null. On completed the numbers are on your account: list them with GET /v1/numbers.
|
reply_sorted opt-in | Reply sorting labels a text reply. iMessage replies aren’t sorted. | message_id, public_message_id, contact_id, conversation_id, reply_category
Field notesmessage_id is the same as on that reply’s inbound_reply, so you can match the two. reply_category is the label, the same value GET /v1/messages/:id shows.
|
imessage_tapback opt-in | A contact puts a tapback (a heart, a thumbs up and so on) on a message in an iMessage thread on your own iMessage line, or takes one back. | message_id, message_direction, contact_id, from, reaction, emoji, channel
Field notesmessage_id is the message they reacted to: for a message you sent, the same message_id as its message_delivered. message_direction is outbound for your message and inbound for one of theirs. reaction is one of love, like, dislike, laugh, emphasize or question, or null when they took their tapback back (then emoji is null too). A tapback on a message Ready can’t match is sent as an inbound_reply instead, as before.
|
message_read opt-in | The contact reads an iMessage you sent. iMessage lines that can’t report reads never send it. | message_id, to, contact_id, status, read_at, channel |
imessage_typing opt-in | A contact starts or stops typing to your own iMessage line in a one to one thread. Group threads and Ready’s shared line don’t send it. | from, contact_id, typing, channel
Field notestyping is true when they start and false when they stop. contact_id is null when no contact has their number. A retried event can arrive after a newer one, so order them by timestamp.
|
contact_created opt-in |
A contact is created one at a time (POST /contacts or in the app). Imports, forms, Zapier, GoHighLevel sync and contacts created by an incoming text don’t trigger it. |
contact_id, first_name, last_name, phone, email, source |
Which events you get. Saving a URL with no events list subscribes you to the four text events: inbound_reply, message_delivered, message_failed and contact_opted_out. Every other event, marked opt-in in the table, is sent only when you list it in events.
To retrieve photos from earlier replies, use GET /v1/messages?direction=inbound and read each message’s media_url. The list returns the public message reference used by the single-message endpoint.
Test it: POST /v1/webhooks/test (no body) POSTs event: "test", signed with your secret, to your saved URL. It answers { "success": true, "status": 200 } with the status your endpoint returned, or a 400 with the reason (no URL saved, no answer, or a non-2xx status). It needs a live key, as saving does. Send test in Settings → Developers → Webhooks does the same. It has a 5-second timeout. Return a 2xx, and ignore events you don’t handle. Ready ignores the body of your answer, so a TwiML reply doesn’t send a text. To reply, call POST /v1/messages. A status_callback on a /v1 send is ignored. Sends made with a test key don’t trigger message_delivered or message_failed, so use Send test to try your endpoint.
{
"event": "inbound_reply",
"timestamp": "2026-10-01T20:40:12.004Z",
"data": {
"message_id": 19408828,
"public_message_id": "479088672338905475139912",
"contact_id": 101,
"from": "+12125550199",
"to": "+14155550100",
"body": "Yes, I'm interested!",
"segments": 1
}
}
{
"event": "message_delivered",
"timestamp": "2026-10-01T20:32:09.912Z",
"data": {
"message_id": "179088672338905475132359",
"from": "+14155550142",
"to": "+12125550199",
"contact_id": 101,
"status": "delivered",
"error_reason": null,
"error_detail": null
}
}
{
"event": "message_failed",
"timestamp": "2026-10-01T20:33:14.380Z",
"data": {
"message_id": "179088672338905475132360",
"to": "+15559876543",
"contact_id": 102,
"status": "failed",
"error_reason": "recipient_cannot_receive_sms",
"error_detail": "Recipient's number can't receive texts. Try calling instead."
}
}
{
"event": "contact_opted_out",
"timestamp": "2026-10-01T20:45:00.731Z",
"data": {
"contact_id": 102,
"phone": "+15559876543"
}
}
{
"event": "contact_opted_in",
"timestamp": "2026-10-02T09:12:40.118Z",
"data": {
"contact_id": 102,
"phone": "+15559876543"
}
}
{
"event": "contact_created",
"timestamp": "2026-10-01T21:04:51.779Z",
"data": {
"contact_id": 103,
"first_name": "Ada",
"last_name": "Lovelace",
"phone": "+12125550199",
"email": "ada@example.com",
"source": "manual"
}
}
{
"event": "test",
"timestamp": "2026-10-01T21:10:00.000Z",
"data": {
"message": "Test event from Ready",
"user_id": 1042
}
}
{
"event": "call_completed",
"timestamp": "2026-10-01T21:20:44.118Z",
"data": {
"call_id": "in_4821",
"channel": "phone",
"direction": "inbound",
"from": "+12125550199",
"to": "+14155550100",
"status": "answered",
"outcome": "answered",
"duration_seconds": 94,
"disposition": null,
"notes": null,
"contact_id": 101,
"contact_name": "Ada Lovelace",
"agent_id": 7,
"agent_name": "Sam Lee",
"recording_url": null,
"created_at": "2026-10-01T21:19:08.512Z",
"transcript": null
}
}
{
"event": "registration_rejected",
"timestamp": "2026-10-01T22:05:31.220Z",
"data": {
"sub_account_id": 4821,
"registration_type": "campaign",
"brand_status": "approved",
"campaign_status": "rejected",
"rejection_reason": "Message samples don't match the use case."
}
}
{
"event": "number_active",
"timestamp": "2026-10-03T15:02:11.540Z",
"data": {
"phone_number_id": 5512,
"status": "active",
"phone_number": "+14155550123"
}
}
{
"event": "port_request_updated",
"timestamp": "2026-10-04T16:20:05.002Z",
"data": {
"port_request_id": 88,
"status": "with_carrier",
"previous_status": "submitted",
"numbers": ["+14155550188"],
"cutover_on": null,
"reason": null
}
}
{
"event": "reply_sorted",
"timestamp": "2026-10-01T20:40:13.910Z",
"data": {
"message_id": 19408828,
"public_message_id": "479088672338905475139912",
"contact_id": 101,
"conversation_id": 7731,
"reply_category": "interested"
}
}
{
"event": "imessage_tapback",
"timestamp": "2026-10-05T18:11:40.233Z",
"data": {
"message_id": "zs:4512",
"message_direction": "outbound",
"contact_id": 101,
"from": "+12125550199",
"reaction": "love",
"emoji": "❤️",
"channel": "imessage"
}
}
#Set webhook settings
Sets your webhook URL and events. Saving replaces the previous settings. Needs a live key of the account owner or an admin, with the manage_integrations permission.
Parameters
urlstringRequired- Your endpoint, sent on every call. To pause and keep it, send
"enabled": falsewith the sameeventsyou saved: a save withouteventsresets them to the four text events, and the events you had opted into stop arriving. Usehttps://: a newhttp://URL is refused withinvalid_url, since it would send your customers' messages unencrypted (anhttp://URL saved before keeps working). The response returns the URL normalized. eventsstring[]- Any of
inbound_reply,message_delivered,message_failed,contact_opted_out,contact_opted_in,call_received,call_completed,call_recording_ready,voice_message_received,registration_approved,registration_rejected,registration_in_review,number_active,number_rejected,port_request_updated,vetting_completed,reply_sorted,imessage_tapback,message_read,imessage_typing,contact_created. Leave it out for the four text events. The other events are sent only when you list them.Field notes
It must be an array: anything else counts as leaving it out. A webhook saved earlier keeps the events it was saved with until you save again, so checkeventsinGET /v1/webhooks. An unknown name is refused with400 invalid_event, and nothing is saved.contact_createdis never on by default: list it ineventsto get it. It is also the New contact box in the dashboard, and an API save that leaves it out turns it off. enabledbooleanDefaulttrue- Send the JSON boolean
falseto pause. regenerate_secretboolean- Send the JSON boolean
trueonly when you want a new signing secret. The old one stops working immediately, so leave it out of anything you run more than once.Field notes
The response includessecretthe first time you save, when Ready creates your secret, and whenever you sendtrue. That’s the only time the API shows it:GET /v1/webhooksdoesn’t return it, and Settings → Developers → Webhooks shows it in full only once, when it’s created, then a masked value. If you lose it, rotate it. include_sub_accountsbooleanDefaultfalse- Send the JSON boolean
trueto also get every sub-account’s events at this URL, each with asub_accountfield. Leave it out to keep what you saved last.Field notes
Each copy is its own event with its ownX-Ready-Event-Id, signed with your secret and sent for the events you picked here. A sub-account with its own webhook still gets its events there too. Registration events already reach your webhook for every sub-account, withsub_account_id, whatever this says.
Returns
dataobjecturl,events,enabled,include_sub_accounts, andsecretonly when this save created or rotated it.
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_event | A name in events isn’t one Ready sends. |
| 400 | invalid_url | Not a URL, not http or https, or a private or internal host. |
| 400 | invalid_field | url is a list or object, or enabled, regenerate_secret or include_sub_accounts isn’t a JSON boolean. |
| 400 | url_required | url is missing. |
| 403 | permission_denied | The key’s user lacks manage_integrations. |
| 403 | OWNER_ONLY | The key isn’t the account owner’s or an admin’s. |
| 403 | test_key_not_allowed | A test key. Nothing is saved. |
#Get webhook settings
Your webhook URL, events and on/off state.
Returns
data.urlstring | null- Your endpoint.
data.eventsstring[]- Subscribed events.
data.enabledboolean- Always
falsewhen there’s no URL. data.include_sub_accountsboolean- Whether this webhook also gets your sub-accounts’ events.
Errors
| HTTP | Code | When |
|---|---|---|
| 500 | internal_error | Read failed. |
#Send a test webhook
Sends a signed test event to your saved URL and tells you what your endpoint answered. Takes no body and needs a live key.
Returns
successbooleantruewhen your endpoint answered2xx.statusinteger- The HTTP status your endpoint returned.
pausedboolean- Only present, as
true, when the webhook is switched off. It still takes a test, but gets no live events.
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | webhook_endpoint_error | Your endpoint answered with a non-2xx status. The response includes it as status. |
| 400 | webhook_not_set | No URL is saved. Save one with PUT /v1/webhooks, then send a test. |
| 400 | webhook_unreachable | Your endpoint didn’t answer, or the secure connection failed; error says which. |
| 400 | webhook_url_invalid, webhook_url_private, webhook_url_unresolved or webhook_url_redirect | The saved URL was refused; error says why. |
| 500 | internal_error | The test failed on our side. |
#Verifying the signature
Every event carries X-Signature: sha256=<hex>: the lowercase hex HMAC-SHA256 of the exact raw request body, keyed with your whole signing secret (including the whsec_ prefix).
Compare in constant time, and reject anything that doesn’t match.
- Verify the raw bytes. A body that was parsed and re-serialized won’t match.
- To block replays, drop repeats by
X-Ready-Event-Id, and reject events whosetimestampis older than the 30 days the delivery log keeps plus a few minutes of clock skew. A retry and a resend both keep the original event’stimestamp, so a resend of an old event arrives with an old timestamp; the event id is your real replay defence. The timestamp is inside the signed body, so check it after the signature. There’s no timestamp header. The samples here check the signature and the timestamp; keep theX-Ready-Event-Ids you have handled in your own store to drop repeats. - No
X-Signatureheader? Webhooks saved before signing existed are sent unsigned. Save your webhook once, or rotate the secret, to start signing. - Treat the secret like a password. Rotating it takes effect immediately, so update your receiver at the same time.
#Request headers
Content-Type: application/json, User-Agent: Ready-Webhooks/1.0 and X-Ready-Event-Id (on a test event it starts with test_), and X-Signature.
#Delivery
Each try has a 5-second timeout. If your endpoint times out, can’t be reached, or answers 5xx, 408 or 429, Ready tries again after 1, 5, 15 and 40 minutes, with the same body and the same X-Ready-Event-Id. Any other 4xx is not retried, and automatic retries stop 120 minutes after the event (a resend from the delivery log can come later). Respond quickly with a 2xx and do slow work afterwards. Redirects are followed (up to 5) and 301, 302, 307 and 308 stay POST with the same body; a 303 is followed with a GET. Events can arrive in any order. If your endpoint was down for longer than that, find what failed with the delivery log and resend it, or reconcile with GET /v1/messages and GET /v1/opt-outs.
In n8n or Make.com, add a Webhook trigger and paste its URL into the URL field in Ready’s Settings → Developers → Webhooks (or send it with PUT /v1/webhooks). In n8n, use the Production URL, not the Test URL. Signature checks are optional for no-code tools.
// Node.js + Express (save as .mjs, like the other Node examples)
import express from 'express';
import crypto from 'node:crypto';
const app = express();
const SECRET = process.env.READY_WEBHOOK_SECRET; // whsec_...
function isFromReady(rawBody, header) {
const expected = 'sha256=' + crypto.createHmac('sha256', SECRET).update(rawBody).digest('hex');
const got = Buffer.from(String(header || ''));
const want = Buffer.from(expected);
return got.length === want.length && crypto.timingSafeEqual(got, want);
}
// express.raw keeps the exact bytes Ready signed; do not use express.json() on this route
app.post('/ready-webhook', express.raw({ type: 'application/json' }), (req, res) => {
if (!isFromReady(req.body, req.get('X-Signature'))) return res.sendStatus(401);
let event, timestamp, data;
try {
({ event, timestamp, data } = JSON.parse(req.body));
} catch {
return res.sendStatus(401);
}
// replay check: the signed timestamp must be within the delivery-log window (30 days, so resends pass) plus 5 minutes of clock skew; also drop repeated X-Ready-Event-Ids
const sent = typeof timestamp === 'string' ? Date.parse(timestamp) : NaN;
if (!Number.isFinite(sent) || Math.abs(Date.now() - sent) > (30 * 24 * 60 + 5) * 60 * 1000) return res.sendStatus(401);
res.sendStatus(200); // answer within 5 seconds
setImmediate(() => console.log('OK', event, timestamp, JSON.stringify(data)));
});
app.listen(4789);
# Python (standard library only)
import hmac, hashlib, json, os
from datetime import datetime, timezone
SECRET = os.environ["READY_WEBHOOK_SECRET"].encode() # whsec_...
def is_from_ready(raw_body: bytes, header: str) -> bool:
expected = "sha256=" + hmac.new(SECRET, raw_body, hashlib.sha256).hexdigest()
if not hmac.compare_digest(expected, header or ""):
return False
# replay check: the signed timestamp must be within the delivery-log window (30 days, so resends pass) plus 5 minutes of clock skew; also drop repeated X-Ready-Event-Ids
try:
timestamp = json.loads(raw_body)["timestamp"]
sent = datetime.fromisoformat(timestamp.replace("Z", "+00:00"))
if sent.tzinfo is None:
return False
except (ValueError, TypeError, KeyError, AttributeError):
return False
return abs((datetime.now(timezone.utc) - sent).total_seconds()) <= (30 * 24 * 60 + 5) * 60
# Flask: is_from_ready(request.get_data(), request.headers.get("X-Signature"))
# Django: is_from_ready(request.body, request.headers.get("X-Signature"))
#Trigger subscriptions
Trigger subscriptions are a second, separate way to get events, built for Zapier and n8n. Each subscription is one event and one URL, and you can hold up to 200. They are not your account webhook: they don’t show in GET /v1/webhooks, and the /v1/webhooks events above have no campaign, drip or automation events. To hear when a contact finishes a drip, subscribe to drip_completed here.
Five trigger events are the same facts as account webhook events under other names: new_message is inbound_reply, message_delivered and message_failed keep their names, new_opt_out is contact_opted_out and new_contact is contact_created. Their fields differ too. A trigger sends from_number and to_number where the account webhook sends from and to, and a trigger’s message_id is Ready’s numeric id for the message, not the id your send returned. On message_delivered and message_failed triggers, public_message_id is the id your send returned, the same as the account webhook’s message_id.
Subscribe with a personal API key (in X-API-Key or as Authorization: Bearer) that has the manage_campaigns permission. Test keys can’t subscribe or unsubscribe (403 test_key_not_allowed), and a key of a team member who sees only assigned contacts is refused with 403 RESTRICTED_KEY. GET /zapier/webhooks lists your subscriptions, and GET /zapier/sample/:event returns a sample payload for any event.
The events you can subscribe to are new_message, new_contact, new_opt_out, message_delivered, message_failed, pipeline_stage_changed, contact_tag_added, contact_tag_removed, new_conversation, drip_completed, keyword_reply, contact_dnd_changed. The ones your account webhook doesn’t send carry these fields:
| Event | Sent when | Fields |
|---|---|---|
contact_tag_added, contact_tag_removed | A tag is added to or removed from a contact. | contact_id, first_name, last_name, phone, email, tag, all_tags, and added_at or removed_at |
pipeline_stage_changed | A contact moves to a new pipeline stage. | The contact fields, old_stage, new_stage, new_stage_name, pipeline, changed_at |
keyword_reply | A contact replies. With keywords set, only a reply that matches. | The contact fields, message_id, keyword, body, from_number, to_number, received_at |
new_conversation | A contact texts you first, starting a new thread. | The contact fields, conversation_id, first_message, from_number, to_number, started_at |
contact_dnd_changed | A contact’s do not disturb setting changes. | The contact fields, dnd_sms, changed_at |
drip_completed | A contact finishes a drip campaign. | Below |
#How a trigger is sent
Each event is a JSON POST with a flat body: the event’s fields at the top level, then _event (the event name), _timestamp, _delivery_id and _attempt (1 on the first try). When the event names a contact, its custom fields are added as custom_<field>. Ready sets Content-Type: application/json and, when the subscription has a signing secret, X-Signature: sha256=<hex>, the HMAC-SHA256 of the exact raw body (the same check as Verifying the signature). POST /zapier/subscribe returns the secret as signing_secret. A subscription saved without one is sent unsigned. These requests carry no X-Ready-Event-Id; use _delivery_id to dedupe. Also keep a hard-to-guess path in your URL and treat it as a secret.
Each try has a 10-second timeout. Ready tries again, after 1, 5, 15 and 40 minutes, only when your endpoint couldn’t be reached at all (its name didn’t resolve, or the connection was refused) or answered 429. A timeout, a 5xx or any other error is not retried, because your endpoint may already have acted on it. A retry keeps the same body and _delivery_id; only _attempt changes. A 410 answer turns the subscription off. After 10 failed events in a row with no delivery in the last hour, Ready turns it off too, and emails you if the URL was a Zap.
#drip_completed
Sent when a contact finishes a drip campaign, whether by its last step, a branch, a timer, a reply or an end step. Sending is best effort: if it fails on our side, the event is not sent later.
contact_idinteger- The contact who finished.
first_namestring- The contact’s first name, or
"". last_namestring- The contact’s last name, or
"". phonestring- The contact’s phone number in E.164. Missing if we couldn’t read the contact.
emailstring- The contact’s email, or
"". sequence_idinteger- The drip campaign id.
sequence_namestring- The drip campaign’s name.
completed_atISO 8601 string- When the contact finished.
{
"contact_id": 101,
"first_name": "John",
"last_name": "Smith",
"phone": "+15551234567",
"email": "john@example.com",
"sequence_id": 5,
"sequence_name": "7-Day Follow Up",
"completed_at": "2026-04-07T14:30:00.000Z",
"_event": "drip_completed",
"_timestamp": "2026-04-07T14:30:00.120Z",
"_delivery_id": "6f1c2b9e-3d4a-4c1f-9b7e-2a8d5e0c4f13",
"_attempt": 1
}
#Subscribe to a trigger
Starts sending one event to your URL. Needs the manage_campaigns permission. Returns 201 with the subscription id and its signing_secret, the key that signs every POST to this URL in X-Signature. Store it now. Subscribing the same event to the same URL again returns the same id and signing_secret with 200 and deduped: true, so a retry is safe.
Parameters
eventstringRequired- One of the trigger events, like
drip_completed. target_urlstringRequired- A public
httporhttpsURL. Private and internal addresses are refused. keywordsstring- For
new_messageandkeyword_replyonly: send the event only when the text matches. Separate several with commas, up to 500 characters. Leave it out to get every reply. match_modeenumDefaultany- How
keywordsmatch:any,all,exact,not_containsoris_not.
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | INVALID_EVENT | event isn’t one of the trigger events. |
| 400 | TARGET_URL_REQUIRED | No target_url. |
| 400 | TARGET_URL_INVALID | The URL isn’t a public http or https address. |
| 400 | TOO_MANY_WEBHOOKS | You already have 200 active subscriptions. List them with GET /zapier/webhooks and remove one with Unsubscribe from a trigger, then subscribe again. |
| 400 | invalid_field | keywords or match_mode isn’t valid. |
| 500 | SUBSCRIBE_FAILED | The subscription wasn’t saved, so it won’t fire. Try again. |
#Unsubscribe from a trigger
Stops a subscription and deletes it, with any of its retries still waiting. id is the one subscribe returned. Needs the manage_campaigns permission. Returns {"success": true}.
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_field | The id isn’t a whole number. |
| 404 | WEBHOOK_NOT_FOUND | No subscription with this id on your account, or it was already removed. |
| 500 | UNSUBSCRIBE_FAILED | The delete failed and the subscription is still live. Try again. |