Affinity Design
Agency Guide

Phone Numbers

Managing Twilio phone numbers for your agents

Why This Matters

Every live phone agent needs a working Twilio number. That number tells the platform which client and which agent should answer the call.

If the wrong number is attached, the wrong agent can answer, calls can miss the proper webhook, or SMS follow-ups can fail.

What a Good Setup Looks Like

Before you mark a number as ready, make sure:

  • the number exists in Twilio
  • the number is saved in full E.164 format, such as +15551234567
  • the number is assigned to the correct client
  • the number is attached to the correct agent
  • the voice webhook points to your live inbound route

Ways To Assign a Number

During client setup

When you create a client, add the Twilio number in the setup flow. This usually becomes the main number for the primary phone agent.

From the client record

  1. Open the client.
  2. Go to Connections -> Twilio.
  3. Click Sync Twilio to pull in available numbers.
  4. Pick the number you want.
  5. Assign it to the correct agent.

When adding another agent

If the client uses more than one phone agent, give each agent its own number or use the routing setup your team has approved. Always enter the full E.164 number, such as +15551234567.

Number Fields

FieldWhat it means
NumberThe full phone number in E.164 format. This must stay unique in the platform.
ClientThe client account that owns the number in your system.
AgentThe live agent currently using the number.
TypeWhether the number is used for inbound, outbound, or both.
ProviderThe phone provider. Right now this is Twilio.
StatusWhether the number is active, reserved, or released.
CapabilitiesVoice, SMS, and MMS support from Twilio.
Monthly CostThe monthly carrier cost for keeping the number active.

Webhook Setup

The number must send calls to your platform before the agent can answer them.

Typical routing looks like this:

  • Voice URL: https://api.youragency.com/inbound
  • SMS URL: https://api.youragency.com/sms

In many cases the platform can set this for you when the number is assigned. If calls are not reaching the agent, check the webhook first.

Reassigning or Releasing a Number

If a client stops using a number:

  1. Remove the number from the old agent or move it to the new one.
  2. Confirm no active workflow still depends on it.
  3. Decide whether you are only removing it from the platform or fully releasing it in Twilio.

Removing a number from the platform does not automatically release it from Twilio.

Warning: If you release a number from Twilio, you may not be able to get that same number back later.

Status Meanings

StatusMeaning
ActiveThe number is assigned and should be routing traffic now.
ReservedThe number is being held for later use and is not part of the normal live flow.
ReleasedThe number was removed from platform use. It may still exist inside Twilio.

Troubleshooting

ProblemLikely causeWhat to do
Calls do not reach the agentVoice webhook is missing or wrongRe-sync Twilio or update the voice webhook manually.
Number does not appear in the platformThe number is not in the connected Twilio accountBuy or move the number inside Twilio, then sync again.
Duplicate number errorThe number is already attached somewhere elseFind the old assignment and release or reassign it first.
SMS follow-up failsThe number does not support SMSCheck Twilio capabilities and swap to a number with SMS support.

On this page