POST

Query Messages


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of up to 1,000 messages in a conversation, given the provided paging and sorting.

The response includes the in-flight assistant turn when its status is WORKING. To track the assistant's response, poll this method after calling Send Message.

Query Messages runs with these defaults, which you can override:

  • createdDate is sorted in ASC order
  • paging.limit is 50

To learn about working with Query methods, see API Query Language, Sorting and Paging, and Field Projection.

Endpoint
POST
https://www.wixapis.com/containers/chat/v1/conversations/{conversationId}/messages/query

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?