Is there paging with the function postConversationsMessageMessagesBulk (
/api/v2/conversations/messages/{conversationId}/messages/bulk)? I see a pageCount and nextUri returned in the response, but I do not see how to pass a page in the body of the request. I have confirmed that 50+ messages are returned by the initial request, but do not see if there is a limit or paging in the documentation.
Thanks.
Hi Cole,
I chatted with the development team. Here is the long and short of it.
-
The endpoint should not be returning pagination information. The team reused an existing object when they built their API definitions that was paginated and this automatically generated the pagination information created. The development team has opened a bug ticket to fix this in the long term.
-
The value returned is a list of message ids and will contain all message ids associated with the conversation. So when you call the endpoint you are getting everything and you should be able to grab all the ids in bulk using the endpoint.
Sorry for the confusion. I hope that helps.
Thanks,
John Carnell
Manager, Developer Engagement
Thanks John. That makes perfect sense.
Cole Pate