Retrieve a list of messages

Fetches a list of messages using the Flow REST API.

Details

Use a GET request to retrieve the messaging history for a specific threadId. Each request is limited to 20 entries, but it supports pagination to access more entries by including a page parameter.

GET rest/v1/messages/EXAMPLE-853a-448f-9f91-ef397588ff87?sync=true&page=3&events=true HTTP/1.1 Host: api.flow.ai Content-Type: application/json Authorization: MY_MESSAGING_API_KEY
Path Params
string
required

A unique identifier of the thread. This is a required field.

Query Params
string

Optional parameter for enabling sync mode.

int32

Optional parameter for pagination

boolean

Optional parameter to enable to retrieve the history of triggered events. Default value is false

Response

Language
Request
Choose an example:
application/json