Assistant Request with Server Side SDK
Good afternoon. Is it possible to use Server Assistant Request when using server-side web SDK?
If i do not pass an assistant ID, it returns back this error to me:
[ERROR] Create call error: Error: API request failed: 400 Bad Request - {"message":"Couldn't Get Assistant. Need Either
I don't see any documentation naratting how i can pass any server-side initiate call attempts to a serverURL the same way we can do it for phone-calling routing.
I would have imagined leaving body empty would do the job.
Or will doing:
"message": {
"type": "assistant-request"
}
to start-call endpoint do the job?
If i do not pass an assistant ID, it returns back this error to me:
[ERROR] Create call error: Error: API request failed: 400 Bad Request - {"message":"Couldn't Get Assistant. Need Either
assistant, assistantId, squad, Or squadId.","error":"Bad Request","statusCode":400I don't see any documentation naratting how i can pass any server-side initiate call attempts to a serverURL the same way we can do it for phone-calling routing.
I would have imagined leaving body empty would do the job.
Or will doing:
"message": {
"type": "assistant-request"
}
to start-call endpoint do the job?