Hail API
POST
/numbers

Header Parameters

authorization?string|null
Idempotency-Key?string|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/numbers" \  -H "Content-Type: application/json" \  -d '{    "country_code": "st"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "e164": "string",  "country_code": "string",  "number_type": "string",  "capabilities": [    "string"  ],  "provisioning_state": "string",  "is_dedicated": true,  "messaging_service_sid": "string"}