ServerUrl call to attach existing squad to a phone...
# support
e
Dear Team, I am trying to attach to a phonenumber an exisitng squad using maek.com autoamtiion in rode rto hanlde the first message dynamically. The probelm is that, even starting with static confg I cannot make ti work( despite having tested the same path with one only assistant Here the response I am giving back to serverurl assistant request call { "squad":{ "members": [ { "assistantId": "082aac9a-489d-43f4-8426-4cfb7fc86135", "assistantDestinations": [ .... },{} ] } }
v
@estrososcreed Hello! It seems like you're trying to configure a squad with multiple assistants to handle messages dynamically using an automation on maek.com. To assist you better, I would need a bit more information about the specific issue you're encountering. Could you please provide more details about the error or problem you're facing? Are you receiving any error messages when you try to attach the squad to the phone number, or is the squad not behaving as expected when messages are received? Additionally, please ensure that the
assistantId
values you're using are correct and that the
assistantDestinations
array is properly configured with the necessary information for each assistant. If you can provide more context or clarify the issue, I'll do my best to help you resolve it.
You can continue this conversation by mentioning me in the message.
e
this is the callid id": "24a1c057-7b13-43de-9a27-30df13c13f89",
s
@estrososcreed can you please share your complete request-assistant json response with values truncated?
the shared call id is not correct.
@Shubham Bajaj Hello, here you can find the first call to serverurl, then the answer I provide and at the end the second call from vapi with the error
What I am trying to achieve for this specifc use case it's simply to raise a squad from a serverurl assistant-request so that , after making it work, i can dynamically change the first message
s
- make sure return type is json not string - if json type then create a squad using the API and try returning squadId
e
Fianlly i make it work, also using sqaudId. thanks for the help
3 Views