Mornz
09/05/2025, 2:40 PMDev
09/05/2025, 2:59 PMMornz
09/05/2025, 3:00 PMChiranjeet Mishra
09/08/2025, 2:35 PMhttps://api.vapi.ai/phone-number with the necessary headers and data. Here's a sample cURL command for creating a phone number:
bash
curl -X POST https://api.vapi.ai/phone-number \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"provider": "byo-phone-number",
"credentialId": "string"
}'
Ensure you replace <token> with your actual authentication token and fill in the required fields such as credentialId. For more details, you can refer to the [Create Phone Number documentation](https://docs.vapi.ai/api-reference/phone-numbers/create).Mornz
09/08/2025, 10:48 PMChiranjeet Mishra
09/10/2025, 7:13 PMJoshua
02/06/2026, 10:02 PMChiranjeet Mishra
02/10/2026, 4:14 AM