Surveys

Get all surveys

get

Returns all surveys for the organization.

Rate limit: 60 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Responses
chevron-right
200Success
application/json
request_idstringOptional

The request ID for tracking.

get
/surveys

Get a survey by its ID

get

Returns a single survey by ID.

Rate limit: 60 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the survey.

Responses
chevron-right
200Success
application/json
request_idstringOptional

The request ID for tracking.

get
/surveys/{id}

Get survey responses for a survey

get

Returns paginated survey responses, optionally filtered by time range, account, or contact.

Rate limit: 60 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the survey.

Query parameters
submitted_afterstringOptional

Filter responses submitted after this time (RFC3339 format).

submitted_beforestringOptional

Filter responses submitted before this time (RFC3339 format).

account_idstringOptional

Filter responses by account ID.

contact_idstringOptional

Filter responses by contact ID.

cursorstringOptional

The cursor for pagination.

limitinteger · int64Optional

The number of responses to fetch. Defaults to 100. Must be greater than 0 and less than 1000.

Responses
chevron-right
200Success
application/json
request_idstringOptional

The request ID for tracking.

get
/surveys/{id}/responses

Search for surveys by a given filter

post

Currently, the following fields are filterable for surveys:

  • updated_at (in RFC3339 format). Allowed operators: time_is_after, time_is_before, time_range

Rate limit: 20 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Body
limitinteger · int64Optional

The number of surveys to fetch. Defaults to 100. Must be greater than 0 and less than 1000.

Responses
chevron-right
200Success
application/json
request_idstringOptional
post
/surveys/search

Last updated

Was this helpful?