Skip to main content
GET
Search Surveys
A survey (Survey) is a location-specific questionnaire sent to selected customers on a recurring schedule. It defines delivery timing, customer eligibility, and the questions customers can answer.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the Survey-List role.

Enums

Query Parameters

Pagination & Sorting

integer
default:"1"
The page number to retrieve.
integer
default:"25"
The number of records per page.
string
The property name to sort results by (e.g. Name, CreatedOn).
integer
Sort direction. 0 for ascending, 1 for descending.

Filters

integer
Filter by iD of the location that owns this survey; the Admin Tool normally supplies it from the current location context.
string
Filter by display value for Business.Name..
string
Filter by display value for Business.WebAddress..
string
Filter by required name used by administrators to identify this survey.
string
Filter by required free-text description explaining the purpose of this survey.
boolean
Filter by whether this survey is eligible for scheduled delivery when its next delivery date is due.
string
Filter by uTC date and time when the next scheduled delivery is due; the system advances it by the delivery rate after a delivery.
integer
Filter by positive number of delivery-frequency units between scheduled deliveries; a value of zero prevents scheduled delivery.
integer
Filter by unit used by DeliveryRate and the delivery cap: Weeks, Months, or Years; defaults to Weeks.
integer
Filter by maximum number of DeliveryFrequency units after StartDate for scheduled deliveries; zero means no end date.
integer
Filter by legacy delivery-cap frequency setting; the delivery-cap calculation uses DeliveryFrequency, so manage the cap with DeliveryRateMaximum and DeliveryFrequency instead.
string
Filter by optional UTC date and time from which the delivery cap is measured; without it, the delivery cap does not apply.
string
Filter by system-managed scheduler job ID while a delivery is queued; it is cleared after delivery and must never be set by an agent.
boolean
Filter by whether delivery is restricted to contacts without an active contract; when enabled with OnlyForMembers, both restrictions apply and no customer can qualify.
boolean
Filter by whether delivery is restricted to members with an active contract; when Tariffs is non-empty, the contract must be on one of those plans.

Range Filters

string
Filter by uTC date and time when the next scheduled delivery is due; the system advances it by the delivery rate after a delivery greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by uTC date and time when the next scheduled delivery is due; the system advances it by the delivery rate after a delivery less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
integer
Filter by positive number of delivery-frequency units between scheduled deliveries; a value of zero prevents scheduled delivery greater than or equal to this value.
integer
Filter by positive number of delivery-frequency units between scheduled deliveries; a value of zero prevents scheduled delivery less than or equal to this value.
integer
Filter by maximum number of DeliveryFrequency units after StartDate for scheduled deliveries; zero means no end date greater than or equal to this value.
integer
Filter by maximum number of DeliveryFrequency units after StartDate for scheduled deliveries; zero means no end date less than or equal to this value.
string
Filter by optional UTC date and time from which the delivery cap is measured; without it, the delivery cap does not apply greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by optional UTC date and time from which the delivery cap is measured; without it, the delivery cap does not apply less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter records created on or after this date. Format: YYYY-MM-DDTHH:mm.
string
Filter records created on or before this date. Format: YYYY-MM-DDTHH:mm.
string
Filter records updated on or after this date. Format: YYYY-MM-DDTHH:mm.
string
Filter records updated on or before this date. Format: YYYY-MM-DDTHH:mm.

Code Examples

Simple listing

Filtering by Name

Range filters

Response

200

Survey[]
The list of Survey records matching the query. See the Get one Survey endpoint for the full list of properties returned for each record.
Partial records — The listing endpoint returns a summary representation of each Survey. The following fields are not populated in the Records[] response: DeliveryFrequencyMaximum, OnlyForContacts, OnlyForMembers.To get all fields, fetch the full record using the Get one Survey endpoint.Important for updates: When updating a record via PUT, always retrieve the full record with a GET request first, apply your changes to that complete data, and then send the updated record. Do not use data from a listing response as the base for a PUT request, as missing fields may be unintentionally cleared.
integer
Current page number.
integer
Number of records per page.
string
The field used for sorting.
integer
The sort direction (0 = ascending, 1 = descending).
integer
Index of the first item on the current page.
integer
Index of the last item on the current page.
integer
Total number of matching records across all pages.
integer
Total number of pages.
boolean
Whether there is a next page of results.
boolean
Whether there is a previous page of results.
Example Response