Voiceflow bearer token
curl --request GET \
--url https://realtime-api.voiceflow.com/v1/stable/phone-number \
--header 'Authorization: Bearer <token>'const response = await fetch('https://realtime-api.voiceflow.com/v1/stable/phone-number?projectID=<projectID>&workspaceID=<workspaceID>', {
method: 'GET',
headers: {
Authorization: 'Bearer <token>',
},
});
const data = await response.json();import requests
response = requests.get(
'https://realtime-api.voiceflow.com/v1/stable/phone-number?projectID=<projectID>&workspaceID=<workspaceID>',
headers={'Authorization': 'Bearer <token>'},
)
data = response.json()vf phone-number list --project-id <projectID> --workspace-id <workspaceID>{
"phoneNumbers": [
{
"id": "<string>",
"sms": "<StablePhoneNumberTarget>",
"name": "<string>",
"value": "<string>",
"voice": "<StablePhoneNumberTarget>",
"provider": "<PhoneNumberProvider>",
"workspaceID": "<string>",
"providerResourceID": "<string>",
"createdAt": "2026-09-10T00:00:00.000Z",
"updatedAt": "2026-09-10T00:00:00.000Z"
}
]
}List phone numbers
Returns every phone number of one workspace in one response, or only those assigned to one project, each with the `voice` and `sms` targets it answers as.
Paste in your agent
1. Set up Voiceflow by following https://www.voiceflow.com/agents/setup 2. Read https://www.voiceflow.com/docs/api-reference/phone-number/list-phone-numbers.md — the Voiceflow documentation page "List phone numbers". Use it to help me with this part of Voiceflow and answer my questions. Refer to https://www.voiceflow.com/docs/llms.txt if you need related documentation.
curl --request GET \
--url https://realtime-api.voiceflow.com/v1/stable/phone-number \
--header 'Authorization: Bearer <token>'const response = await fetch('https://realtime-api.voiceflow.com/v1/stable/phone-number?projectID=<projectID>&workspaceID=<workspaceID>', {
method: 'GET',
headers: {
Authorization: 'Bearer <token>',
},
});
const data = await response.json();import requests
response = requests.get(
'https://realtime-api.voiceflow.com/v1/stable/phone-number?projectID=<projectID>&workspaceID=<workspaceID>',
headers={'Authorization': 'Bearer <token>'},
)
data = response.json()vf phone-number list --project-id <projectID> --workspace-id <workspaceID>{
"phoneNumbers": [
{
"id": "<string>",
"sms": "<StablePhoneNumberTarget>",
"name": "<string>",
"value": "<string>",
"voice": "<StablePhoneNumberTarget>",
"provider": "<PhoneNumberProvider>",
"workspaceID": "<string>",
"providerResourceID": "<string>",
"createdAt": "2026-09-10T00:00:00.000Z",
"updatedAt": "2026-09-10T00:00:00.000Z"
}
]
}Authorizations
Query Parameters
Response
200 - application/jsonReturns the phone numbers, each with its name, value, provider, and the voice and sms targets that name the project, environment, and version it is assigned to (null when a side is unassigned).
The matching phone numbers, each with the project, environment and version its voice and sms sides reach.
Show child attributes
Where incoming SMS go, or null when nothing handles SMS on this number.
Show child attributes
The alias of the environment this side of the number reaches (e.g. main). Null in two cases: the number is assigned to the project with no environment pinned, or the environment it was pinned to has since been deleted — version is still whatever the pin asked for, so a null alias beside a non-null version is the second case.
Where incoming calls go, or null when nothing handles calls on this number.
Show child attributes
The alias of the environment this side of the number reaches (e.g. main). Null in two cases: the number is assigned to the project with no environment pinned, or the environment it was pinned to has since been deleted — version is still whatever the pin asked for, so a null alias beside a non-null version is the second case.
Was this page helpful?
Thanks for your feedback.