Numbers
Buy Number
Purchase a phone number for your organization.
POST
/
numbers
/
buy
Copy
curl --request POST \
--url https://api.prod.usesimple.ai/api/v1/numbers/buy \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"phone_number": "<string>"
}'
Copy
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"friendly_name": "<string>",
"area_code": "<string>",
"country": "<string>",
"agent": {
"id": 123,
"name": "<string>",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Authorizations
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
Copy
curl --request POST \
--url https://api.prod.usesimple.ai/api/v1/numbers/buy \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"phone_number": "<string>"
}'
Copy
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"friendly_name": "<string>",
"area_code": "<string>",
"country": "<string>",
"agent": {
"id": 123,
"name": "<string>",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Assistant
Responses are generated using AI and may contain mistakes.