Squads: Can’t Update Phone Number
# support
v
message has been deleted
@Tarek Maximus Hello! How can I assist you today with VAPI? If you have any questions or need support with voice development, feel free to ask!
You can continue this conversation by mentioning me in the message.
t
Tried a few id’s after sending new requests but still same issue Checked everything Unable to update phone number and move forward with build Please advise. Thank you { "squad": { "members": [ { "assistantId": "95f52c41-cdd7-47a0-9e4e-235e6486a858", "assistantDestinations": [ { "type": "assistant", "assistantName": "Customer Service Assistant", "message": "Please hold on while I transfer you to our live customer service team.", "description": "If the customer needs help with an auto glass replacement or repair for their vehicle." } ] }, { "assistantId": "f1d012a9-9769-4121-841a-f81ed34a0488", "assistantDestinations": [ { "type": "assistant", "assistantName": "Receptionist", "message": "Give me a moment to transfer you back to our receptionist agent.", "description": "If the customer has questions unrelated to booking an appointment for an auto glass replacement or reoair for their vehicle." } ] } ] }, "customer": { "number": "+12029371845" }, "phoneNumberId": "cea89209-e801-4221-ae52-1d008f080877" }
STATUS 201 { "id": "13cea8b7-adf6-4d24-9f58-57a8f1c03720", "phoneNumberId": "cea89209-e801-4221-ae52-1d008f080877", "type": "outboundPhoneCall", "createdAt": "2024-07-22T18:37:02.116Z", "updatedAt": "2024-07-22T18:37:02.116Z", "orgId": "d03f4110-2c05-4ec7-8244-3582a39ccbbd", "cost": 0, "customer": { "number": "+12029371845" }, "status": "queued", "phoneCallProvider": "twilio", "phoneCallProviderId": "CA0ac447ffabd1f2ff57e1a550317d9dab", "phoneCallTransport": "pstn", "squad": { "members": [ { "assistantId": "95f52c41-cdd7-47a0-9e4e-235e6486a858", "assistantDestinations": [ { "message": "Please hold on while I transfer you to our live customer service team.", "description": "If the customer needs help with an auto glass replacement or repair for their vehicle.", "type": "assistant", "assistantName": "Customer Service Assistant" } ] }, { "assistantId": "f1d012a9-9769-4121-841a-f81ed34a0488", "assistantDestinations": [ { "message": "Give me a moment to transfer you back to our receptionist agent.", "description": "If the customer has questions unrelated to booking an appointment for an auto glass replacement or reoair for their vehicle.", "type": "assistant", "assistantName": "Receptionist" } ] } ] } }
UPDATE PHONE NUMBER Postman request { "squadId": "13cea8b7-adf6-4d24-9f58-57a8f1c03720" } Returns { "message": "Couldn't Find Squad.", "error": "Bad Request", "statusCode": 400 } curl --request PATCH \ --url https://api.vapi.ai/phone-number/cea89209-e801-4221-ae52-1d008f080877 \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{ "squadId": "13cea8b7-adf6 -4d24-9f58-57a8f1c03720" }' API omitted
v
Got it. Tagging @User for additional help.
s
yout sqaud id is incorrect please use correct squad id.
t
Ok, the request returns the squad id after clicking send. What am I doing wrong? I’m following this tutorial for Vapi squad call centre, so far had to remove 2 members to get the request to pass now it has another issue.

https://youtu.be/V308U_5syiA?si=qKeqZTHtTuZ8pYMt

@ 43:30
2 Views