Whitelabels

Whitelabels represent different organizations/clubs on Boathouse Connect. Users can become affiliated with one or more whitelabels.

Add Pre-authorization

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
email Email address of a potential user to pre-authorize.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
2 Add User to Organization Allows a person to authorize other Boathouse Connect users to join this organization. Also allows a person to pre-authorize users to join this organization.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Request To Join Whitelabel

In order for a user to become affiliated with a whitelabel, the user must either request an invitation to join, or already be pre-authorized by the admins of the whitelabel. This endpoint is used to request an invitation to the whitelabel.

Parameters
token API Token.
requested_whitelabel Whitelabel Id of the organization that you want to request membership to.
email Email address of the user requesting to join.
Try It!
Required Permissions
No special permissions required to access this endpoint.

Sample Responses

                            {"Status":"Success","Message":"Request sent.","NewState":"Pending"}
                        
                            []
                            
Success Response Key

Approve Pending Join Requests

Allows you to add a user to the whitelabel (organization) by approving their join request.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
custid Custid of the user being approved to join.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
2 Add User to Organization Allows a person to authorize other Boathouse Connect users to join this organization. Also allows a person to pre-authorize users to join this organization.

Sample Responses

                            {"Status":"Success","Message":"Added to whitelabel.","NewState":"Approved"}
                        
                            []
                            
Success Response Key

Decline Pending Join Requests

Declines a users join request. The user will not be able to join the whitelabel unless they resend a join request and the new request is approved.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
custid Custid of the user being declined.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
2 Add User to Organization Allows a person to authorize other Boathouse Connect users to join this organization. Also allows a person to pre-authorize users to join this organization.

Sample Responses

                            {"Status":"Success","Message":"Join request declined.","NewState":"Declined"}
                        
                            []
                            
Success Response Key

Get Declined Join Requests

Gets all whitelabel join requests that have been declined.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
Try It!
Required Permissions
No special permissions required to access this endpoint.

Sample Responses

                            [{"custid":566,"status":"Declined","timestamp":1595864752,"fname":"Myke","lname":"Testerson","whitelabel_id":128}]
                        
                            []
                            
Success Response Key

Get Pending Join Requests

Returns an array of all of the users that have requested an invitation to join the whitelabel.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
Try It!
Required Permissions
No special permissions required to access this endpoint.

Sample Responses

                            [{"custid":347,"status":"Pending","timestamp":1595352827,"fname":"Lindsay","lname":"Demoson","whitelabel_id":95},{"custid":2243,"status":"Pending","timestamp":1595355482,"fname":"Savannah","lname":"Tempperson","whitelabel_id":95}]
                        
                            []
                            
Success Response Key

Get All Pre-Authorized Emails

Retrieves all pending pre-authorizations for the whitelabel. Pre-authorizations allow a user to join the whitelabel without having make a join request. As soon as a user with a pre-authorized email joins Boathouse Connect, they will automatically be approved to join the whitelabel.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
Try It!
Required Permissions
No special permissions required to access this endpoint.

Sample Responses

                            [{"id":4,"email":"stan@yahoo.com","whitelabel_id":95,"created_at":1595424497,"created_by":"Michael Demoman","custid_creator":564},{"id":14,"email":"emily@gmail.com","whitelabel_id":95,"created_at":1595948479,"created_by":"Michael Demoman","custid_creator":564}]
                        
                            []
                            
Success Response Key

Remove Pre-Authorized Email

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
email Email address of a potential user to remove from pre-authorized list.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
2 Add User to Organization Allows a person to authorize other Boathouse Connect users to join this organization. Also allows a person to pre-authorize users to join this organization.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Remove User

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
custid Custid of the user to remove from the organization.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
3 Remove User from Organization Allows a person to remove an existing user in the organization. Removing a user from the organization will cause data-loss for the removed user. Limit the number of users with this permission to Super Admins or to a membership committee.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Get Boathouse Rewards

Boathouse Rewards are a way to incentivize specific actions and behaviors on Boathouse Connect. This endpoint returns all possible rewards, and rewards history for the whitelabel. This endpoint returns 6 different elements: 1) current point balance, 2) next reward that can be redeemed, 3) all prizes and how many points they are worth, 4) what triggers earning points, 5) all prizes/points that have been redeemed, and 6) point-earning history.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
Try It!
Required Permissions
No special permissions required to access this endpoint.

