Skip to content
Get started

Log email reply signals

client.userEmails.replySignal(UserEmailReplySignalParams { githubIds, emailReplyBody } body, RequestOptionsoptions?): UserEmailReplySignalResponse { count, success }
POST/users/best-email/signal/reply

Track when users reply to emails. This endpoint logs reply signals for analytics purposes. Does not consume credits. Requires RAW service.

ParametersExpand Collapse
body: UserEmailReplySignalParams { githubIds, emailReplyBody }
githubIds: Array<string>

Array of GitHub node IDs for users who replied (1-100)

emailReplyBody?: string

The body content of the user's reply email

ReturnsExpand Collapse
UserEmailReplySignalResponse { count, success }
count: number

Number of reply signals logged

success: boolean

Whether the signal was logged successfully

Log email reply signals
import Bountylab from '@bountylab/bountylab';

const client = new Bountylab({
  apiKey: process.env['BOUNTYLAB_API_KEY'], // This is the default and can be omitted
});

const response = await client.userEmails.replySignal({ githubIds: ['MDQ6VXNlcjU4MzIzMQ=='] });

console.log(response.count);
{
  "count": 1,
  "success": true
}
Returns Examples
{
  "count": 1,
  "success": true
}