POST
/
api
/
v1
/
reactions
/
live
Send live reactions
curl --request POST \
  --url https://apix.us.amity.co/api/v1/reactions/live \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "liveStreamId": "<string>",
  "reactions": [
    {
      "referencePublicId": "<string>",
      "referenceType": "<string>",
      "reactionName": "<string>",
      "occurredAt": "2023-11-07T05:31:56Z"
    }
  ]
}'
{
  "reactions": [
    {
      "userId": "<string>",
      "liveStreamId": "<string>",
      "targetId": "<string>",
      "targetType": "user",
      "referencePublicId": "<string>",
      "referenceId": "<string>",
      "referenceType": "post",
      "reactionName": "<string>",
      "occurredAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

List of live reactions to submit.

liveStreamId
string

Live stream ID.

reactions
object[]

List of live reactions to submit.

Response

Live reaction submission response.

reactions
object[]

List of processed live reactions.