Bonusly

App · 17 actions

Give recognition and look up bonuses, users, achievements and rewards.

Actions

ActionWhat it does
Delete a bonusArchives a bonus (soft delete).
Find usersReturns up to limit (default 20) users matching search.
Get a bonusReturns a single bonus by id, scoped to the authenticated user's company.
Get a redemptionReturns a single redemption by ID, scoped to the authenticated user's company.
Get a userReturns a single user by id, scoped to the authenticated user's company.
Get the companyReturns the authenticated user's company.
Get the connected userReturns the authenticated user.
Give a bonusCreates a bonus.
List achievementsReturns the 50 most recent achievements earned by users in the authenticated user's company.
List achievements for a userRequires a token with the recognition:read or recognition:administer scope.
List bonusesReturns a paginated list of bonuses for the authenticated user's company.
List bonuses for a userRequires a token with the recognition:read or recognition:administer scope.
List custom reward redemptionsReturns rewards redeemed for items in the company's custom catalog (e.g. branded swag, in-house perks).
List fulfilled redemptionsReturns fulfilled redemptions for the authenticated admin's company, newest first.
List redemptions for a userRequires a token with the rewards:read or rewards:administer scope.
List usersReturns a paginated list of users in the authenticated user's company.
Update a bonusUpdates the reason of an existing bonus.

Delete a bonus

Archives a bonus (soft delete).

Inputs

Bonus IDbonus_idtextRequired
BSON ObjectId of the bonus.

Outputs

dataobject
The response from delete a bonus.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": {
      "message": "example"
    },
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

Find users

Returns up to limit (default 20) users matching search.

Inputs

SearchsearchtextRequired
Search query (matches display name, username, email).
Limitlimitnumber
Max number of results to return.At least 1.
Include non receivableinclude_non_receivabletrue/false
When true, include users whose can_receive is false.

Outputs

dataobject
The response from find users.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": [
      {
        "can_receive": true,
        "display_name": "example",
        "email": "example",
        "full_pic_url": "example",
        "id": "example",
        "profile_pic_url": "example",
        "user_mode": "normal",
        "username": "example"
      }
    ],
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

Get a bonus

Returns a single bonus by id, scoped to the authenticated user's company.

Inputs

Bonus IDbonus_idtextRequired
BSON ObjectId of the bonus.
Include childreninclude_childrentrue/false
When true, include the full child_bonuses array (instead of just child_count).

Outputs

dataobject
The response from get a bonus.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": {
      "amount": 1,
      "amount_with_currency": "example",
      "child_bonuses": [],
      "child_count": 1,
      "created_at": "2026-11-18T12:00:00Z",
      "editable_until": "2026-11-18T12:00:00Z",
      "family_amount": 1,
      "giver": {},
      "hashtag": "example",
      "id": "example",
      "initiator": {},
      "parent_bonus_id": "example",
      "reason": "example",
      "reason_decoded": "example",
      "reason_html": "example",
      "receiver": {},
      "receivers": [],
      "value": "example",
      "via": "example"
    },
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

Get a redemption

Returns a single redemption by ID, scoped to the authenticated user's company.

Inputs

Redemption IDredemption_idtextRequired
BSON ObjectId of the redemption.

Outputs

dataobject
The response from get a redemption.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": {
      "auto_approvable": true,
      "catalog_item_id": "example",
      "certificate_url": "example",
      "claim_url": "example",
      "created_at": "2026-11-18T12:00:00Z",
      "id": "example",
      "reward_details": {},
      "state": "example"
    },
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

Get a user

Returns a single user by id, scoped to the authenticated user's company.

Inputs

Membermember_idtextRequired
BSON ObjectId of the user.

Outputs

