Forum Discussion
Get list of conversations a bot has participated in from BotConnectorAPI
Hello jlincroft ,
Yes, the continuation token is required for the endpoint.GetConversationsAsync method uses the Get Conversations API. This API must be called many times in sequence in order to retrieve all the conversations a bot has participated in.
And can you confirm if you still getting 405 error?
How do I get the continuation token to use in the first request?
Yes, I am still getting 405 errors.
- Vaibhav-MSFTMar 04, 2024Former Employee
jlincroft ,
The continuation token is used to help each call continue where the last one left off. Therefore, the first call needs no continuation token. For each subsequent call, you should use the continuation token from the conversations result returned by the previous call.- jlincroftMar 04, 2024Copper Contributor
So just to be clear, you're saying the continuation token is not required for the first call?
So if I call GET /v3/conversations with a valid access token, I should not be getting 405s? (This is what I'm getting currently)- jlincroftMar 06, 2024Copper Contributor
We found this note in the documentation here (https://learn.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-4.0#conversation-operations). Does this mean we will not be able to use this endpoint to get the list of conversation a bot has participated in for a Microsoft Teams tenant installation?