Sample Responses

                            {"balance":22,"next_reward":{"reward_prize_id":1,"points":250,"item":"10 cam-buckle boat straps (9ft or 12ft)","descr":"If your boats are stored outside, or your club travels frequently, new boat straps are always needed. For 250 points, your club will receive 10 new Boathouse Connect boat straps. We will reach out to get a proper mailing address as well as what size straps you want.","status":"Active","points_left":228},"prizes":[{"reward_prize_id":1,"points":250,"item":"10 cam-buckle boat straps (9ft or 12ft)","descr":"If your boats are stored outside, or your club travels frequently, new boat straps are always needed. For 250 points, your club will receive 10 new Boathouse Connect boat straps. We will reach out to get a proper mailing address as well as what size straps you want.","status":"Active"},{"reward_prize_id":2,"points":600,"item":"4-pack of 100 nuts & washers (400 nuts and 400 washers)","descr":"Boat hardware is always in short supply. Redeeming this reward for 600 points, you will get 200 10mm stainless-steel nuts & washers AND 200 7\/16\" stainless-steel nuts & washers. If all of your boats are the same size, you can request to receive 400 of one size instead of 200 each.","status":"Active"}],"triggers":[{"reward_trigger_id":1,"action":"Verify email address","descr":"When a new user account is created, earn points by verifying the email address.","points":1,"entity":"user","frequency":0,"status":"Active"},{"reward_trigger_id":2,"action":"Verify cell phone number","descr":"When a user adds a cell phone number and opts in to receive text message notifications.","points":1,"entity":"user","frequency":0,"status":"Active"},{"reward_trigger_id":3,"action":"Create first group","descr":"When an organization creates their first group and adds at least one member to the group. ","points":5,"entity":"whitelabel","frequency":0,"status":"Active"}],"redemptions":[],"history":[{"reward_hist_id":9,"whitelabel_id":127,"custid":564,"fname":"Michael","lname":"Testerson","trigger_id":10,"points_earned":5,"timestamp":1599107015,"action":"Add first set of oars","descr":"First time adding a set of oars to the organizations equipment inventory."},{"reward_hist_id":8,"whitelabel_id":127,"custid":564,"fname":"Michael","lname":"Testerson","trigger_id":9,"points_earned":5,"timestamp":1599106686,"action":"Add first boat","descr":"First time adding a boat to the organizations equipment inventory."}]}
                        
                            []
                            
Success Response Key

Get Unaffiliated Whitelabels

Returns a list of whitelabels the user is not currently affiliated with. Helpful for displaying a list of organizations that the user to a user when they need to join a whitelabel.

Parameters
token API Token.
Try It!
Required Permissions
No special permissions required to access this endpoint.

Sample Responses

                            [{"whitelabel_id":127,"name":"New Orleans Rowing Club, Ltd.","rc_orgid":638,"created_at":1595213089,"custid_claimed":564,"abbreviation":"NORC","timezone":"America\/Chicago"},{"whitelabel_id":128,"name":"Boulder Community Rowing, Inc.","rc_orgid":1,"created_at":1595219634,"custid_claimed":623,"abbreviation":"BLDR","timezone":"America\/Denver"}]
                        
                            []
                            
Success Response Key

Get All Whitelabel Users

Returns an array of all of the users currently affiliated with the whitelabel.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
Try It!
Required Permissions
No special permissions required to access this endpoint.

Sample Responses

                            [{"custid":564,"joined_whitelabel_on":1595213089,"fname":"Michael","lname":"Demoman","birthYear":1994,"birthMonth":8,"birthDay":9,"yearendAge":26,"sex":"Male","email":"Michael@example.net","phone_number":"4072226658","usrowingID":113284,"usrowing_waiver_expires_on":1595352827},{"custid":565,"joined_whitelabel_on":1595352827,"fname":"Lindsay","lname":"Madeupperson","birthYear":1996,"birthMonth":10,"birthDay":23,"yearendAge":24,"sex":"Female","email":"Lindsay@demotown.com","phone_number":"3033862855","usrowingID":null,"usrowing_waiver_expires_on":null}]
                        
                            []
                            
Success Response Key

Require Join Approval

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
require_join_approval `No` or `Yes` - Whether or not users must be approved (or pre-authorized) to join the organization.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
17 Manage Organization Settings Allowed to change basic organization-related settings, such as uploading logos, setting timezone, etc.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Update Last Time Accessed

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
Try It!
Required Permissions
No special permissions required to access this endpoint.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Update Timezone

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
timezone New timezone to set for the organization.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
17 Manage Organization Settings Allowed to change basic organization-related settings, such as uploading logos, setting timezone, etc.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Get Whitelabel Calendar

Parameters
Try It!
Required Permissions
No special permissions required to access this endpoint.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Get Calendar Events

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
Try It!
Required Permissions
No special permissions required to access this endpoint.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Add Calendar Event

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
title Title of the event.
start_time UNIX timestamp of the start of the event.
end_time UNIX timestamp of the end of the event.
descr Description of the event.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
17 Manage Organization Settings Allowed to change basic organization-related settings, such as uploading logos, setting timezone, etc.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Remove Calendar Event

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
event_id Id of the event to remove.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
17 Manage Organization Settings Allowed to change basic organization-related settings, such as uploading logos, setting timezone, etc.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Don't like coding?

Checkout our integration with Zapier! Zapier is a platform that allows you to connect Boathouse Connect to over 3,000+ other applications & services Go To Zapier