> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/bookster/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/bookster/addons/twilio-sms.md).

# Twilio SMS

**Twilio SMS** sends text messages about appointments to customers, agents and you, through your own Twilio account.

{% hint style="info" %}
Needs the **Twilio SMS** addon, included in [All Access](https://wpbookster.com/downloads/all-access/).
{% endhint %}

## Before you start

You need a Twilio account with a phone number that can send SMS. Your **Account SID** and **Auth Token** are on the Twilio Console's home page.

## Connect Twilio

1. Go to **Integrations › SMS › Options**.
2. Turn on **SMS Notification**.
3. Fill in:
   * **Account SID**
   * **Auth Token**
   * **Sender Phone Number**: your Twilio number, with the country code, for example `+15035550100`.
4. Click **Save Changes**.
5. Click **Send Test SMS**, enter your own number as **Recipient Phone Number**, and click **Send**. If the text arrives, SMS is ready.

<figure><img src="https://3654694329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOokiT38oKvyMtYds88Kp%2Fuploads%2Fgit-blob-cb127a3b0860da80bb7ff5c24c7bb10a8ea22d1a%2Ftwilio-options.webp?alt=media" alt="Twilio Options with SMS Notification on, Account SID, Auth Token, Sender Phone Number, Send Test SMS and Save Changes"><figcaption><p>Twilio Options, filled in.</p></figcaption></figure>

## Choose which texts to send

1. Go to **Integrations › SMS › Notifications**.
2. Turn on each text you want to send: **New Appointment** to the manager, **New Pending Appointment** to the customer, and **Approved Appointment** and **Canceled Appointment** to the customer or the agent.
3. Click a notification to edit its **Message**. Placeholders such as `{customer_name}` fill in the booking's details; the **Preview** shows the result.
4. Click **Save Changes**. **Reset To Default** brings back the original text.

To send a text again, open an appointment and click **Resend Appointment**, then **Resend SMS to Customer** or **Resend SMS to Agent**.

## What the customer sees

The customer gets a text from your Twilio number when their appointment is booked, approved or canceled, for each notification you turned on.

[Reminder](https://docs.yaycommerce.com/bookster/addons/reminder.md) can also send texts before an appointment, from **Integrations › SMS › Reminder**.
