Hi, I'm using the "create a new conversation" endpoint to "pre-create" conversations with data coming from different data points. Using that I could re-create the URL of the conversations. It was working fine until today. Now :
I got an error saying that I'm not the one that started the conversation (screenshot attached bellow)
It asks me which assistant I want to use even though I've specified the ID of the assistant I want to use
If anyone has insights ! 🙂
Hi Colin. Are you sure that you correctly specified the agent when creating the conversation via API? What does the body of your request look like? Note that the part about you not being the owner is expected, since the identity when using an API token is different from your personal identity. But let's focus on the missing agent.
So I have a possible guess as to what your problem might be. In your Create Conversation request, the "configurationId" needs to be the agent's ID, and not its name. To get the ID, got to the Manage Agents UI, and click the ... at the end of the agent's line, then choose "Copy agent ID".
For the authentification, adding the field email resolves it. As for the agent, I did put the ID and not the name. It was working fine and changed recently. It's not that big of an issue though. Thanks for the help !
Any chance that your agent was rebuilt? It may have the same friendly name, but would have a different ID. Worth double checking!