This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves messages between the business and participant.
Up to 30 messages are returned per request.
If the number of messages is larger than the returned page,
pagingMetadata.cursors
is returned in the response,
indicating that another page of results is available.
To retrieve the next page,
pass the next
cursor value
in the next request's paging.cursor
parameter.
To ensure you'll always retrieve the next record, use the same visibility and sorting in the first request and all subsequent requests.
By default,
30 messages are retrieved,
sorted by sequence
in descending order
(the most recent messages are first in the list).
You can only call this method when authenticated as a Wix app or Wix user identity.