Bonusly
App · 17 actions
Give recognition and look up bonuses, users, achievements and rewards.
Actions
| Action | What it does |
|---|---|
| Delete a bonus | Archives a bonus (soft delete). |
| Find users | Returns up to limit (default 20) users matching search. |
| Get a bonus | Returns a single bonus by id, scoped to the authenticated user's company. |
| Get a redemption | Returns a single redemption by ID, scoped to the authenticated user's company. |
| Get a user | Returns a single user by id, scoped to the authenticated user's company. |
| Get the company | Returns the authenticated user's company. |
| Get the connected user | Returns the authenticated user. |
| Give a bonus | Creates a bonus. |
| List achievements | Returns the 50 most recent achievements earned by users in the authenticated user's company. |
| List achievements for a user | Requires a token with the recognition:read or recognition:administer scope. |
| List bonuses | Returns a paginated list of bonuses for the authenticated user's company. |
| List bonuses for a user | Requires a token with the recognition:read or recognition:administer scope. |
| List custom reward redemptions | Returns rewards redeemed for items in the company's custom catalog (e.g. branded swag, in-house perks). |
| List fulfilled redemptions | Returns fulfilled redemptions for the authenticated admin's company, newest first. |
| List redemptions for a user | Requires a token with the rewards:read or rewards:administer scope. |
| List users | Returns a paginated list of users in the authenticated user's company. |
| Update a bonus | Updates the reason of an existing bonus. |
Delete a bonus
Archives a bonus (soft delete).
Inputs
- Bonus ID
bonus_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
- Search
searchtextRequired - Search query (matches display name, username, email).
- Limit
limitnumber - Max number of results to return.At least 1.
- Include non receivable
include_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 ID
bonus_idtextRequired - BSON ObjectId of the bonus.
- Include children
include_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 ID
redemption_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
- Member
member_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
- Reason
reasontextRequired - Reason.
- Giver email
giver_emailtext - Giver email.
- Giver ID
giver_idtext - Giver ID.
- Initiator email
initiator_emailtext - Initiator email.
- Parent bonus ID
parent_bonus_idtext - Parent bonus ID.
- Privacy
privacytext - 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
- Member
member_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
- Limit
limitnumber - Number of bonuses to retrieve (min: 1, max: 100).From 1 to 100.
- Skip
skipnumber - Number of bonuses to skip, for pagination (min: 0).At least 0.
- Start time
start_timedate and time - ISO8601 lower bound on bonus created_at (inclusive).
- End time
end_timedate and time - ISO8601 upper bound on bonus created_at (inclusive).
- Previous hours
previous_hoursnumber - Shorthand for start_time, restricts to bonuses created in the last N hours.
- Giver email
giver_emailtext - Filter to bonuses given by the user with this email.
- Receiver email
receiver_emailtext - Filter to bonuses received by the user with this email.
- User email
user_emailtext - Filter to bonuses where this user is either giver or receiver.
- Hashtag
hashtagtext - Filter to bonuses tagged with this hashtag.
- Relevant
relevanttrue/false - When true, filter to bonuses involving the authenticated user or their most-relevant colleagues.
- Non zero
non_zerotrue/false - When true, exclude zero-amount bonuses (e.g. add-ons).
- Exclude archived
exclude_archivedtrue/false - When true, exclude archived bonuses.
- Include children
include_childrentrue/false - When true, include the full child_bonuses array on each parent (instead of just child_count).
- Show private bonuses
show_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
- Member
member_idtextRequired - Member ID.
- Limit
limitnumber - Limit.At least 1.
- Skip
skipnumber - Skip.At least 0.
- Start time
start_timedate and time - Start time.
- End time
end_timedate and time - End time.
- Hashtag
hashtagtext - Hashtag.
- Include children
include_childrentrue/false - Include children.
- Role
roletext - '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
- Limit
limitnumber - Number of records to retrieve (min: 1, max: 100).From 1 to 100.
- Skip
skipnumber - Number of records to skip, for pagination (min: 0).At least 0.
- State
statetext - Filter by state.One of:
new,approved,fulfilled. - Fulfillment partner
fulfillment_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
- Limit
limitnumber - Number of redemptions to retrieve (min: 1, max: 100).From 1 to 100.
- Skip
skipnumber - 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
- Member
member_idtextRequired - Member ID.
- Limit
limitnumber - Limit.At least 1.
- Skip
skipnumber - 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
- Limit
limitnumber - Number of users to retrieve (min: 1, max: 100).From 1 to 100.
- Skip
skipnumber - Number of users to skip, for pagination (min: 0).At least 0.
- Email
emailtext - Filter to users whose email contains this substring (case-insensitive).
- Sort
sorttext - 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 archived
include_archivedtrue/false - When true, include deactivated users.
- Show financial data
show_financial_datatrue/false - When true and the requester is an admin, include earning_balance / lifetime_earnings / giving_balance in each user.
- User mode
user_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 ID
bonus_idtextRequired - BSON ObjectId of the bonus.
- Reason
reasontextRequired - 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
}