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.

The body is of type object.

Response

202
application/json

Live reaction submission response.

The response is of type object.