calls hang-up mid conversation. I've tried severa...
# support
b
0e709be1-ecf7-4cde-8028-8a53add72f3d
s
Hey Brian, your assistant is using end call phrases, and because of this, during the call when your assistant says either of the end call phrases, it hangs up the call. Below I am sharing an API request which removes the end call phrases from your assistant. Make a patch request to get it removed, and after that, it will work as you are expected.
To remove the
endCallPhrases
field from an assistant, you would use the PATCH endpoint to update the assistant, setting the field to null. This indicates to the API that you want to remove this value from the database. Here's the API request to remove the endCallPhrases (call phrases) from an assistant: \`\`\`http PATCH /assistant/{id} Content-Type: application/json Authorization: Bearer <your_api_token> { "endCallPhrases": null } \`\`\` Replace
{id}
with the actual ID of your assistant. The code in the repository shows that setting these fields to null in the update request will result in them being removed from the database, as indicated by this comment:
null values are necessary and indicate that the api should remove that value from the DB
.
2 Views