cURL
curl --request POST \ --url https://api.prod.usesimple.ai/api/v1/numbers/buy_number \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "phone_number": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "number": "<string>", "friendly_name": "<string>", "area_code": "<string>", "country": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "agent": { "id": 123, "name": "<string>", "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
Purchase a phone number for your organization.
The phone number to purchase
Successful Response
Show child attributes
Was this page helpful?