The Crisp docs mention that by not passing sessions to the Batch Resolve API call, all of the sessions for the website will be resolved.
Unfortunately, there is no way to do that with the current Crisp Go SDK, as it will always pass the sessions key, which will result in a 400 from the Crisp API.
I tried client.Website.BatchResolveConversations(websiteID, []string{}) and client.Website.BatchResolveConversations(websiteID, nil), both return 400s
The Crisp docs mention that by not passing
sessions
to the Batch Resolve API call, all of the sessions for the website will be resolved.Unfortunately, there is no way to do that with the current Crisp Go SDK, as it will always pass the
sessions
key, which will result in a 400 from the Crisp API.I tried
client.Website.BatchResolveConversations(websiteID, []string{})
andclient.Website.BatchResolveConversations(websiteID, nil)
, both return 400s