Connect Twilio

Connect a Twilio phone number so your team can place and answer calls in the browser, with recordings, routers and the AI voice agent.

Twilio is a full calling provider in Rework Call. Once a Twilio number is connected, your team places and answers calls directly in the browser, every connected call is recorded into Rework, and inbound calls can run through a router or the AI voice agent.

What this channel supports

CapabilitySupportedNotes
Outbound calls from the browserYesCaller ID is the line's number.
Inbound calls in the browserYesAfter you switch the line to Inbound on.
Inbound routers (messages, keypad menus, ring a service)YesAttach a Router to the line.
AI voice agentYesThrough a router step that hands the call to an agent.
Call recordingYesEvery connected call, stored in Rework.
TranscriptsYesProduced from the stored recording.
Number purchase or number list syncNoBuy the number in Twilio, then add it in Rework.
Call-history importNoCalls are captured live instead.

Before you start

  • A Twilio account (or subaccount) with a voice-capable phone number.
  • Permission in the Twilio Console to view account credentials and create API keys.
  • The number and the credentials must belong to the same Twilio account or subaccount.

Step 1 – Prepare Twilio

  1. In the Twilio Console, open your account dashboard and copy:
    • Account SID (starts with AC)
    • Auth Token
  2. Create an API key (in the Twilio Console under API keys & tokens). A standard key is enough. Copy:
    • the key's SID (starts with SK) — this goes in API Key
    • the key's Secret — this goes in API Secret. Twilio shows the secret only once, so copy it now.
  3. Make sure the phone number you want to use is on this account.

You don't need to create a TwiML App or set any webhook URL by hand — Rework does that for you (see How it works).

Step 2 – Add it in Rework

  1. Go to Settings → Service Accounts and click Add Twilio account in the Twilio section.
  2. Enter a Display name (optional) and the Phone number — choose the country, then type the number.
  3. Choose Scope (System to share, Personal for yourself) and, for a system line, the people in Shared with.
  4. Optionally pick a Router for inbound calls.
  5. Under Twilio configuration, fill in all four fields — they're all required:

    Field in ReworkWhat to paste
    Account SIDYour Twilio Account SID (AC…)
    Account Auth TokenYour Twilio Auth Token
    API KeyThe API key SID (SK…)
    API SecretThe API key secret
  6. Click Add account.

  7. On the new line, click Inbound off. Rework points the Twilio number at itself and the button changes to Inbound on, with the message Inbound calling enabled.

Step 3 – Verify it works

  1. Outbound: open the dialer, pick the line in From account, pick a call service, enter a number with its country, and call. The far end should see your Twilio number.
  2. Inbound: call the number from another phone while the line owner has Rework Call open. Their browser should ring (or the router's first step should play).
  3. Recording: after a connected call ends, open it in Call logs — the recording appears once Twilio delivers it.
  4. In the Twilio Console (optional): the number's voice configuration should now point at your Call app, and a TwiML App named calls-app-… should exist.

How it works

What Rework sets up on Twilio automatically

  • For outbound calls: the first time the line is used — when someone who can use it opens Rework Call or places a call — Rework creates a TwiML App named calls-app-<workspace>-<line> whose Voice URL is your Call app's address followed by /webhook/public/twilio/outbound.voice.instruction.
  • For inbound calls: Inbound on writes the number's Voice URL as your Call app's address followed by /webhook/public/twilio/inbound.voice.instruction?system=<your workspace> (sometimes with an extra region parameter). Inbound off clears it again.
  • Per call: status and recording callbacks are attached to each call automatically. You never configure them in Twilio.

Outbound flow. Your browser connects to Twilio with a short-lived token. Twilio asks Rework what to do, Rework tells it to dial the number with your line as caller ID, and call status updates flow back as the call rings, connects and ends.

Inbound flow. Twilio sends the call to Rework. Rework finds the line by the dialled number, checks Twilio's request signature with your Account Auth Token, and then either rings the line owner's browser or runs the line's router.

Recordings. Every bridged call is recorded from the moment it's answered. When Twilio reports the recording, Rework downloads it using your API key and stores it with the call.

Security. Every request from Twilio is signature-checked with the line's Account Auth Token before Rework acts on it. A request that fails the check is refused.

Troubleshooting

SymptomCauseFix
Turning inbound on fails with "… is not a number on this Twilio account"The number is on a different Twilio account or subaccount than the credentials.Use the credentials of the account that owns the number, or move the number.
Warning: "Twilio still points this number at …, which is not this app"The number's Voice URL belongs to another app or an old integration. Rework left it alone.Clear or change it in the Twilio Console if it's stale, then turn inbound on again.
Callers hear "The number you have dialed is not in service"Twilio reached Rework, but no line in your workspace has that number.Check the line's Phone number matches the Twilio number exactly, including country.
Inbound calls fail, or call status and recordings never updateTwilio's signature didn't match — usually a wrong or rotated Account Auth Token.Paste the current Auth Token into the line and save.
Only one person's browser ringsWithout a router, inbound calls ring only the line owner.Attach a Router to the line.

More cases: Provider troubleshooting.

Limitations

  • You can't buy numbers or import your Twilio number list from Rework.
  • Recording is always on for calls bridged through Rework; there's no per-line switch.
  • If you rotate your Twilio Auth Token or API key, update the line straight away — calls fail until you do.
  • Lines set up a long time ago may still point at an older Rework address. Turning inbound off and on again upgrades them.

Related articles