curl --request GET \
--url https://api.sakari.io/v1/accounts/{accountId}/availablephonenumbers \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": [
{
"country": "<string>",
"number": "<string>",
"price": "<string>",
"type": "<string>",
"features": [
"<string>"
]
}
]
}
curl --request GET \
--url https://api.sakari.io/v1/accounts/{accountId}/availablephonenumbers \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": [
{
"country": "<string>",
"number": "<string>",
"price": "<string>",
"type": "<string>",
"features": [
"<string>"
]
}
]
}
The access token received from the authorization server in the OAuth 2.0 flow.
Account to apply operations to
Country in question
Phone number type
Postal code for Number
Features for phone number
What should be in the string
Area Code for phone number
successful operation
The response is of type object
.