dataobject
The response from get a user.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": {
      "admin": true,
      "all_usernames": [],
      "budget_boost": 1,
      "can_give": true,
      "can_receive": true,
      "client_ids": {},
      "cost_center": "example",
      "country": "example",
      "created_at": "2026-11-18T12:00:00Z",
      "custom_properties": {},
      "display_name": "example",
      "earning_balance": 1,
      "earning_balance_with_currency": "example",
      "email": "example",
      "external_unique_id": "example",
      "first_name": "example",
      "full_name": "example",
      "full_pic_url": "example",
      "give_amounts": [],
      "giving_balance": 1,
      "giving_balance_with_currency": "example",
      "hired_on": "2026-11-18",
      "id": "example",
      "intercom_id": "example",
      "last_active_at": "2026-11-18T12:00:00Z",
      "last_name": "example",
      "lifetime_earnings": 1,
      "lifetime_earnings_with_currency": "example",
      "manager_email": "example",
      "path": "example",
      "preferred_first_name": "example",
      "profile_pic_url": "example",
      "short_name": "example",
      "status": "example",
      "suggested_give_amounts": [],
      "super_admin": true,
      "time_zone": "example",
      "user_mode": "normal",
      "username": "example"
    },
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

Get the company

Returns the authenticated user's company.

Inputs

None.

Outputs

dataobject
The response from get the company.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": {
      "brand_color": "example",
      "budget": {},
      "catalog_countries": [],
      "company_hashtags": [],
      "custom_user_properties": [],
      "example_reason": "example",
      "give_amounts": [],
      "hashtagging_mode": "example",
      "id": "example",
      "name": "example",
      "show_bonus_amounts": true,
      "valid_billing_information": true
    },
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

Get the connected user

Returns the authenticated user.

Inputs

None.

Outputs

dataobject
The response from get the connected user.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": {
      "admin": true,
      "all_usernames": [],
      "budget_boost": 1,
      "can_give": true,
      "can_receive": true,
      "client_ids": {},
      "cost_center": "example",
      "country": "example",
      "created_at": "2026-11-18T12:00:00Z",
      "custom_properties": {},
      "display_name": "example",
      "earning_balance": 1,
      "earning_balance_with_currency": "example",
      "email": "example",
      "external_unique_id": "example",
      "first_name": "example",
      "full_name": "example",
      "full_pic_url": "example",
      "give_amounts": [],
      "giving_balance": 1,
      "giving_balance_with_currency": "example",
      "hired_on": "2026-11-18",
      "id": "example",
      "intercom_id": "example",
      "last_active_at": "2026-11-18T12:00:00Z",
      "last_name": "example",
      "lifetime_earnings": 1,
      "lifetime_earnings_with_currency": "example",
      "manager_email": "example",
      "path": "example",
      "preferred_first_name": "example",
      "profile_pic_url": "example",
      "short_name": "example",
      "status": "example",
      "suggested_give_amounts": [],
      "super_admin": true,
      "time_zone": "example",
      "user_mode": "normal",
      "username": "example"
    },
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

Give a bonus

Creates a bonus.

Inputs

ReasonreasontextRequired
Reason.
Giver emailgiver_emailtext
Giver email.
Giver IDgiver_idtext
Giver ID.
Initiator emailinitiator_emailtext
Initiator email.
Parent bonus IDparent_bonus_idtext
Parent bonus ID.
Privacyprivacytext
Privacy.One of: publicly_visible, privately_visible, immediate_team.

Outputs

dataobject
The response from give a bonus.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": {
      "amount": 1,
      "amount_with_currency": "example",
      "child_bonuses": [],
      "child_count": 1,
      "created_at": "2026-11-18T12:00:00Z",
      "editable_until": "2026-11-18T12:00:00Z",
      "family_amount": 1,
      "giver": {},
      "hashtag": "example",
      "id": "example",
      "initiator": {},
      "parent_bonus_id": "example",
      "reason": "example",
      "reason_decoded": "example",
      "reason_html": "example",
      "receiver": {},
      "receivers": [],
      "value": "example",
      "via": "example"
    },
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

List achievements

Returns the 50 most recent achievements earned by users in the authenticated user's company.

Inputs

None.

Outputs

