Buying a Number
You can search for and purchase phone numbers from the Simple AI dashboard or through the API. When searching for numbers, you can filter by:- Country — the country the number is based in
- Area code — a specific local area code
- Capabilities — voice, SMS, or both
Supported Countries
The API takes uppercase ISO 3166-1 alpha-2 country codes. Area code search is supported in the US, Canada, and Puerto Rico (
787, 939); United Kingdom and France searches ignore the area code. United Kingdom numbers must be enabled for your organization; contact support to turn them on.
Pass number_type to choose the kind of number: local (the default), toll_free (US only), or mobile and national (France only).
French numbers
French regulations require every business holding a French number to be registered first. Register once for each kind of number you need:- In the dashboard, go to Configuration > Business profiles and choose Add business profile. Enter the legal business name, SIREN or SIRET number, website, a French business address and an authorized representative, then, under Documents, upload its Extrait K-bis as the proof of business identity and, if the K-bis doesn’t show the address, a proof of address (a utility bill, tax notice, rent receipt or title deed). Files must be PDF, JPEG or PNG, up to 5 MB. They stay on the profile and are reused for every registration.
- Go to Numbers and open the Number registrations tab.
- Choose Register for French numbers, choose the business, and pick the number types: Local (+33 1 to 5), Mobile (+33 6 and 7) or National (+33 9).
- Check the summary of the details and documents that will be sent, then submit.
business_profile_id to Buy Number to say which business the number is registered to. The ID is shown at the top of the business profile’s page in the dashboard.
Once purchased, the number is immediately available for use.
Assigning an Agent
After buying a number, assign an agent to it to handle inbound calls. When someone calls that number, the assigned agent picks up and follows its configured prompt and flow. You can change the assigned agent at any time from the dashboard or via the Assign Agent API. A number can also be used for outbound calls without assigning an agent — just reference the number as thefrom_number when creating a call.
Inbound Calls
When an agent is assigned to a number:- A call comes in to the number
- Simple AI routes it to the assigned agent
- The agent handles the conversation according to its configuration
- Optionally, a pre-call webhook runs before the agent picks up, allowing you to inject parameters
Outbound Calls
Any number you own can be used as the caller ID for outbound calls. Pass its ID asfrom_number_id when creating a call through the API or when setting up a campaign.
Number Pools and Local Dialing
A number pool is a named set of your numbers that calls can dial from locally. Create pools on the Number pools tab of Numbers in the dashboard and add the numbers that can place calls. When a call goes out through a pool, Simple AI picks the pool number with the same area code as the person you are calling. If none matches, it picks one in the same US state or Canadian province. If the pool has no local number, the call uses its normal caller ID. When several numbers are equally local, the same person always hears from the same number. To dial locally through the API, pass the pool’s ID asfrom_pool_id when creating a call. Add from_number_id to choose the caller ID used when no pool number is local. Journeys can dial locally too: pick a pool under Calls go out from in the journey’s contact rules or on a call step.