batch_too_large | 400 | More than 5,000 rows. | Send a batch of rows |
body_too_long | 400 | body is longer than 1,600 characters. | 5 endpointsSend a text, Create a campaign draft, Update a campaign draft, Text someone from the inbox, Reply in a conversation |
consent_required | 400 | consent.attested is not true. | Add a contact, Import contacts, Start an import job |
empty_body | 400 | body is missing or empty. (wording varies by endpoint) | 6 endpointsSend a text, Create a campaign draft, Send a test text, Update a campaign draft, Text someone from the inbox, Reply in a conversation |
empty_reply | 400 | reply is missing or empty. | Set up a keyword |
invalid_action | 400 | action is not one of the four. | Act on many contacts |
invalid_consent | 400 | consentText does not mention STOP. | Create a signup form, Update a signup form |
invalid_cursor | 400 | cursor is not one this API gave out. | List texts |
invalid_date | 400 | since or until is not a date. | List texts |
invalid_direction | 400 | direction is not inbound or outbound. | List texts |
invalid_email | 400 | email does not look like an email address. | Sign up with a form (public) |
invalid_events | 400 | events is empty or has an unknown type (details.allowed lists them). (wording varies by endpoint) | Create a webhook, Update a webhook |
invalid_fields | 400 | fields is not a list, or names an unknown field. | Create a signup form, Update a signup form |
invalid_from | 400 | from is not one of your approved sending numbers. | Send a text |
invalid_idempotency_key | 400 | The Idempotency-Key header is longer than 200 characters. | 28 endpointsSend a text, Preview a message, Add a contact, Import contacts, Act on many contacts, Start an import job, Send a batch of rows, Finish an import job, Create a list, Create a segment, Count a segment before saving, Create a campaign draft, Estimate a campaign, Send a test text, Duplicate a campaign, Stop a campaign, Make a campaign recurring, Send or schedule a campaign, Create a workflow, Enroll contacts in a workflow, Create a signup form, Text someone from the inbox, Reply in a conversation, Set up a keyword, Create a webhook, Rotate the signing secret, Send a test event, Send a delivery again |
invalid_json | 400 | The body is not a JSON object. | 32 endpointsSend a text, Preview a message, Add a contact, Update a contact, Import contacts, Act on many contacts, Start an import job, Send a batch of rows, Create a list, Rename a list, Create a segment, Count a segment before saving, Update a segment, Create a campaign draft, Estimate a campaign, Send a test text, Update a campaign draft, Make a campaign recurring, Send or schedule a campaign, Create a workflow, Update a workflow, Enroll contacts in a workflow, Create a signup form, Update a signup form, Sign up with a form (public), Text someone from the inbox, Update a conversation, Reply in a conversation, Set up a keyword, Create a webhook, Update a webhook, Update your account |
invalid_keyword | 400 | word is not one word of up to 20 letters or numbers. | Set up a keyword |
invalid_media | 400 | A mediaUrls entry is not an https address. (wording varies by endpoint) | Send a text, Create a campaign draft, Send a test text, Update a campaign draft |
invalid_name | 400 | name is missing or empty. (wording varies by endpoint) | 5 endpointsStart an import job, Create a list, Rename a list, Create a segment, Update a segment |
invalid_phone | 400 | phone is not a valid US or Canada mobile number. (wording varies by endpoint) | 6 endpointsSend a text, List texts, Add a contact, Send a test text, Sign up with a form (public), Text someone from the inbox |
invalid_range | 400 | from or to is missing or not a date, from is after to, or the range is longer than 400 days. | Audience growth, Campaign activity, Texts sent and received |
invalid_recurrence | 400 | The schedule is not valid (the message says what to fix), or it has no dates left. | Make a campaign recurring |
invalid_rule | 400 | A rule has an unknown field or operator, or a missing or invalid value. The message says which. (wording varies by endpoint) | Create a segment, Count a segment before saving, Update a segment |
invalid_send_at | 400 | sendAt is not a date and time, or is more than a year ahead. (wording varies by endpoint) | Send a text, Send or schedule a campaign |
invalid_steps | 400 | A step is not valid (the message says which and why), or there are more than 30. (wording varies by endpoint) | Create a workflow, Update a workflow |
invalid_timezone | 400 | timezone is not one we recognise. | Update a contact, Update your account |
invalid_trigger | 400 | trigger is missing or not valid (an unknown type, a list that does not exist, an empty keyword, or a birthday hour outside 8 to 20). (wording varies by endpoint) | Create a workflow, Update a workflow |
invalid_url | 400 | url is not a full public https address (or the host cannot be found). (wording varies by endpoint) | Create a webhook, Update a webhook |
invalid_welcome | 400 | welcomeText does not mention STOP. | Create a signup form, Update a signup form |
no_audience | 400 | Neither contactIds (a list) nor audience (an object) was sent. | Enroll contacts in a workflow |
no_contacts | 400 | contacts is missing or empty. (wording varies by endpoint) | Import contacts, Act on many contacts, Send a batch of rows |
no_rules | 400 | rules is missing or empty. | Create a segment, Update a segment |
no_steps | 400 | enabled is true but there are no steps. (wording varies by endpoint) | Create a workflow, Update a workflow, Enroll contacts in a workflow |
reserved_keyword | 400 | word already means opt out, help or opt in (STOP, HELP, START, ...). | Set up a keyword |
too_many_contacts | 400 | More than 50,000 contacts. | Import contacts |
too_many_rules | 400 | More than 20 rules. | Create a segment, Update a segment |
unauthorized | 401 | No API key, or one that is not valid or has been revoked. | 78 endpointsSend a text, List texts, Get a text, Preview a message, List incoming texts, List contacts, Add a contact, Get a contact, Update a contact, Get consent history, Import contacts, Act on many contacts, Export contacts as CSV, List import jobs, Start an import job, Get an import job, Send a batch of rows, Finish an import job, List lists, Create a list, Get a list, Rename a list, Delete a list, List segments, Create a segment, Count a segment before saving, Get a segment, Update a segment, Delete a segment, List campaigns, Create a campaign draft, Estimate a campaign, Send a test text, Get a campaign report, Update a campaign draft, Delete a campaign draft, Duplicate a campaign, Stop a campaign, Make a campaign recurring, Stop a recurring campaign, Send or schedule a campaign, List workflows, Create a workflow, Get a workflow, Update a workflow, Delete a workflow, List people in a workflow, Enroll contacts in a workflow, List signup forms, Create a signup form, Get a signup form, Update a signup form, Delete a signup form, List conversations, Text someone from the inbox, Count conversations by folder, Get a conversation, Update a conversation, Reply in a conversation, List keywords, Set up a keyword, Delete a keyword, List webhooks, Create a webhook, Get a webhook, Update a webhook, Delete a webhook, Rotate the signing secret, Send a test event, List deliveries, Send a delivery again, Get your account, Update your account, Headline numbers, Audience growth, Campaign activity, Texts sent and received, Inbox workload |
insufficient_credits | 402 | Your credit balance is too low for this. error.details has needed and available. (wording varies by endpoint) | 5 endpointsSend a text, Send a test text, Send or schedule a campaign, Text someone from the inbox, Reply in a conversation |
plan_required | 402 | Your paid plan has ended. Choose a plan on the Billing page of the dashboard to keep sending. | 5 endpointsSend a text, Send a test text, Send or schedule a campaign, Text someone from the inbox, Reply in a conversation |
trial_ended | 402 | The 14-day free trial is over. Choose a plan on the Billing page of the dashboard to keep sending. | 5 endpointsSend a text, Send a test text, Send or schedule a campaign, Text someone from the inbox, Reply in a conversation |
form_not_found | 404 | There is no form with that public id, or it is switched off. | Show a form (public), Sign up with a form (public) |
no_sending_number | 404 | The number in fromNumberId does not exist. | Create a campaign draft, Update a campaign draft |
not_found | 404 | No campaign with that id in your account. (wording varies by endpoint) | 50 endpointsGet a text, List contacts, Add a contact, Get a contact, Update a contact, Get consent history, Import contacts, Act on many contacts, Export contacts as CSV, Start an import job, Get an import job, Send a batch of rows, Finish an import job, Get a list, Rename a list, Delete a list, Get a segment, Update a segment, Delete a segment, Create a campaign draft, Estimate a campaign, Get a campaign report, Update a campaign draft, Delete a campaign draft, Duplicate a campaign, Stop a campaign, Make a campaign recurring, Stop a recurring campaign, Send or schedule a campaign, Get a workflow, Update a workflow, Delete a workflow, List people in a workflow, Enroll contacts in a workflow, Create a signup form, Get a signup form, Update a signup form, Delete a signup form, Get a conversation, Update a conversation, Reply in a conversation, Set up a keyword, Delete a keyword, Get a webhook, Update a webhook, Delete a webhook, Rotate the signing secret, Send a test event, List deliveries, Send a delivery again |
already_sent | 409 | The campaign is not a draft: it was already sent, scheduled or stopped. | Send or schedule a campaign |
blocked | 409 | The number is blocked on SMSBlast (by SMSBlast staff, for every account) and cannot be texted. | Send a text, Send a test text, Text someone from the inbox, Reply in a conversation |
idempotency_in_progress | 409 | A request with the same Idempotency-Key is still running. Try again in a moment. | 28 endpointsSend a text, Preview a message, Add a contact, Import contacts, Act on many contacts, Start an import job, Send a batch of rows, Finish an import job, Create a list, Create a segment, Count a segment before saving, Create a campaign draft, Estimate a campaign, Send a test text, Duplicate a campaign, Stop a campaign, Make a campaign recurring, Send or schedule a campaign, Create a workflow, Enroll contacts in a workflow, Create a signup form, Text someone from the inbox, Reply in a conversation, Set up a keyword, Create a webhook, Rotate the signing secret, Send a test event, Send a delivery again |
import_finished | 409 | The import has already been finished. | Send a batch of rows |
keyword_in_use | 409 | This keyword starts a workflow; details.workflows names them. | Delete a keyword |
list_in_use | 409 | A workflow starts from this list or uses it in a step; details.workflows names them. | Delete a list |
no_active_number | 409 | You have no approved sending number yet. (wording varies by endpoint) | Send a text, Send a test text, Text someone from the inbox, Reply in a conversation |
no_recipients | 409 | Nobody subscribed is in the audience. | Send or schedule a campaign |
no_sending_number | 409 | You have no sending number yet. | Set up a keyword |
not_a_contact | 409 | The number is not one of your contacts. (wording varies by endpoint) | Send a text, Text someone from the inbox, Reply in a conversation |
not_a_draft | 409 | The campaign has already been sent, scheduled or stopped. (wording varies by endpoint) | Update a campaign draft, Delete a campaign draft, Make a campaign recurring |
not_recurring | 409 | The campaign is not recurring. | Stop a recurring campaign |
not_sending | 409 | The campaign is not scheduled or going out (it is a draft, a recurring campaign, already sent, or already stopped). | Stop a campaign |
number_not_active | 409 | The campaign's number is not approved yet (details.numberStatus says what it is), or you have no number. | Send or schedule a campaign |
recurring | 409 | It is a recurring campaign, which only sends on its schedule. Stop the schedule (DELETE /v1/campaigns/{id}/recurring) to send it by hand. | Send or schedule a campaign |
test_recipient | 409 | to is neither a teammate's own mobile number nor a subscribed contact. | Send a test text |
too_many_forms | 409 | You already have 50 forms. | Create a signup form |
too_many_webhooks | 409 | You already have 10 webhooks. | Create a webhook |
unsubscribed | 409 | The contact has opted out. (wording varies by endpoint) | Send a text, Send a test text, Text someone from the inbox, Reply in a conversation |
too_large | 413 | The body is larger than 12 MB. | Start an import job, Send a batch of rows, Finish an import job |
idempotency_key_reused | 422 | This Idempotency-Key was already used for a different request (another path or body) in the last 24 hours. | 28 endpointsSend a text, Preview a message, Add a contact, Import contacts, Act on many contacts, Start an import job, Send a batch of rows, Finish an import job, Create a list, Create a segment, Count a segment before saving, Create a campaign draft, Estimate a campaign, Send a test text, Duplicate a campaign, Stop a campaign, Make a campaign recurring, Send or schedule a campaign, Create a workflow, Enroll contacts in a workflow, Create a signup form, Text someone from the inbox, Reply in a conversation, Set up a keyword, Create a webhook, Rotate the signing secret, Send a test event, Send a delivery again |
rate_limited | 429 | Too many requests with this API key. (wording varies by endpoint) | 79 endpointsSend a text, List texts, Get a text, Preview a message, List incoming texts, List contacts, Add a contact, Get a contact, Update a contact, Get consent history, Import contacts, Act on many contacts, Export contacts as CSV, List import jobs, Start an import job, Get an import job, Send a batch of rows, Finish an import job, List lists, Create a list, Get a list, Rename a list, Delete a list, List segments, Create a segment, Count a segment before saving, Get a segment, Update a segment, Delete a segment, List campaigns, Create a campaign draft, Estimate a campaign, Send a test text, Get a campaign report, Update a campaign draft, Delete a campaign draft, Duplicate a campaign, Stop a campaign, Make a campaign recurring, Stop a recurring campaign, Send or schedule a campaign, List workflows, Create a workflow, Get a workflow, Update a workflow, Delete a workflow, List people in a workflow, Enroll contacts in a workflow, List signup forms, Create a signup form, Get a signup form, Update a signup form, Delete a signup form, Sign up with a form (public), List conversations, Text someone from the inbox, Count conversations by folder, Get a conversation, Update a conversation, Reply in a conversation, List keywords, Set up a keyword, Delete a keyword, List webhooks, Create a webhook, Get a webhook, Update a webhook, Delete a webhook, Rotate the signing secret, Send a test event, List deliveries, Send a delivery again, Get your account, Update your account, Headline numbers, Audience growth, Campaign activity, Texts sent and received, Inbox workload |
test_limit | 429 | You have sent 20 tests in the last 24 hours. | Send a test text |