SMS Delivery via API

SignWell can deliver signature requests by text message (SMS) in addition to, or instead of, email. This guide covers how to send documents via SMS, what recipients receive, how to track delivery, and the constraints to plan for.

📘

Availability

SMS delivery is available only to workspaces that are eligible for SMS and have it enabled. Requests that set an SMS delivery method for a non-eligible workspace fail validation with a 422.

Sending a document via SMS

Set delivery_method on each recipient of Create Document or Create Document from Template:

delivery_methodChannelsRequires
email (default)Email onlyemail
smsSMS onlyphone_number (email optional)
email_and_smsBothemail and phone_number
{
  "name": "NDA",
  "files": [{ "file_url": "https://example.com/nda.pdf", "name": "nda.pdf" }],
  "recipients": [
    {
      "id": "1",
      "name": "Jane Doe",
      "email": "[email protected]",
      "delivery_method": "email_and_sms",
      "phone_number": "+14155551234"
    },
    {
      "id": "2",
      "name": "John Roe",
      "delivery_method": "sms",
      "phone_number": "+14155555678"
    }
  ]
}

Phone number rules

  • phone_number must be E.164 format (for example +14155551234).
  • Only country codes currently enabled for SMS are accepted. SMS is available for US and Canada (+1), UK (+44), and Australia (+61) phone numbers.
  • Two SMS-only recipients on the same document cannot share the same phone number.

What SMS recipients receive

SMS content always uses fixed system templates; there is no custom SMS body. subject and message (document-level or per-recipient) apply to email notifications only. Document notifications include signing invitations, reminders, and completion messages. Authentication passcode SMS may also be sent when configured.

Reminders

Send Reminder and automatic reminders follow each recipient's own delivery method: email-only recipients get a reminder email, SMS-only recipients get a reminder text, and email_and_sms recipients get both. No extra parameters are needed.

Embedded signing

With embedded_signing: true, notifications are off by default. send_sms: true sends the SMS notification anyway, and send_sms_delay (0-60 minutes) delays it, skipping the send if the document is completed before the delay elapses. These mirror send_email / send_email_delay and only apply when the recipient's delivery method includes SMS.

Tracking delivery

Get Document returns delivery_method for every recipient, and recipients whose delivery includes SMS carry a nested sms object:

{
  "id": "2",
  "name": "John Roe",
  "delivery_method": "sms",
  "sms": {
    "phone_number_masked": "+1 ******5678",
    "send_sms": false,
    "send_sms_delay": 0,
    "delivery_status": "sent",
    "message_type": "invite",
    "failed": false,
    "failed_details": null
  }
}
  • phone_number_masked: dialing code + last four digits; the full number is never returned.

  • delivery_status: Status of the latest SMS notification sent to the recipient.

    ValueDescription
    nullNo SMS has been sent yet
    queuedWaiting to be processed
    sendingMessage is being sent
    sentAccepted by the carrier; delivery not yet confirmed
    deliveredCarrier confirmed delivery
    undeliveredCarrier could not deliver the message
    failedMessage could not be sent
    suppressedNot sent because the recipient opted out
    test_modeTest mode; no actual SMS was sent
  • message_type: invite, reminder, or completed.

  • failed / failed_details: When an SMS cannot be sent, failed is true and failed_details contains the provider error code. For carrier-reported undelivered messages, these fields currently remain false and null, respectively.

    To detect SMS delivery failures, check whether delivery_status is failed or undelivered, rather than relying on the failed flag alone.

    These fields reflect the latest SMS notification, not the complete delivery history. A reminder or completion message replaces the previous notification's status. Authentication passcode messages are not included.

Two webhook events report SMS outcomes:

  • document_sms_failed: Triggered when the carrier reports a delivery failure (failed or undelivered) after the SMS was submitted. The document sender also receives a failure email. If the SMS provider rejects the message immediately, delivery_status becomes failed, but no webhook or failure email is sent.
  • document_sms_opted_out: Triggered when a recipient's number is newly added to the suppression list.

Both events identify the affected recipient in event.related_recipient. See Events and Event Data.

Credits

Each SMS uses one credit, including messages that fail or are undelivered. Messages suppressed due to opt-out and messages in test mode do not consume credits.

A typical completed document uses at least 2 SMS credits per SMS recipient: one for the signing invitation and one for the completion notification. Each reminder consumes an additional credit.

Authentication passcode SMS messages also consume one credit each. These messages are still sent when the SMS balance is exhausted so recipients can access their documents.

Recipients using sms or email_and_sms automatically receive a completion text when the document is fully signed. This notification cannot currently be disabled separately.

The Send Signers the Completed File (Including CC'd) preference controls whether the completion email includes a PDF attachment or a link. It does not disable SMS completion notifications.

Insufficient SMS credits

For reminders and completion notifications, if there are not enough credits for all SMS recipients on a document, all SMS messages for that notification are skipped. Applicable email notifications still go out, and the document sender receives one notification email.

If an individual SMS reaches the credit limit when sending (for example, an automatic reminder), that message is skipped. The workspace owner receives one SMS limit reached email per billing cycle, even if another team member sent the document.

Suppression and opt-out

When a recipient opts out, their number is added to the SignWell-wide SMS suppression list and skipped on future sends (delivery_status: "suppressed"). Opt-outs apply across SignWell, not just the sending workspace.

  • US and Canada: Recipients opt out by replying STOP and can opt back in by replying START.
  • UK and Australia: Recipients opt out through the link included in the SMS.

Opting out of SMS does not affect email delivery.

For details, see SMS Notifications Consent and Opt-Out.

Test mode

Documents created with test_mode: true do not send real SMS or consume SMS credits.

To preview an SMS-only notification, set sms_test_email: true when creating a document. When an SMS notification is scheduled, the document owner receives a preview email with the masked phone number.

For embedded signing, the recipient's send_sms must be true to schedule the notification.

Updating recipients: SMS delivery settings are configured when creating a document. The Update Recipients endpoint does not currently support changing SMS delivery fields.