Customize what texters see
Almost everything a texter reads comes from your agent. A few texts come from us: the opt-in confirmation, the HELP reply, and a handful of notices. Our defaults lead with your bot's name; customize them to speak in your own words.
Every line is a Silver Arrows LLC text program (one carrier registration for all of them), so the opt-in confirmation and the HELP reply always say "Silver Arrows" and end with your line's program link: silverarrows.dev/<KEYWORD>, your line's page on our site (silverarrows.dev/p/<id> for a platform line without a keyword). It shows your bot's name, your description, the number, who operates the program, and the carrier disclosure.
Set them in the dashboard (Settings → Messages), in the wizard's optional "Customize what texters see" step, or with PATCH /v1/lines/:id.
The messages
| key | When it goes out | Our default |
|---|---|---|
opt_in |
The first text anyone gets from your line (after the keyword, or their first text to your own number). | Artemis Tarot via Silver Arrows: Thanks for texting! Msg & data rates may apply. Msg frequency varies. Reply HELP for help, STOP to opt out. Info: silverarrows.dev/ARTEMIS |
welcome |
After the keyword on the shared number, following the opt-in. | nothing |
help |
When someone texts HELP or INFO. Never reaches your agent. | Artemis Tarot is an AI text assistant from Silver Arrows LLC. Support: hello@silverarrows.dev. Reply STOP to opt out. Msg & data rates may apply. Info: silverarrows.dev/ARTEMIS |
stop |
When someone texts STOP. See STOP is Twilio's today. | Silver Arrows: You're unsubscribed and won't receive further messages. Reply START to resume. |
paused |
While you've paused the line. | silence |
unknown |
A text to your own number before the line has passed its connection test. Once per texter. | silence |
fallback |
When your agent fails or times out. | Sorry, I'm having trouble right now. Try again in a minute. |
The defaults use your line's name and link (shown: our Artemis line). A long name is shortened so the text still fits in two texts; nothing required is ever dropped.
Each one is our default, your own text, or fetched from your endpoint:
{ "mode": "default" }
{ "mode": "text", "text": "…" }
{ "mode": "endpoint", "url": "https://…" }
Your own text
curl -s -X PATCH "https://silverarrows.dev/v1/lines/$LINE_ID" \
-H "Authorization: Bearer $SA_KEY" \
-H "Content-Type: application/json" \
-d '{"messages": {
"opt_in": {"mode": "text", "text": "Mission Bikes via Silver Arrows: thanks for texting our repair helper! Msg & data rates may apply. Msg frequency varies. Reply HELP for help, STOP to opt out. {link}"},
"help": {"mode": "text", "text": "Mission Bikes: an AI repair helper by Silver Arrows LLC. Questions: help@missionbikes.example. Reply STOP to opt out. {link}"}
}}'
Texts are up to 320 characters, plain text (markdown is stripped). Send null for a key to put it back on our default.
{link}
Write {link} where your program link goes and we put it in when the text is sent (silverarrows.dev/MISSIONBIKES), so it stays right if the link's domain ever changes. Writing the link out in full works too. {link} works in any message, and an endpoint can return it as well.
What carriers require
US carriers review these texts as part of our registration, so three of them must keep certain words. If one is missing, the dashboard shows it as you type and the API answers 400 naming what's missing. We check again every time a text goes out (your line's name can change, and endpoints can return anything); a text that fails the check, or whose endpoint fails, is replaced by our default and logged.
| key | Must include |
|---|---|
opt_in |
Silver Arrows (the program people opted into, e.g. "Mission Bikes via Silver Arrows"), your program link ({link}), "Msg & data rates may apply", the message frequency ("Msg frequency varies"), and HELP and STOP instructions (the words HELP and STOP in capitals). At most 2 texts with the link in. |
help |
Your line's name, Silver Arrows LLC (the registered sender carriers know), your program link ({link}), a way to reach you (email, website or phone), and "Reply STOP to opt out". At most 2 texts with the link in. |
stop |
That they won't receive further messages, and START to resume. |
Every custom text also goes through the same content check as your agent's replies.
From your endpoint
{"mode": "endpoint"} asks your webhook for the text when it's needed. We POST, signed like every other request:
{ "type": "help", "line_id": "line_8Hq2kVd0sPZx1mLw4TfR", "sender_id": "snd_3f9a1c0b7e2d4a6b8c1d2e3f" }
with the header X-Arrow-Event: message.help, to the line's webhook_url (or the url you set on that message). Answer with the text, as plain text or {"text": "…"}.
- We wait 3 seconds, then use our default.
- Answers are cached per line for 10 minutes (failures for 1 minute), so your endpoint isn't called for every text.
- The text must pass the same checks as above, or we use our default and log it.
fallbackcan't come from your endpoint (it's what we send when your endpoint fails).
STOP is Twilio's today
STOP is handled by Twilio for every number we run, before your line or ours sees the text: Twilio sends the STOP confirmation, records the opt-out and blocks anything else to that phone until START. That reply is set once for our whole Messaging Service, so it can't differ per line. Your stop text is saved and checked now, and goes out only if STOP handling moves to Silver Arrows. Whatever happens, after STOP nothing else reaches that phone until it texts START, and STOP never reaches your agent.
Where "Silver Arrows LLC" still appears
We're the registered sender for every line, so carriers expect our name somewhere a texter can see it. With every message customized, it's in the opt-in confirmation ("via Silver Arrows" and your program link), in the HELP reply, on your line's program page (silverarrows.dev/<KEYWORD>: "This text program is operated by Silver Arrows LLC", and the disclosure next to your number), and on our privacy policy and terms. Free lines also end replies with "Sent via Silver Arrows".
Your program page
silverarrows.dev/<KEYWORD> (the old /t/<KEYWORD> address redirects there) is a page on our site for your line. It shows your bot's name, an optional description (public_description, up to 280 characters, checked by our content filter when you save), the number and keyword with a tap-to-text button and QR code, who operates the program, the carrier disclosure, HELP/STOP and message frequency, and links to our privacy policy, terms and support. If you set owner_url (https only), it ends with "Made by <your site>". Set both in Settings → Program page, or:
curl -s -X PATCH "https://silverarrows.dev/v1/lines/$LINE_ID" \
-H "Authorization: Bearer $SA_KEY" \
-H "Content-Type: application/json" \
-d '{"public_description": "Bike repair questions, answered by text.", "owner_url": "https://missionbikes.example"}'