quickest-silver•5w ago
URGENT: Cannot create BYO phone numbers
For the last few hours all requests to https://api.vapi.ai/phone-number are returning 400
Example:
Request:
curl -X POST https://api.vapi.ai/phone-number \
-H "Authorization: Bearer REDACTED" \
-H "Content-Type: application/json" \
-d '{
"provider": "byo-phone-number",
"credentialId": "REDACTED",
"numberE164CheckEnabled": false,
"number": "+1REDACTED",
"assistantId": "REDACTED"
}'
Response:
{
"message": "Couldn't Create Phone Number.",
"error": "Bad Request",
"statusCode": 400
}
Extra bug:
API logs in the frontend show status code 201...
2 Replies
quickest-silverOP•5w ago
@Shubham Bajaj @Sahil please have a look
Tried again and it seems to work now
Glad you were able to get this resolved. If anything else comes up or you need further assistance, we’re here to help.