GET

List Messages


Retrieves messages between the business and participant.

Up to 30 messages are returned per request. If the number of messages in a conversation is larger than 30, pagingMetadata.cursors is returned in the response, indicating that another page of results is available. To retrieve the next page of messages, specify 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 and sorted by sequence in descending order (the most recent messages are first in the list).

Authentication

This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:

Permissions
Read Inbox Messages
Learn more about app permissions.
Method Declaration
Copy
Errors
401Unauthenticated

There are 2 errors with this status code.

404Not Found

There are 2 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?