dataobject
The response from list achievements.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": [
      {
        "achievement_type_key": "example",
        "bonus_id": "example",
        "created_at": "2026-11-18T12:00:00Z",
        "deactivated_at": "2026-11-18T12:00:00Z",
        "hashtag": "example",
        "headline": "example",
        "id": "example",
        "importance": 1,
        "scope": {},
        "title": "example",
        "user": {}
      }
    ],
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

List achievements for a user

Requires a token with the recognition:read or recognition:administer scope.

Inputs

Membermember_idtextRequired
Member ID.

Outputs

dataobject
The response from list achievements for a user.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": [],
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

List bonuses

Returns a paginated list of bonuses for the authenticated user's company.

Inputs

Limitlimitnumber
Number of bonuses to retrieve (min: 1, max: 100).From 1 to 100.
Skipskipnumber
Number of bonuses to skip, for pagination (min: 0).At least 0.
Start timestart_timedate and time
ISO8601 lower bound on bonus created_at (inclusive).
End timeend_timedate and time
ISO8601 upper bound on bonus created_at (inclusive).
Previous hoursprevious_hoursnumber
Shorthand for start_time, restricts to bonuses created in the last N hours.
Giver emailgiver_emailtext
Filter to bonuses given by the user with this email.
Receiver emailreceiver_emailtext
Filter to bonuses received by the user with this email.
User emailuser_emailtext
Filter to bonuses where this user is either giver or receiver.
Hashtaghashtagtext
Filter to bonuses tagged with this hashtag.
Relevantrelevanttrue/false
When true, filter to bonuses involving the authenticated user or their most-relevant colleagues.
Non zeronon_zerotrue/false
When true, exclude zero-amount bonuses (e.g. add-ons).
Exclude archivedexclude_archivedtrue/false
When true, exclude archived bonuses.
Include childreninclude_childrentrue/false
When true, include the full child_bonuses array on each parent (instead of just child_count).
Show private bonusesshow_private_bonusestrue/false
When true, include private bonuses the authenticated user can see (admin-only).

Outputs

dataobject
The response from list bonuses.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": [
      {
        "amount": 1,
        "amount_with_currency": "example",
        "child_bonuses": [],
        "child_count": 1,
        "created_at": "2026-11-18T12:00:00Z",
        "editable_until": "2026-11-18T12:00:00Z",
        "family_amount": 1,
        "giver": {},
        "hashtag": "example",
        "id": "example",
        "initiator": {},
        "parent_bonus_id": "example",
        "reason": "example",
        "reason_decoded": "example",
        "reason_html": "example",
        "receiver": {},
        "receivers": [],
        "value": "example",
        "via": "example"
      }
    ],
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

List bonuses for a user

Requires a token with the recognition:read or recognition:administer scope.

Inputs

Membermember_idtextRequired
Member ID.
Limitlimitnumber
Limit.At least 1.
Skipskipnumber
Skip.At least 0.
Start timestart_timedate and time
Start time.
End timeend_timedate and time
End time.
Hashtaghashtagtext
Hashtag.
Include childreninclude_childrentrue/false
Include children.
Roleroletext
'giver' or 'receiver'.

Outputs

dataobject
The response from list bonuses for a user.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": [],
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

List custom reward redemptions

Returns rewards redeemed for items in the company's custom catalog (e.g. branded swag, in-house perks).

Inputs

Limitlimitnumber
Number of records to retrieve (min: 1, max: 100).From 1 to 100.
Skipskipnumber
Number of records to skip, for pagination (min: 0).At least 0.
Statestatetext
Filter by state.One of: new, approved, fulfilled.
Fulfillment partnerfulfillment_partnertext
Filter by fulfillment_partner.

Outputs

dataobject
The response from list custom reward redemptions.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": [
      {
        "amount_in_points": 1,
        "approved_date": "2026-11-18T12:00:00Z",
        "categories": [],
        "claim_date": "2026-11-18T12:00:00Z",
        "color": "example",
        "fulfilled_date": "2026-11-18T12:00:00Z",
        "fulfillment_partner": "example",
        "id": "example",
        "name": "example",
        "shipping_address": "example",
        "size": "example",
        "state": "example",
        "user_email": "example",
        "user_id": "example"
      }
    ],
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

