Skip to main content
PATCH
/
messages
/
{message_uid}
/
reactions
Update reactions for a message.
curl --request PATCH \
  --url https://app.timelines.ai/integrations/api/messages/{message_uid}/reactions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reaction": "๐Ÿ‘"
}
'
{
  "status": "ok",
  "data": {
    "message_uid": "<string>"
  }
}

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.

Body

application/json

A JSON describing reactions to add or remove.

reaction
string
required

Empty string: clear callerโ€™s reaction. A single emoji character. A Unicode escape sequence representing a single emoji (for example "\uD83D\uDC4D").

Example:

"๐Ÿ‘"

Response

Success

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

"ok"

data
object