Phone Numbers
Search for local numbers by prefix
API Documentation
Authorization
Agents
Phone Numbers
SIP
Messaging
Knowledge
Accounts
Billing
Phone Numbers
Search for local numbers by prefix
Search for a phone number based on prefix.
POST
/
api
/
v2
/
phoneNumber
/
search
/
local
/
prefix
curl --request POST \
--url https://api.vida.dev/api/v2/phoneNumber/search/local/prefix \
--header 'Content-Type: application/json' \
--data '{
"prefix": "216",
"country": "US",
"strict": true
}'
{
"success": true,
"message": "Success"
}
Authorizations
Vida API Token
Body
application/json
Response
200
application/json
Successfully retrieved available numbers
The response is of type object
.
curl --request POST \
--url https://api.vida.dev/api/v2/phoneNumber/search/local/prefix \
--header 'Content-Type: application/json' \
--data '{
"prefix": "216",
"country": "US",
"strict": true
}'
{
"success": true,
"message": "Success"
}