cURL
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>" }'
{ "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" }
Purchase a phone number for your organization.
The phone number to purchase
Successful Response
Show child attributes
Was this page helpful?