Skip to main content
GET
/
messages
/
{message_uid}
Get the details of a message specified by the message's UID.
curl --request GET \
  --url https://app.timelines.ai/integrations/api/messages/{message_uid} \
  --header 'Authorization: Bearer <token>'
{
  "status": "ok",
  "data": {
    "uid": "de919486-0c93-409d-ae66-c2bbb544faca",
    "chat_id": "1000001",
    "timestamp": "2023-06-18 15:19:23 +0300",
    "sender_phone": "+972540000001",
    "sender_name": "John Doe",
    "recipient_phone": "+972540000002",
    "recipient_name": "Kate Smith",
    "from_me": true,
    "status": "Read",
    "origin": "Public API",
    "has_attachment": true,
    "message_type": "Note",
    "data": {
      "key1": "value1",
      "key2": "value2"
    },
    "created_by": "Kate Smith",
    "text": "Hello, Kate๐Ÿ‘",
    "attachment_url": "https://acme.com/logo.png",
    "attachment_filename": "logo.png",
    "reactions": {
      "๐Ÿ‘": "2",
      "โค๏ธ": "5"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

message_uid
string
required

a UID of a message, that is unique for TimelinesAI workspace. Can be used to lookup a message or its sending status.

Response

Success

status
enum<string>
required
Available options:
ok,
error
Example:

"ok"

data
object
required