List fulfilled redemptions

Returns fulfilled redemptions for the authenticated admin's company, newest first.

Inputs

Limitlimitnumber
Number of redemptions to retrieve (min: 1, max: 100).From 1 to 100.
Skipskipnumber
Number of redemptions to skip, for pagination (min: 0).At least 0.

Outputs

dataobject
The response from list fulfilled redemptions.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": [
      {
        "amount_in_points": 1,
        "amount_in_usd": "example",
        "categories": [],
        "giftee_email": "example",
        "id": "example",
        "title": "example",
        "user_email": "example",
        "user_id": "example"
      }
    ],
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

List redemptions for a user

Requires a token with the rewards:read or rewards:administer scope.

Inputs

Membermember_idtextRequired
Member ID.
Limitlimitnumber
Limit.At least 1.
Skipskipnumber
Skip.At least 0.

Outputs

dataobject
The response from list redemptions for a user.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": [],
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

List users

Returns a paginated list of users in the authenticated user's company.

Inputs

Limitlimitnumber
Number of users to retrieve (min: 1, max: 100).From 1 to 100.
Skipskipnumber
Number of users to skip, for pagination (min: 0).At least 0.
Emailemailtext
Filter to users whose email contains this substring (case-insensitive).
Sortsorttext
Sort by one of created_at, last_active_at, display_name, first_name, last_name, email, country, time_zone.One of: created_at, last_active_at, display_name, first_name, last_name, email, country, time_zone.
Include archivedinclude_archivedtrue/false
When true, include deactivated users.
Show financial datashow_financial_datatrue/false
When true and the requester is an admin, include earning_balance / lifetime_earnings / giving_balance in each user.
User modeuser_modelist
Only include users with these modes.One or more of: normal, observer, receiver, benefactor, bot.

Outputs

dataobject
The response from list users.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": [
      {
        "admin": true,
        "all_usernames": [],
        "budget_boost": 1,
        "can_give": true,
        "can_receive": true,
        "client_ids": {},
        "cost_center": "example",
        "country": "example",
        "created_at": "2026-11-18T12:00:00Z",
        "custom_properties": {},
        "display_name": "example",
        "earning_balance": 1,
        "earning_balance_with_currency": "example",
        "email": "example",
        "external_unique_id": "example",
        "first_name": "example",
        "full_name": "example",
        "full_pic_url": "example",
        "give_amounts": [],
        "giving_balance": 1,
        "giving_balance_with_currency": "example",
        "hired_on": "2026-11-18",
        "id": "example",
        "intercom_id": "example",
        "last_active_at": "2026-11-18T12:00:00Z",
        "last_name": "example",
        "lifetime_earnings": 1,
        "lifetime_earnings_with_currency": "example",
        "manager_email": "example",
        "path": "example",
        "preferred_first_name": "example",
        "profile_pic_url": "example",
        "short_name": "example",
        "status": "example",
        "suggested_give_amounts": [],
        "super_admin": true,
        "time_zone": "example",
        "user_mode": "normal",
        "username": "example"
      }
    ],
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

Update a bonus

Updates the reason of an existing bonus.

Inputs

Bonus IDbonus_idtextRequired
BSON ObjectId of the bonus.
ReasonreasontextRequired
Reason.

Outputs

dataobject
The response from update a bonus.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": {
      "amount": 1,
      "amount_with_currency": "example",
      "child_bonuses": [],
      "child_count": 1,
      "created_at": "2026-11-18T12:00:00Z",
      "editable_until": "2026-11-18T12:00:00Z",
      "family_amount": 1,
      "giver": {},
      "hashtag": "example",
      "id": "example",
      "initiator": {},
      "parent_bonus_id": "example",
      "reason": "example",
      "reason_decoded": "example",
      "reason_html": "example",
      "receiver": {},
      "receivers": [],
      "value": "example",
      "via": "example"
    },
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

On this page