Try our new Setup Skill to automatically integrate Hyperspell into your project
import Hyperspell from 'hyperspell';
const client = new Hyperspell({
apiKey: process.env['HYPERSPELL_API_KEY'], // This is the default and can be omitted
});
const response = await client.actions.addReaction({
channel: 'channel',
name: 'name',
provider: 'reddit',
timestamp: 'timestamp',
});
console.log(response.provider_response);{
"success": true,
"error": "<string>",
"provider_response": {}
}Add an emoji reaction to a message on a connected integration.
import Hyperspell from 'hyperspell';
const client = new Hyperspell({
apiKey: process.env['HYPERSPELL_API_KEY'], // This is the default and can be omitted
});
const response = await client.actions.addReaction({
channel: 'channel',
name: 'name',
provider: 'reddit',
timestamp: 'timestamp',
});
console.log(response.provider_response);{
"success": true,
"error": "<string>",
"provider_response": {}
}API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.
Add an emoji reaction to a message.
Integration provider (e.g., slack)
reddit, notion, slack, google_calendar, google_mail, box, dropbox, google_drive, github, vault, web_crawler, trace, microsoft_teams, gmail_actions Channel ID containing the message
Message timestamp to react to
Emoji name without colons (e.g., thumbsup)
Connection ID. If omitted, auto-resolved from provider + user.
Was this page helpful?