API reference
Webhook events
The JSON SMSBlast posts to your webhook endpoints, one section per event. To set up an endpoint and verify deliveries, read the Webhooks guide.
- EVT
message.receivedA text came in - EVT
message.sentA text was sent - EVT
message.deliveredA text was delivered - EVT
message.failedA text failed - EVT
contact.createdA contact was added - EVT
contact.opted_inA contact opted in - EVT
contact.opted_outA contact opted out - EVT
campaign.sendingA campaign was sent or scheduled - EVT
campaign.sentA campaign finished - EVT
link.clickedA tracked link was clicked - EVT
webhook.testTest event
Every event#
SMSBlast posts this to every enabled webhook endpoint subscribed to the event, as JSON, with the headers SMSBlast-Signature, SMSBlast-Event-Id, SMSBlast-Event-Type and User-Agent: SMSBlast-Webhooks/1.0. Check the signature before trusting the body (see the Webhooks section).
Answer with any 2xx status within 10 seconds. Anything else is retried after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and 24 hours.
Each body is an envelope: the event id (use it to skip repeats), its type, when it happened (created) and the event's data.
Headers#
SMSBlast-Signaturestringrequiredt=<unix seconds>,v1=<hex HMAC-SHA256>. The HMAC is of <t>.<raw body> with your webhook's secret as the key. Check it before trusting the body.
SMSBlast-Event-IdstringrequiredThe event id, the same as id in the body.
SMSBlast-Event-TypestringrequiredThe event type, the same as type in the body.
Your answer#
Received. Any 2xx status within 10 seconds counts; the body is ignored (its first 500 characters are kept in the delivery log).
Any other status, a redirect (redirects are not followed), no answer within 10 seconds or a connection failure counts as a failed attempt and is retried.
A text came in
message.receivedSomeone texted one of your numbers. Sent for every incoming text, including STOP, HELP, START and keywords (which SMSBlast also handles automatically). mediaUrls holds any pictures they sent.
{
"id": "evt_Qm4xT9rV2kLp8NwZ",
"type": "message.received",
"created": "2026-11-20T16:45:03.200Z",
"data": {
"message": {
"id": "d1f3a5c7-9e0b-4d2f-a4c6-e8f0b2d4f697",
"direction": "inbound",
"status": "received",
"kind": "inbound",
"from": "+14155550101",
"to": "+14155550100",
"body": "Do you have rye bread today?",
"mediaUrls": [],
"credits": 0,
"contactId": "0f8d5c3a-6b2e-4f1d-9a7c-3e5b8d2f1a60",
"campaignId": null,
"error": null,
"sendAt": null,
"createdAt": "2026-11-20T16:45:03.118Z",
"sentAt": null,
"deliveredAt": null
}
}
}Payload#
application/json
idstringrequiredThe event id, evt_ and 16 characters. The same event can be delivered more than once (a retry, or a manual resend): use the id to ignore repeats. Also sent in the SMSBlast-Event-Id header.
typestringrequiredThe event type. Also sent in the SMSBlast-Event-Type header.
createdstringdate-timerequiredWhen the event happened.
dataobjectrequiredThe text as GET /v1/messages/{id} returned it at the time of the event.
Child fields
messageobjectrequiredOne text, sent or received. Field names are camelCase.
Child fields
idstringuuidrequiredThe message id.
directionstringrequiredoutbound: a text you sent. inbound: a text someone sent to one of your numbers.
statusstringrequiredWhere the text is:
queued: waiting to go out (now, atsendAt, when sending hours open, or for a retry after the carrier was busy).sending: being handed to the carrier right now.sent: the carrier accepted it.delivered: the carrier confirmed it reached the phone.failed: it could not be sent, or the carrier reported it undelivered.errorsays why. A text that never reached the carrier gets its credits back.skipped: not sent, because the person opted out before it went out, its campaign was stopped, the number is blocked on SMSBlast, or (for a keyword reply) there were not enough credits. Credits are given back.received: an inbound text.
kindstringrequiredWhat sent it: campaign, api (POST /v1/messages), conversation (a reply from the inbox), workflow, welcome (a signup form's welcome text), reply (the answer to a signup keyword), compliance (the automatic answer to STOP, HELP or START), test (a campaign test send) or inbound (a text someone sent you).
fromstringrequiredThe sending number for outbound texts; the person's number for inbound ones. E.164.
tostringrequiredThe person's number for outbound texts; your number for inbound ones. E.164.
bodystringrequiredThe text exactly as sent or received (personalisation already filled in, tracked links already shortened).
mediaUrlsarray of stringsurirequiredPictures sent with the text (MMS). For inbound texts, the pictures the person sent.
creditsintegerrequiredCredits it cost: 1 per SMS segment, 3 for a picture message, 0 for inbound texts and compliance answers.
contactIdstringuuidnullablerequiredThe contact it was sent to or came from, when there is one.
campaignIdstringuuidnullablerequiredThe campaign it belongs to, for campaign texts.
errorstringnullablerequiredWhy it failed or was skipped. While a text is queued for another try after the carrier was busy, this reads "Will retry: ...".
sendAtstringdate-timenullablerequiredThe earliest time it may go out, when it was scheduled, held for sending hours, or is waiting for a retry. Empty when it goes out as soon as possible.
createdAtstringdate-timerequiredWhen it was created (outbound) or received (inbound).
sentAtstringdate-timenullablerequiredWhen the carrier accepted it.
deliveredAtstringdate-timenullablerequiredWhen the carrier confirmed delivery.
A text was sent
message.sentThe carrier accepted one of your outgoing texts, of any kind (campaign, API, inbox, workflow, keyword reply, compliance answer or test).
{
"id": "evt_Qm4xT9rV2kLp8NwZ",
"type": "message.sent",
"created": "2026-11-20T17:02:12.110Z",
"data": {
"message": {
"id": "a4c6e8f0-2b4d-4f6a-8c0e-1d3f5a7c9e86",
"direction": "outbound",
"status": "sent",
"kind": "api",
"from": "+14155550100",
"to": "+14155550101",
"body": "Hi Alice, your sourdough order is ready for pickup at Corner Bakery. Reply STOP to opt out.",
"mediaUrls": [],
"credits": 1,
"contactId": "0f8d5c3a-6b2e-4f1d-9a7c-3e5b8d2f1a60",
"campaignId": null,
"error": null,
"sendAt": null,
"createdAt": "2026-11-20T17:02:11.482Z",
"sentAt": "2026-11-20T17:02:12.104Z",
"deliveredAt": null
}
}
}Payload#
application/json
idstringrequiredThe event id, evt_ and 16 characters. The same event can be delivered more than once (a retry, or a manual resend): use the id to ignore repeats. Also sent in the SMSBlast-Event-Id header.
typestringrequiredThe event type. Also sent in the SMSBlast-Event-Type header.
createdstringdate-timerequiredWhen the event happened.
dataobjectrequiredThe text as GET /v1/messages/{id} returned it at the time of the event.
Child fields
messageobjectrequiredOne text, sent or received. Field names are camelCase.
Child fields
idstringuuidrequiredThe message id.
directionstringrequiredoutbound: a text you sent. inbound: a text someone sent to one of your numbers.
statusstringrequiredWhere the text is:
queued: waiting to go out (now, atsendAt, when sending hours open, or for a retry after the carrier was busy).sending: being handed to the carrier right now.sent: the carrier accepted it.delivered: the carrier confirmed it reached the phone.failed: it could not be sent, or the carrier reported it undelivered.errorsays why. A text that never reached the carrier gets its credits back.skipped: not sent, because the person opted out before it went out, its campaign was stopped, the number is blocked on SMSBlast, or (for a keyword reply) there were not enough credits. Credits are given back.received: an inbound text.
kindstringrequiredWhat sent it: campaign, api (POST /v1/messages), conversation (a reply from the inbox), workflow, welcome (a signup form's welcome text), reply (the answer to a signup keyword), compliance (the automatic answer to STOP, HELP or START), test (a campaign test send) or inbound (a text someone sent you).
fromstringrequiredThe sending number for outbound texts; the person's number for inbound ones. E.164.
tostringrequiredThe person's number for outbound texts; your number for inbound ones. E.164.
bodystringrequiredThe text exactly as sent or received (personalisation already filled in, tracked links already shortened).
mediaUrlsarray of stringsurirequiredPictures sent with the text (MMS). For inbound texts, the pictures the person sent.
creditsintegerrequiredCredits it cost: 1 per SMS segment, 3 for a picture message, 0 for inbound texts and compliance answers.
contactIdstringuuidnullablerequiredThe contact it was sent to or came from, when there is one.
campaignIdstringuuidnullablerequiredThe campaign it belongs to, for campaign texts.
errorstringnullablerequiredWhy it failed or was skipped. While a text is queued for another try after the carrier was busy, this reads "Will retry: ...".
sendAtstringdate-timenullablerequiredThe earliest time it may go out, when it was scheduled, held for sending hours, or is waiting for a retry. Empty when it goes out as soon as possible.
createdAtstringdate-timerequiredWhen it was created (outbound) or received (inbound).
sentAtstringdate-timenullablerequiredWhen the carrier accepted it.
deliveredAtstringdate-timenullablerequiredWhen the carrier confirmed delivery.
A text was delivered
message.deliveredThe carrier confirmed one of your texts reached the phone.
{
"id": "evt_Qm4xT9rV2kLp8NwZ",
"type": "message.delivered",
"created": "2026-11-20T17:02:15.940Z",
"data": {
"message": {
"id": "a4c6e8f0-2b4d-4f6a-8c0e-1d3f5a7c9e86",
"direction": "outbound",
"status": "delivered",
"kind": "api",
"from": "+14155550100",
"to": "+14155550101",
"body": "Hi Alice, your sourdough order is ready for pickup at Corner Bakery. Reply STOP to opt out.",
"mediaUrls": [],
"credits": 1,
"contactId": "0f8d5c3a-6b2e-4f1d-9a7c-3e5b8d2f1a60",
"campaignId": null,
"error": null,
"sendAt": null,
"createdAt": "2026-11-20T17:02:11.482Z",
"sentAt": "2026-11-20T17:02:12.104Z",
"deliveredAt": "2026-11-20T17:02:15.930Z"
}
}
}Payload#
application/json
idstringrequiredThe event id, evt_ and 16 characters. The same event can be delivered more than once (a retry, or a manual resend): use the id to ignore repeats. Also sent in the SMSBlast-Event-Id header.
typestringrequiredThe event type. Also sent in the SMSBlast-Event-Type header.
createdstringdate-timerequiredWhen the event happened.
dataobjectrequiredThe text as GET /v1/messages/{id} returned it at the time of the event.
Child fields
messageobjectrequiredOne text, sent or received. Field names are camelCase.
Child fields
idstringuuidrequiredThe message id.
directionstringrequiredoutbound: a text you sent. inbound: a text someone sent to one of your numbers.
statusstringrequiredWhere the text is:
queued: waiting to go out (now, atsendAt, when sending hours open, or for a retry after the carrier was busy).sending: being handed to the carrier right now.sent: the carrier accepted it.delivered: the carrier confirmed it reached the phone.failed: it could not be sent, or the carrier reported it undelivered.errorsays why. A text that never reached the carrier gets its credits back.skipped: not sent, because the person opted out before it went out, its campaign was stopped, the number is blocked on SMSBlast, or (for a keyword reply) there were not enough credits. Credits are given back.received: an inbound text.
kindstringrequiredWhat sent it: campaign, api (POST /v1/messages), conversation (a reply from the inbox), workflow, welcome (a signup form's welcome text), reply (the answer to a signup keyword), compliance (the automatic answer to STOP, HELP or START), test (a campaign test send) or inbound (a text someone sent you).
fromstringrequiredThe sending number for outbound texts; the person's number for inbound ones. E.164.
tostringrequiredThe person's number for outbound texts; your number for inbound ones. E.164.
bodystringrequiredThe text exactly as sent or received (personalisation already filled in, tracked links already shortened).
mediaUrlsarray of stringsurirequiredPictures sent with the text (MMS). For inbound texts, the pictures the person sent.
creditsintegerrequiredCredits it cost: 1 per SMS segment, 3 for a picture message, 0 for inbound texts and compliance answers.
contactIdstringuuidnullablerequiredThe contact it was sent to or came from, when there is one.
campaignIdstringuuidnullablerequiredThe campaign it belongs to, for campaign texts.
errorstringnullablerequiredWhy it failed or was skipped. While a text is queued for another try after the carrier was busy, this reads "Will retry: ...".
sendAtstringdate-timenullablerequiredThe earliest time it may go out, when it was scheduled, held for sending hours, or is waiting for a retry. Empty when it goes out as soon as possible.
createdAtstringdate-timerequiredWhen it was created (outbound) or received (inbound).
sentAtstringdate-timenullablerequiredWhen the carrier accepted it.
deliveredAtstringdate-timenullablerequiredWhen the carrier confirmed delivery.
A text failed
message.failedOne of your texts could not be sent, or the carrier reported it undelivered. data.message.error says why. Texts that never reached the carrier are refunded. Skipped texts (the person opted out before it went out) send no event.
{
"id": "evt_Qm4xT9rV2kLp8NwZ",
"type": "message.failed",
"created": "2026-11-20T17:02:15.940Z",
"data": {
"message": {
"id": "a4c6e8f0-2b4d-4f6a-8c0e-1d3f5a7c9e86",
"direction": "outbound",
"status": "failed",
"kind": "api",
"from": "+14155550100",
"to": "+14155550101",
"body": "Hi Alice, your sourdough order is ready for pickup at Corner Bakery. Reply STOP to opt out.",
"mediaUrls": [],
"credits": 1,
"contactId": "0f8d5c3a-6b2e-4f1d-9a7c-3e5b8d2f1a60",
"campaignId": null,
"error": "Number is not reachable",
"sendAt": null,
"createdAt": "2026-11-20T17:02:11.482Z",
"sentAt": "2026-11-20T17:02:12.104Z",
"deliveredAt": null
}
}
}Payload#
application/json
idstringrequiredThe event id, evt_ and 16 characters. The same event can be delivered more than once (a retry, or a manual resend): use the id to ignore repeats. Also sent in the SMSBlast-Event-Id header.
typestringrequiredThe event type. Also sent in the SMSBlast-Event-Type header.
createdstringdate-timerequiredWhen the event happened.
dataobjectrequiredThe text as GET /v1/messages/{id} returned it at the time of the event.
Child fields
messageobjectrequiredOne text, sent or received. Field names are camelCase.
Child fields
idstringuuidrequiredThe message id.
directionstringrequiredoutbound: a text you sent. inbound: a text someone sent to one of your numbers.
statusstringrequiredWhere the text is:
queued: waiting to go out (now, atsendAt, when sending hours open, or for a retry after the carrier was busy).sending: being handed to the carrier right now.sent: the carrier accepted it.delivered: the carrier confirmed it reached the phone.failed: it could not be sent, or the carrier reported it undelivered.errorsays why. A text that never reached the carrier gets its credits back.skipped: not sent, because the person opted out before it went out, its campaign was stopped, the number is blocked on SMSBlast, or (for a keyword reply) there were not enough credits. Credits are given back.received: an inbound text.
kindstringrequiredWhat sent it: campaign, api (POST /v1/messages), conversation (a reply from the inbox), workflow, welcome (a signup form's welcome text), reply (the answer to a signup keyword), compliance (the automatic answer to STOP, HELP or START), test (a campaign test send) or inbound (a text someone sent you).
fromstringrequiredThe sending number for outbound texts; the person's number for inbound ones. E.164.
tostringrequiredThe person's number for outbound texts; your number for inbound ones. E.164.
bodystringrequiredThe text exactly as sent or received (personalisation already filled in, tracked links already shortened).
mediaUrlsarray of stringsurirequiredPictures sent with the text (MMS). For inbound texts, the pictures the person sent.
creditsintegerrequiredCredits it cost: 1 per SMS segment, 3 for a picture message, 0 for inbound texts and compliance answers.
contactIdstringuuidnullablerequiredThe contact it was sent to or came from, when there is one.
campaignIdstringuuidnullablerequiredThe campaign it belongs to, for campaign texts.
errorstringnullablerequiredWhy it failed or was skipped. While a text is queued for another try after the carrier was busy, this reads "Will retry: ...".
sendAtstringdate-timenullablerequiredThe earliest time it may go out, when it was scheduled, held for sending hours, or is waiting for a retry. Empty when it goes out as soon as possible.
createdAtstringdate-timerequiredWhen it was created (outbound) or received (inbound).
sentAtstringdate-timenullablerequiredWhen the carrier accepted it.
deliveredAtstringdate-timenullablerequiredWhen the carrier confirmed delivery.
A contact was added
contact.createdA contact was added: with POST /v1/contacts (or by hand in the dashboard), by texting a signup keyword, or as an opt-out record when an unknown number texted STOP (then status is unsubscribed). Imports do not send this event.
{
"id": "evt_Qm4xT9rV2kLp8NwZ",
"type": "contact.created",
"created": "2026-11-20T16:45:03.200Z",
"data": {
"contact": {
"id": "0f8d5c3a-6b2e-4f1d-9a7c-3e5b8d2f1a60",
"phone": "+14155550101",
"first_name": "Alice",
"last_name": "Moreno",
"email": "alice@example.com",
"timezone": "America/Los_Angeles",
"status": "subscribed",
"source": "api",
"fields": {
"favorite_bread": "Sourdough",
"store": "Mission St"
},
"created_at": "2026-11-02T18:24:09.311Z"
}
}
}Payload#
application/json
idstringrequiredThe event id, evt_ and 16 characters. The same event can be delivered more than once (a retry, or a manual resend): use the id to ignore repeats. Also sent in the SMSBlast-Event-Id header.
typestringrequiredThe event type. Also sent in the SMSBlast-Event-Type header.
createdstringdate-timerequiredWhen the event happened.
dataobjectrequiredThe contact as GET /v1/contacts/{id} returns it, at the time of the event.
Child fields
contactobjectrequiredA person on your contact list. Field names are snake_case.
Child fields
idstringuuidrequiredThe contact id.
phonestringrequiredMobile number in E.164 format, such as +14155550101. There is one contact per number in an account.
first_namestringnullablerequiredFirst name. Used by the {first_name} personalisation tag.
last_namestringnullablerequiredLast name. Used by the {last_name} personalisation tag.
emailstringnullablerequiredEmail address, lower case.
timezonestringnullablerequiredIANA time zone such as America/Chicago. Campaign and workflow texts wait for 8am to 9pm in this time zone; when it is empty, the account time zone is used.
statusstringrequiredsubscribed people can be texted. unsubscribed people opted out (by texting STOP or similar, or by being unsubscribed by you) and get nothing until they opt back in themselves.
sourcestringnullablerequiredHow the contact first got onto your list: import (an import or POST /v1/contacts/import), manual (POST /v1/contacts, or added by hand in the dashboard), keyword:JOIN (texted that signup keyword), form:Website footer (signed up with that signup form, by its name) or sms (first heard from when they texted STOP).
fieldsobjectrequiredCustom fields, as text: up to 30 per contact, names up to 60 characters, values up to 500. Segments can filter on them.
created_atstringdate-timerequiredWhen the contact was added.
A contact opted in
contact.opted_inA contact agreed to get your texts: added with consent through POST /v1/contacts (or by hand), texted a signup keyword, or texted START after opting out. source says which. Imports do not send this event.
{
"id": "evt_Qm4xT9rV2kLp8NwZ",
"type": "contact.opted_in",
"created": "2026-11-09T21:40:52.100Z",
"data": {
"contact": {
"id": "7c4e1b9d-2a3f-4c5e-8d6b-9f0a1e2d3c71",
"phone": "+14155550102",
"first_name": "Ben",
"last_name": "Carter",
"email": null,
"timezone": null,
"status": "subscribed",
"source": "keyword:JOIN",
"fields": {},
"created_at": "2026-11-09T21:40:52.007Z"
},
"source": "keyword:JOIN"
}
}Payload#
application/json
idstringrequiredThe event id, evt_ and 16 characters. The same event can be delivered more than once (a retry, or a manual resend): use the id to ignore repeats. Also sent in the SMSBlast-Event-Id header.
typestringrequiredThe event type. Also sent in the SMSBlast-Event-Type header.
createdstringdate-timerequiredWhen the event happened.
dataobjectrequiredThe contact as GET /v1/contacts/{id} returns it, at the time of the event.
Child fields
contactobjectrequiredA person on your contact list. Field names are snake_case.
Child fields
idstringuuidrequiredThe contact id.
phonestringrequiredMobile number in E.164 format, such as +14155550101. There is one contact per number in an account.
first_namestringnullablerequiredFirst name. Used by the {first_name} personalisation tag.
last_namestringnullablerequiredLast name. Used by the {last_name} personalisation tag.
emailstringnullablerequiredEmail address, lower case.
timezonestringnullablerequiredIANA time zone such as America/Chicago. Campaign and workflow texts wait for 8am to 9pm in this time zone; when it is empty, the account time zone is used.
statusstringrequiredsubscribed people can be texted. unsubscribed people opted out (by texting STOP or similar, or by being unsubscribed by you) and get nothing until they opt back in themselves.
sourcestringnullablerequiredHow the contact first got onto your list: import (an import or POST /v1/contacts/import), manual (POST /v1/contacts, or added by hand in the dashboard), keyword:JOIN (texted that signup keyword), form:Website footer (signed up with that signup form, by its name) or sms (first heard from when they texted STOP).
fieldsobjectrequiredCustom fields, as text: up to 30 per contact, names up to 60 characters, values up to 500. Segments can filter on them.
created_atstringdate-timerequiredWhen the contact was added.
sourcestringrequiredWhere they opted in: the consent source given to POST /v1/contacts (default manual), keyword:JOIN, form:Rk4xT9vQ (a signup form's publicId) or sms:START (the word they texted).
A contact opted out
contact.opted_outA contact opted out: they texted STOP or a similar word or phrase (source sms:...), or were unsubscribed with POST /v1/contacts/bulk or in the dashboard (manual). SMSBlast will not text them again; stop texting them from your other systems too.
{
"id": "evt_Qm4xT9rV2kLp8NwZ",
"type": "contact.opted_out",
"created": "2026-11-19T23:15:02.700Z",
"data": {
"contact": {
"id": "7c4e1b9d-2a3f-4c5e-8d6b-9f0a1e2d3c71",
"phone": "+14155550102",
"first_name": "Ben",
"last_name": "Carter",
"email": null,
"timezone": null,
"status": "unsubscribed",
"source": "keyword:JOIN",
"fields": {},
"created_at": "2026-11-09T21:40:52.007Z"
},
"source": "sms:STOP"
}
}Payload#
application/json
idstringrequiredThe event id, evt_ and 16 characters. The same event can be delivered more than once (a retry, or a manual resend): use the id to ignore repeats. Also sent in the SMSBlast-Event-Id header.
typestringrequiredThe event type. Also sent in the SMSBlast-Event-Type header.
createdstringdate-timerequiredWhen the event happened.
dataobjectrequiredThe contact as GET /v1/contacts/{id} returns it, at the time of the event.
Child fields
contactobjectrequiredA person on your contact list. Field names are snake_case.
Child fields
idstringuuidrequiredThe contact id.
phonestringrequiredMobile number in E.164 format, such as +14155550101. There is one contact per number in an account.
first_namestringnullablerequiredFirst name. Used by the {first_name} personalisation tag.
last_namestringnullablerequiredLast name. Used by the {last_name} personalisation tag.
emailstringnullablerequiredEmail address, lower case.
timezonestringnullablerequiredIANA time zone such as America/Chicago. Campaign and workflow texts wait for 8am to 9pm in this time zone; when it is empty, the account time zone is used.
statusstringrequiredsubscribed people can be texted. unsubscribed people opted out (by texting STOP or similar, or by being unsubscribed by you) and get nothing until they opt back in themselves.
sourcestringnullablerequiredHow the contact first got onto your list: import (an import or POST /v1/contacts/import), manual (POST /v1/contacts, or added by hand in the dashboard), keyword:JOIN (texted that signup keyword), form:Website footer (signed up with that signup form, by its name) or sms (first heard from when they texted STOP).
fieldsobjectrequiredCustom fields, as text: up to 30 per contact, names up to 60 characters, values up to 500. Segments can filter on them.
created_atstringdate-timerequiredWhen the contact was added.
sourcestringrequiredHow they opted out: sms:STOP (the words they texted, normalised, such as sms:PLEASE STOP) or manual (unsubscribed with POST /v1/contacts/bulk or in the dashboard).
A campaign was sent or scheduled
campaign.sendingA campaign was sent (or scheduled, then scheduledFor is set) and its texts are queued.
{
"id": "evt_Qm4xT9rV2kLp8NwZ",
"type": "campaign.sending",
"created": "2026-11-20T22:30:11.000Z",
"data": {
"campaign": {
"id": "c8d2e4f6-a1b3-4c5d-8e7f-9a0b1c2d3e64",
"name": "Holiday stollen",
"status": "sending",
"recipients": 1284,
"credits": 1290,
"startedAt": "2026-11-21T17:00:00.000Z",
"scheduledFor": "2026-11-21T17:00:00.000Z"
}
}
}Payload#
application/json
idstringrequiredThe event id, evt_ and 16 characters. The same event can be delivered more than once (a retry, or a manual resend): use the id to ignore repeats. Also sent in the SMSBlast-Event-Id header.
typestringrequiredThe event type. Also sent in the SMSBlast-Event-Type header.
createdstringdate-timerequiredWhen the event happened.
dataobjectrequiredChild fields
campaignobjectrequiredChild fields
idstringuuidrequiredThe campaign id.
namestringrequiredThe campaign name.
recipientsintegerrequiredHow many people it was sent to.
creditsintegerrequiredCredits taken for it.
startedAtstringdate-timerequiredWhen sending started, or the time it was scheduled for.
statusstringrequiredscheduledForstringdate-timenullablerequiredThe time it is scheduled for, or empty when it goes now.
A campaign finished
campaign.sentEvery text of a campaign has gone out or ended. results are the counts at that moment; delivery reports can still arrive afterwards (see GET /v1/campaigns/{id}).
{
"id": "evt_Qm4xT9rV2kLp8NwZ",
"type": "campaign.sent",
"created": "2026-11-21T17:09:47.600Z",
"data": {
"campaign": {
"id": "c8d2e4f6-a1b3-4c5d-8e7f-9a0b1c2d3e64",
"name": "Holiday stollen",
"status": "sent",
"recipients": 1284,
"credits": 1290,
"startedAt": "2026-11-21T17:00:00.000Z",
"finishedAt": "2026-11-21T17:09:47.512Z",
"results": {
"sent": 1272,
"delivered": 1198,
"failed": 9,
"skipped": 3
}
}
}
}Payload#
application/json
idstringrequiredThe event id, evt_ and 16 characters. The same event can be delivered more than once (a retry, or a manual resend): use the id to ignore repeats. Also sent in the SMSBlast-Event-Id header.
typestringrequiredThe event type. Also sent in the SMSBlast-Event-Type header.
createdstringdate-timerequiredWhen the event happened.
dataobjectrequiredChild fields
campaignobjectrequiredChild fields
idstringuuidrequiredThe campaign id.
namestringrequiredThe campaign name.
recipientsintegerrequiredHow many people it was sent to.
creditsintegerrequiredCredits taken for it.
startedAtstringdate-timerequiredWhen sending started, or the time it was scheduled for.
statusstringrequiredfinishedAtstringdate-timerequiredWhen the last text went out or ended.
resultsobjectrequiredResults at the moment it finished. Delivery reports can still arrive later.
Child fields
sentintegerrequiredTexts the carrier accepted (including the delivered ones).
deliveredintegerrequiredTexts confirmed delivered so far.
failedintegerrequiredTexts that failed.
skippedintegerrequiredTexts not sent because the person opted out first.
A tracked link was clicked
link.clickedA person opened a tracked link in one of your texts for the first time. Later clicks on the same link by the same person, and visits by link previewers and scanners, send no event.
{
"id": "evt_Qm4xT9rV2kLp8NwZ",
"type": "link.clicked",
"created": "2026-11-21T18:02:44.019Z",
"data": {
"link": {
"url": "https://example.com/stollen",
"campaignId": "c8d2e4f6-a1b3-4c5d-8e7f-9a0b1c2d3e64",
"workflowId": null,
"clickedAt": "2026-11-21T18:02:44.019Z"
},
"contact": {
"id": "0f8d5c3a-6b2e-4f1d-9a7c-3e5b8d2f1a60",
"phone": "+14155550101",
"first_name": "Alice",
"last_name": "Moreno",
"status": "subscribed"
}
}
}Payload#
application/json
idstringrequiredThe event id, evt_ and 16 characters. The same event can be delivered more than once (a retry, or a manual resend): use the id to ignore repeats. Also sent in the SMSBlast-Event-Id header.
typestringrequiredThe event type. Also sent in the SMSBlast-Event-Type header.
createdstringdate-timerequiredWhen the event happened.
dataobjectrequiredChild fields
linkobjectrequiredChild fields
urlstringrequiredThe original link.
campaignIdstringuuidnullablerequiredThe campaign the text was part of.
workflowIdstringuuidnullablerequiredThe workflow the text was part of.
clickedAtstringdate-timerequiredWhen it was clicked.
contactobjectnullablerequiredWho clicked, when the text went to a contact.
Child fields
idstringuuidrequiredThe contact id.
phonestringrequiredTheir number, E.164.
first_namestringnullablerequiredFirst name.
last_namestringnullablerequiredLast name.
statusstringrequiredTheir status now.
Test event
webhook.testSent only when you call POST /v1/webhooks/{id}/test, even to a webhook that is switched off. It is tried once and never retried, and does not count towards switching a failing webhook off.
{
"id": "evt_Qm4xT9rV2kLp8NwZ",
"type": "webhook.test",
"created": "2026-11-20T16:45:03.200Z",
"data": {
"message": "This is a test event from SMSBlast. If you can read it, your endpoint works."
}
}Payload#
application/json
idstringrequiredThe event id, evt_ and 16 characters. The same event can be delivered more than once (a retry, or a manual resend): use the id to ignore repeats. Also sent in the SMSBlast-Event-Id header.
typestringrequiredThe event type. Also sent in the SMSBlast-Event-Type header.
createdstringdate-timerequiredWhen the event happened.
dataobjectrequiredChild fields
messagestringrequiredAlways "This is a test event from SMSBlast. If you can read it, your endpoint works."