cURL
curl --request GET \ --url https://api.example.com/v1/sms/phone-numbers/config \ --header 'X-API-Key: <x-api-key>'
{ "success": true, "enabled": true, "max_per_org": 123, "weekly_price": 123 }
Get the tenant’s SMS phone number configuration
false
curl -X GET "https://api.teli.ai/v1/sms/phone-numbers/config" \ -H "X-API-Key: your-api-key"
{ "success": true, "enabled": true, "max_per_org": 10, "weekly_price": 1.50, "powered_by": "Teli" }
{ "success": true, "enabled": false, "max_per_org": 0, "weekly_price": 0, "powered_by": "Teli" }