Retrieve a list of threads

Fetches a list of threads using the Flow REST API.

Details

A thread represents a conversation. To retrieve a list of threads, use a GET request. The request is limited to 20 entries, but it supports pagination to access more entries by including a page parameter.

GET rest/v1/threads?sync=true&page=1 HTTP/1.1
Host: api.flow.ai
Content-Type: application/json
Authorization: MY_MESSAGING_API_KEY
Path Params
string
required

A list of threads

Query Params
string

Optional parameter for enabling sync mode

int32
required

Required parameter for pagination

Response

Language
Request
Response
Choose an example:
application/json