GET
/
message
/
{thread_id}
curl --request GET \
  --url https://api.altur.io/api/v1.0/message/{thread_id} \
  --header 'Authorization: <api-key>'
[
  {
    "thread_id": "<string>",
    "type": "text",
    "content": "<string>",
    "media": "<string>",
    "sent_by": "AI",
    "sent_by_user": "<string>",
    "sent_at": "2023-11-07T05:31:56Z",
    "read": true
  }
]

Authorizations

Authorization
string
header
required

Add api-key YOUR_API_SECRET_KEY as the value of the Authorization header.

Path Parameters

thread_id
string
required

The identifier of the Thread to fetch

Response

200
application/json

Array containing all Messages in the Thread

The response is of type object[].