Phone numbers API
List your workspace's numbers, search the numbers for sale and buy one. Every purchase waits for an owner's or admin's approval.
GET /v1/phone-numbers/available → POST /v1/phone-numbers → GET /v1/change-requests/:idScopes phone_numbers:readphone_numbers:write6 endpointsShow
Before you buy
Keys need phone_numbers:read to list the workspace's numbers and search the numbers for sale, and phone_numbers:write to buy one. Only owners and admins can give a key phone_numbers:write, and only a key one of them created buys.
Numbers are sold in the United States, Canada and Mexico. Search by area code, or in Mexico by city name, and the answer says what this workspace pays: the first month when the purchase is approved, then the same every month, in the workspace's billing currency. GET /v1/phone-numbers/purchase-readiness says first whether the key's creator may buy, whether a card is on file and, for Mexico, whether the compliance profile is complete.
POST /v1/phone-numbers never buys on its own, whatever the key's approval settings: it answers 202 with a change request, and nothing is charged until a workspace owner or admin approves it in NuTalk (Settings → API keys → Approvals), seeing the number, the price, the monthly cost and the card. Follow it with GET /v1/change-requests/:id. The price you were quoted is fixed in the request: if it changes before the approval, the purchase is refused and nothing is charged.
Adding a card (and its 3-D Secure check), the Mexican compliance profile (business details and identity document) and releasing a number are done in NuTalk. A new number takes calls once it is on a voice channel; Mexican numbers are reviewed by the carrier first (status carrier_review, usually a day or two).
Verified caller IDs
A number the workspace verified to call from (type verified) is removed with DELETE /v1/phone-numbers/:id, so it can be verified again in another workspace. While a phone channel still calls from it, the removal is refused with those channels and the campaigns calling through them; send detach_channels: true with channel_ids naming every one to remove it from them too. A number bought through NuTalk is never removed through the API.
/v1/phone-numbersList phone numbers
The workspace's phone numbers, newest first: the ones bought through NuTalk and its own numbers verified as caller ID, with their status, the channel their calls ring, and what the workspace pays for them.
phone_numbers:readFields: id, phone_number, country, type, status, capabilities, receives_calls_on, billing, created_at.
Query parameters
limitinteger · 1–100Results per page. Default: 20.
offsetinteger · at least 0Results to skip. Default: 0.
Errors
400validation_errorA query parameter is invalid (details.errors lists each one).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl "https://www.nutalk.ai/v1/phone-numbers?limit=20" \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": [
{
"id": "2f6d8b0a-4c1e-4f3a-9b5d-7e9f1a3c5b72",
"phone_number": "+528155550123",
"country": "MX",
"type": "purchased",
"status": "active",
"capabilities": {
"voice": true,
"sms": false
},
"receives_calls_on": {
"id": "9f19ef32-eaef-452c-bebc-14d9759cdb64",
"name": "Support line"
},
"billing": {
"included": false,
"monthly_price": {
"amount_cents": 30000,
"currency": "mxn"
},
"next_billing_at": "2026-11-23T18:20:05.000Z"
},
"created_at": "2026-10-23T18:20:05.117+00:00"
}
],
"pagination": {
"total": 1,
"limit": 20,
"offset": 0,
"has_more": false
}
}/v1/phone-numbers/:idGet a phone number
One of the workspace's phone numbers.
phone_numbers:readPath parameters
iduuidrequiredThe phone number id.
Errors
404not_foundNo phone number with this id in your workspace (ids of other workspaces answer the same).Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/phone-numbers/2f6d8b0a-4c1e-4f3a-9b5d-7e9f1a3c5b72 \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": {
"id": "2f6d8b0a-4c1e-4f3a-9b5d-7e9f1a3c5b72",
"phone_number": "+528155550123",
"country": "MX",
"type": "purchased",
"status": "active",
"capabilities": {
"voice": true,
"sms": false
},
"receives_calls_on": {
"id": "9f19ef32-eaef-452c-bebc-14d9759cdb64",
"name": "Support line"
},
"billing": {
"included": false,
"monthly_price": {
"amount_cents": 30000,
"currency": "mxn"
},
"next_billing_at": "2026-11-23T18:20:05.000Z"
},
"created_at": "2026-10-23T18:20:05.117+00:00"
}
}/v1/phone-numbers/:idRemove a verified caller ID
Removes one of the workspace's own numbers verified as caller ID (type verified), as the Phone numbers page does: from the carrier, then from the workspace, so it can be verified again in another workspace. A number bought through NuTalk is never removed here. A caller ID that a phone channel still calls from is refused (409, IN_USE) with those channels and the campaigns calling through them, unless you confirm them: detach_channels: true with channel_ids naming every one of them. They then stop calling from it; a channel you didn't name is never cleared.
phone_numbers:writeWaits for approvalWorkspace keys only · acts as the key's creatorNothing brings the caller ID back: it must be verified again, in the dashboard. Confirm with the user first.
When the key asks for approval on deletes, the removal waits for an owner's or admin's approval.
Path parameters
iduuidrequiredThe phone number id.
Query parameters
detach_channelstrue | falsetrue: remove it from the channels in channel_ids too (or send it in the body).
channel_idsstringThe channels confirmed, comma-separated (or send them in the body).
Request body
detach_channelsbooleantrue: the channels in channel_ids, which call from the number, stop calling from it, and it is removed.
channel_idsuuid[] · 0–100 itemsRequired with detach_channels: every channel that calls from the number, as the 409 named them. A channel calling from it that isn't here refuses the removal again.
Unless its key was set not to wait, nothing is removed yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorA query parameter is invalid (details.errors lists each one).400validation_errorThe number is not a verified caller ID (details.reason not_verified_caller_id), or detach_channels came without channel_ids (channel_ids_required).403forbiddenThe key's creator has a role that can't remove numbers (owners, admins and builders can) or has left the workspace, or a channel to clear is the Zoom channel and the creator isn't an owner or admin (ZOOM_MANAGERS_ONLY).404not_foundNo phone number with this id in your workspace (ids of other workspaces answer the same).409conflictPhone channels call from it (details.reason IN_USE, with details.channels (id, name) and details.campaigns (id, name, channel_id)), or the carrier can't remove this caller ID here (CARRIER_UNSUPPORTED: contact support).503service_unavailableThe carrier didn't answer (CARRIER_UNAVAILABLE) or isn't set up (CARRIER_NOT_CONFIGURED): nothing was removed; try again later.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X DELETE https://www.nutalk.ai/v1/phone-numbers/2f6d8b0a-4c1e-4f3a-9b5d-7e9f1a3c5b72 \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"detach_channels": true,
"channel_ids": [
"9f19ef32-eaef-452c-bebc-14d9759cdb64"
]
}'{
"success": true,
"data": {
"phone_number_id": "2f6d8b0a-4c1e-4f3a-9b5d-7e9f1a3c5b72",
"phone_number": "+528155550123",
"removed": true
}
}/v1/phone-numbers/availableSearch numbers to buy
Numbers the carrier has for sale in the United States, Canada or Mexico (local numbers that take calls), by area code or, in Mexico, by city name. Easy-to-remember numbers come first (memorable). price is what this workspace pays for any of them: the first month when the purchase is approved, then the same every month, in the workspace's billing currency.
phone_numbers:readAn empty data means the carrier has no number for sale there now; try another area code or city.
Query parameters
countryUS | CA | MXrequiredThe country.
area_codestringOnly numbers with this area code (2 or 3 digits: 81 Monterrey, 212 New York).
citystring · up to 80Mexico only: the city's name instead of its area code (Monterrey, CDMX, Querétaro). A city with two area codes (Mexico City: 55 and 56) is searched in both.
currencyusd | mxnThe currency to price in when the workspace doesn't pay in one yet (price.currency_locked false). Otherwise the workspace's currency is used.
limitinteger · 1–50Numbers to return. Default: 20.
Show 1 more field
Errors
400validation_errorA query parameter is invalid (details.errors lists each one).400validation_errorcity names no Mexican city NuTalk sells numbers in (details.reason UNKNOWN_CITY), or is used outside Mexico.403forbiddenThe key's creator is not an owner or admin, has left the workspace, or number purchases are not enabled for the workspace (details.reason PURCHASES_NOT_ENABLED).503service_unavailableNuTalk doesn't sell numbers in the country right now (PURCHASES_UNAVAILABLE, PRICE_UNAVAILABLE), or the carrier is busy or didn't answer (CARRIER_BUSY, CARRIER_SEARCH_FAILED): try again in a few seconds.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl "https://www.nutalk.ai/v1/phone-numbers/available?country=MX&city=Monterrey" \ -H "Authorization: Bearer $NUTALK_API_KEY"
{
"success": true,
"data": [
{
"phone_number": "+528155550123",
"country": "MX",
"locality": "Monterrey",
"region": "NL",
"capabilities": {
"voice": true,
"sms": false
},
"memorable": true
}
],
"price": {
"currency": "mxn",
"charged_today_cents": 30000,
"monthly_price_cents": 30000,
"currency_locked": true
}
}/v1/phone-numbers/purchase-readinessWhat a purchase needs
What POST /v1/phone-numbers needs before you ask for it, by the rules the purchase checks: whether the key's creator may buy (can_buy: owners and admins), the currency the workspace pays in (currency; null with currency_locked false while it pays in none, and then the purchase must send currency, which sets it for good), whether the workspace has a billing account and a card on file (never which card), and, per country whose numbers need a compliance profile (MX), whether that profile is complete and the company profiles a purchase can be ordered under (compliance_profile_id).
phone_numbers:readWorkspace keys only · acts as the key's creatorCards are added in NuTalk (Settings → Billing), never through the API, and the charge goes to the workspace's default card. A card that needs 3-D Secure is declined here (402): pay with another card, or buy the number in the dashboard.
Errors
403forbiddenThe key's creator has left the workspace.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl https://www.nutalk.ai/v1/phone-numbers/purchase-readiness \ -H "Authorization: Bearer $NUTALK_API_KEY"
billing_account and card_on_file are null when the key's creator can't buy: they are billing data. regulatory[country].reason says what is missing (business_info_missing, profile_missing, document_missing, rejected); profiles are completed in NuTalk (Phone numbers → Compliance).{
"success": true,
"data": {
"can_buy": true,
"currency": "mxn",
"currency_locked": true,
"billing_account": true,
"card_on_file": true,
"regulatory": {
"MX": {
"ready": true,
"reason": null,
"compliance_profile_id": "8f9e6d2c-3b4a-4c5d-8e7f-0a1b2c3d4e5f"
}
},
"profiles": {
"MX": [
{
"id": "8f9e6d2c-3b4a-4c5d-8e7f-0a1b2c3d4e5f",
"status": "approved",
"submitted": true,
"label": null,
"legal_name": "Clínica Dental Sonrisa, S.A. de C.V.",
"tax_id": "CDS010101AB1"
}
]
}
}
}/v1/phone-numbersBuy a phone number
Asks to buy a number found with GET /v1/phone-numbers/available. **It always waits for an owner's or admin's approval**, whatever the key's approval settings: the call answers 202 with data.change_request (status pending) and data.purchase (the number, the currency and the price), and nothing is charged until an owner or admin approves it in NuTalk (Settings → API keys → Approvals), where they see the number, the price, the monthly cost and the card. Follow it with GET /v1/change-requests/:id: once approved, the workspace's card is charged for the first month and the number is ordered from the carrier; the request's result is the number, as GET /v1/phone-numbers/:id answers it.
phone_numbers:writeAlways waits for approvalWorkspace keys only · acts as the key's creatorEvery check is made when you ask, so a purchase the workspace can't make is refused at once instead of waiting; they are all made again when it is approved.
Before it is held and again when it is approved, the carrier is asked whether it lists that exact number for sale: one it doesn't (a typo, one sold while the purchase waited) is refused before any charge (409 NUMBER_NOT_AVAILABLE).
Once approved, a card that is declined fails the request (its result is a 402 payment_failed, with details.reason CARD_DECLINED), and a number taken in the moment between that check and the carrier's order is refunded at once (502, details.refunded).
Cards are added in NuTalk (Settings → Billing), never through the API, and the charge goes to the workspace's default card. A card that needs 3-D Secure is declined here (402): pay with another card, or buy the number in the dashboard.
Only a key created by an owner or admin buys, and only owners and admins can give a key phone_numbers:write.
Request body
phone_numberstringrequiredThe number to buy, in E.164 (+528155550123).
countryUS | CA | MXFor a +1 number only: CA when it's Canadian (default US).
currencyusd | mxnRequired when the workspace doesn't pay in a currency yet (this purchase sets it for good); otherwise its currency, and another one is refused.
monthly_price_centsinteger · at least 1The monthly price you were quoted (price.monthly_price_cents): a purchase at any other price is refused. Without it, the price when you ask is the one approved.
compliance_profile_iduuid | nullMexico: the company profile to order the number under (default: the workspace's best one). Profiles are completed once in NuTalk (Phone numbers → Compliance).
Show 1 more field
Whatever the key's settings, nothing happens yet: the call answers 202 with data.change_request, and runs once an owner or admin approves it in Settings → API keys. Follow it with GET /v1/change-requests/:id.
Errors
400validation_errorThe body is not JSON, or a field is missing or invalid (details.errors lists each field).400validation_errorThe number is not in the US, Canada or Mexico, or currency is missing for a workspace that doesn't pay in one yet (CURRENCY_REQUIRED).403forbiddenThe key's creator is not an owner or admin, has left the workspace, or number purchases are not enabled for the workspace (details.reason PURCHASES_NOT_ENABLED).409conflictThe workspace already has the number (ALREADY_OWNED), it isn't available (NUMBER_NOT_AVAILABLE: another workspace has it, or the carrier doesn't list it for sale now), an earlier purchase of it is being refunded or reviewed (REFUND_IN_PROGRESS, PURCHASE_IN_REVIEW), the workspace has no billing account or card on file (NO_BILLING_ACCOUNT, NO_PAYMENT_METHOD), pays in another currency (BILLING_CURRENCY_MISMATCH), the price changed (PRICE_CHANGED, with the new price), or a Mexican number has no usable compliance profile (NO_REGULATORY_BUNDLE).503service_unavailableNuTalk doesn't sell numbers in the country right now (PURCHASES_UNAVAILABLE, PRICE_UNAVAILABLE), or the carrier didn't answer whether the number is for sale (CARRIER_UNAVAILABLE: try again in a moment). Nothing is charged.Plus the errors every request can return (401, 403, 429, 500): Errors.
curl -X POST https://www.nutalk.ai/v1/phone-numbers \
-H "Authorization: Bearer $NUTALK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone_number": "+528155550123",
"currency": "mxn",
"monthly_price_cents": 30000
}'{
"success": true,
"data": {
"change_request": {
"id": "3f2b1c9e-6d4a-4e8b-9c1f-2a5d7e9b0c34",
"status": "pending",
"approval": "change",
"operation": "buyPhoneNumber",
"method": "POST",
"path": "/v1/phone-numbers",
"summary": "Buy a phone number (POST /v1/phone-numbers)",
"created_at": "2026-10-23T18:20:05.117+00:00",
"expires_at": "2026-10-24T18:20:05.117+00:00",
"decided_at": null,
"finished_at": null,
"result": null
},
"purchase": {
"phone_number": "+528155550123",
"country": "MX",
"currency": "mxn",
"charged_today_cents": 30000,
"monthly_price_cents": 30000,
"compliance_profile_id": "8f9e6d2c-3b4a-4c5d-8e7f-0a1b2c3d4e5f"
}
},
"message": "Buying a number waits for an owner's or admin's approval in NuTalk: nothing is charged until it is approved. Check it with GET /v1/change-requests/{id}."
}result holds it: the new number. It takes calls once it is on a voice channel; a Mexican number is first reviewed by the carrier (carrier_review).{
"success": true,
"data": {
"id": "2f6d8b0a-4c1e-4f3a-9b5d-7e9f1a3c5b72",
"phone_number": "+528155550123",
"country": "MX",
"type": "purchased",
"status": "active",
"capabilities": {
"voice": true,
"sms": false
},
"receives_calls_on": null,
"billing": {
"included": false,
"monthly_price": {
"amount_cents": 30000,
"currency": "mxn"
},
"next_billing_at": "2026-11-23T18:20:05.000Z"
},
"created_at": "2026-10-23T18:20:05.117+00:00"
}
}