Skip to main content
Node.js

Authorizations

Authorization
string
header
required

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

Headers

x-phone
string

Optional. The phone to scope this request to — in country code + number format with no spaces or special characters (e.g. 919876543210), or the phone_id (phone-xxxxxxxxxxxx). When set, only reactions for that phone are returned. When omitted, reactions are returned — across all phones your token can access (the phones in your token's scope, or every phone in your organization if the token is unscoped). Passing a phone that is outside your token's scope returns a 401.

Example:

"{{orgPhone}}"

Query Parameters

chat_id
string

Use this option to fetch reactions of a specific chat.

  • For groups, enter the chat_id of the group. This will be a string that ends with @g.us
  • For 1-1 chats, enter the country_code + number of the recipient e.g. 919537851844@c.us (The @c.us is optional)
Example:

"9184090XXXXX@c.us"

message_id
string

Use this option to fetch reactions of a specific message.

  • The message_id is a unique ID of a WA message on Periskope
Example:

"true_9184090XXXXX@c.us_3D023C13C1487916ED112C671C348635"

offset
number
  • The offset value for paginating the results
  • Default 0
Example:

"0"

limit
number
  • The maximum number of reactions to retrieve
  • Default 500
Example:

"10"

start_time
string
  • Filter for all reactions from the start_time timestamp onwards
Example:

"2025-04-25 or 2025-04-25T00:00:00Z"

end_time
string
  • Filter for all reactions up to the end_time timestamp
Example:

"2025-04-31 or 2025-04-31T23:59:59Z"

Response

200 - application/json

Reaction

from
number

The starting index of the reactions returned

Example:

1

to
number

The ending index of the reactions returned

Example:

10

start_time
string

The start_time of the reactions returned. The format should be YYYY-MM-DDTHH:MM:SSZ

Example:

"2025-08-15T00:00:00Z"

end_time
string

The end_time of the reactions returned. The format should be YYYY-MM-DDTHH:MM:SSZ

Example:

"2025-08-15T23:59:59Z"

count
number

The total number of reactions returned

Example:

10

reactions
array

An array of reaction objects. Refer to the reaction object here