Surveys

Create New Survey

Creates a new survey that can be sent to users and stakeholders.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
description Description of the survey.
anonymous `Yes` or `No` - Whether or not the responses are anonymous.
public `Yes` or `No` - Whether or not the results will be available to all users.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
19 Manage Surveys Allowed to create and send surveys to the entire organization.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Get All Surveys

Retrieves all surveys in the organization.

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

Get Draft Surveys

Retrieves all surveys that have not been sent to recipients yet.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
19 Manage Surveys Allowed to create and send surveys to the entire organization.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Get Survey By Id

Retrieves a survey by its survey_id ID number.

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

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Update Survey Attribute

Updates metadata about a given survey.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
survey_id Id of the survey being updated.
title (optional) New title for the survey.
description (optional) Description of the survey.
anonymous (optional) `Yes` or `No` - Whether or not the responses are anonymous.
public (optional) `Yes` or `No` - Whether or not the results will be available to all users.
open_time (optional) UNIX timestamp of when the survey opens for users to take.
close_time (optional) UNIX timestamp of when the survey closes to new responses.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
19 Manage Surveys Allowed to create and send surveys to the entire organization.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Add Description Element To Survey

Adds a block of text onto the body of the survey. This is typically used to add descriptions, instructions, or general details for the user.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
survey_id Id of the survey being updated.
text Text to add to the survey. This can be HTML code.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
19 Manage Surveys Allowed to create and send surveys to the entire organization.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Add Text Element To Survey

Creates a text field on the body of the survey for the user to input a response. The label parameter should describe what the user needs to provide in the text field.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
survey_id Id of the survey being updated.
label Label for the text box (i.e. what question are you asking the user?).
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
19 Manage Surveys Allowed to create and send surveys to the entire organization.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Add Dropdown Element To Survey

Adds a dropdown menu to the body of the survey. The dropdown can have up to 20 items to select in the menu.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
survey_id Id of the survey being updated.
label Label for the dropdown (i.e. what question are you asking the user?).
selection_1 1st dropdown item.
selection_2 2nd dropdown item.
selection_3 (optional) 3rd dropdown item
selection_4 (optional) 4th dropdown item
selection_5 (optional) 5th dropdown item
selection_6 (optional) 6th dropdown item
selection_7 (optional) 7th dropdown item
selection_8 (optional) 8th dropdown item
selection_9 (optional) 9th dropdown item
selection_10 (optional) 10th dropdown item
selection_11 (optional) 11th dropdown item
selection_12 (optional) 12th dropdown item
selection_13 (optional) 13th dropdown item
selection_14 (optional) 14th dropdown item
selection_15 (optional) 15th dropdown item
selection_16 (optional) 16th dropdown item
selection_17 (optional) 17th dropdown item
selection_18 (optional) 18th dropdown item
selection_19 (optional) 19th dropdown item
selection_20 (optional) 20th dropdown item
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
19 Manage Surveys Allowed to create and send surveys to the entire organization.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Delete Survey Element

Deletes a given element from the body of the survey.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
survey_id Id of the survey being updated.
question_id Id of the survey element to remove from the survey.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
19 Manage Surveys Allowed to create and send surveys to the entire organization.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Swap Element Positions

Swaps the position of two elements in the body of the survey.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
survey_id Id of the survey being updated.
question_id_1 Id of the element to swap with the second element.
question_id_2 Id of the element to swap with the first element.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
19 Manage Surveys Allowed to create and send surveys to the entire organization.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Add Group To Recipients List

Adds an entire group of users to the recipients list of the survey. Optionally, the stakeholders of the group can also be added.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
survey_id Id of the survey being updated.
group_id Id of the group to add to the recipients list.
stakeholders (optional) `Yes` or `No` - Whether to include the groups stakeholders (if any)
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
19 Manage Surveys Allowed to create and send surveys to the entire organization.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Add User To Recipients List

Adds an individual user to the recipients list of the survey.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
survey_id Id of the survey being updated.
custid Custid of the user being added as a recipient.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
19 Manage Surveys Allowed to create and send surveys to the entire organization.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Remove Recipient

Removes a given recipient from the recipients list.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
survey_id Id of the survey being updated.
recipient_id Id of the recipient to remove from the survey.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
19 Manage Surveys Allowed to create and send surveys to the entire organization.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Mark Ready To Send

Marks a given survey as ready to send to all recipients. The survey will still wait to send until the start time of the survey, but after the start time passes, it will be available for users to view and submit.

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
survey_id Id of the survey being marked Ready to Send.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
19 Manage Surveys Allowed to create and send surveys to the entire organization.

Sample Responses

                            []
                        
                            []
                            
Success Response Key

Get Surveys For User

Retrieves all surveys the authenticated user is allowed to view results or submit new responses for.

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

Get Public Survey Results

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

Delete Survey

Deletes a survey and all associated submissions

Parameters
token API Token.
whitelabel_id Whitelabel Id of the organization.
survey_id Id of the survey to delete.
Try It!
Required Permissions
The authenticated user must hold one of the following permissions to access this endpoint:
IdNameDescription
19 Manage Surveys Allowed to create and send surveys to the entire organization.

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