cURL
curl --request GET \ --url https://api.zerobot.ai/v1/threads/{thread_id}/messages \ --header 'Authorization: Bearer <token>'
{ "messages": [ {} ] }
Returns a list of messages for a given thread.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The id of the thread to retrieve messages for.
Successful response