GET
/
messages

Query Parameters

interaction_id
string
required

The unique identifier of the interaction

limit
string | null

Used to specify the maximum number of objects that can be returned. Must be an integer ranging from 1 to 100. Defaults to 20.

starting_after
string | null

A pagination cursor parameter that takes an object ID as a value. This indicates the position of the list where you want to start fetching the data. For example, if your first request returns 100 objects ending with obj_100, you can use starting_after=obj_100 in your subsequent API call to retrieve the next page of the list.

Response

200 - application/json
data
object[]
required
has_more
boolean
required

Whether the database has more items after this list. If true, then you can send more paginated requests to exhaust the remaining items.