API Reference

Survey

Survey_Find()

Find surveys based on specific criteria

Survey_Copy()

Copy an existing survey. Returns the new survey ID.

Survey_Delete()

Delete an existing survey.

Survey_Get_Info()

For a single survey, retrieves all survey properties including logic and actions, the presence of progress bar, and page numbering.

Survey_Get_Questions()

Retrieves the questions for a particular survey

Survey_Get_Response_Count()

Counts how many responses a survey has

Survey_Get_Responses()

Retrieve responses a specific contact has entered

Survey_Get_Responses_By_Email()

Retrieve responses a specific contact has entered

Survey_List()

Get a listing of surveys

Survey_Start()

Start a survey

Survey_Stop()

Stop a survey

Survey_Add_Tag()

Add a tag to a survey

Survey_Remove_Tag()

Remove a tag from a survey

Tag

Tag_Create()

Create a new tag

Tag_Update()

Update an existing tag

Tag_Delete()

Delete a tag

Tag_List()

Get a listing of tags

Response

Response_Get()

Get a response

Response_Create()

Create a new response

Response_Update()

Update an existing response

Response_Delete()

Delete a response

Admin (Exclusively for White-labelers)

Admin_Create_Account()

Create a new SurveyTown account with the given parameters

Admin_Update_Account()

Modify an existing SurveyTown account with the given parameters

Admin_Create_Account_Key()

Creates an API key for the specified account

Admin_Get_Account_Key()

Return the API key for an account, or create one if one doesn’t already exist and the username is not specified.

Admin_Get_Accounts()

Get a list of your current clients

Admin_Find_Accounts()

Get a list of your clients based on parameters

Admin_Suspend_Account()

Suspend an Account you created

Admin_Reinstate_Account()

Reinstate an Account you suspended

Admin_Send_Message()

Send an Alert Message to a set of your clients