[BETA] Search surveys

Search the surveys of your school, archived ones included unless isArchived says otherwise. This read-only operation uses POST to carry the filters in its body: credentials holding only read access are served.

Filters are combined with AND; the values of each list are combined with OR, up to 100 each. Date bounds (*From, *To) are inclusive ISO-8601 instants with an offset. Results are sorted by sortBy and sortOrder (default createdAt descending), then by ID ascending; a survey without a scheduled send date sorts first in ascending scheduledSendDate order and last in descending order.

recipientIds never matches an anonymous survey, whose recipients are not disclosed, and cannot be combined with isAnonymous: true. completionDateFrom / completionDateTo keep the surveys with at least one answer completed in the range, whoever gave it.

Each survey has the shape GET /surveys returns, with the same include* options.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
ids
array of strings

Edusign survey IDs, combined with OR (up to 100)

ids
courseIds
array of strings

IDs of the course each survey belongs to, combined with OR (up to 100)

courseIds
trainingIds
array of strings

IDs of the training each survey belongs to, combined with OR (up to 100)

trainingIds
templateIds
array of strings

IDs of the survey template each survey was created from, combined with OR (up to 100)

templateIds
recipientIds
array of strings

IDs of people the survey is sent to (students, professors or external contacts). Never matches an anonymous survey, combined with OR (up to 100)

recipientIds
types
array of strings

Survey types, combined with OR

types
Allowed:
string
enum

Kind of person the survey is sent to

Allowed:
boolean

true: surveys whose scheduled send ran; false: surveys whose scheduled send did not run

boolean

true: surveys sent to at least one of their current recipients, by any channel (a send, a reminder or a scheduled send); false: surveys sent to none of them

boolean

true: archived surveys; false: active ones

boolean

true: anonymous surveys; false: the others

Literal substring of the name or of the message

date-time

Surveys created at or after this instant. ISO 8601 date-time with a time zone

date-time

Surveys created at or before this instant. ISO 8601 date-time with a time zone

date-time

Surveys scheduled to be sent at or after this instant. ISO 8601 date-time with a time zone

date-time

Surveys scheduled to be sent at or before this instant. ISO 8601 date-time with a time zone

date-time

Surveys with at least one answer completed at or after this instant. ISO 8601 date-time with a time zone

date-time

Surveys with at least one answer completed at or before this instant. ISO 8601 date-time with a time zone

string
enum
Defaults to createdAt

Field to sort by. Defaults to createdAt. Ties are broken on the survey ID, so pages never skip or repeat a survey.

Allowed:
string
enum
Defaults to desc

Sort direction. Defaults to desc (newest first).

Allowed:
number
Defaults to 1

Page number, from 1

number
Defaults to 50

Surveys per page (max 100)

boolean
Defaults to false

When true, fill the studentAnswers array of each survey. Without it the array is returned empty, which does not mean that nobody answered

boolean
Defaults to false

When true, include the surveyTemplate object of each survey

boolean
Defaults to false

When true, include the training object of each survey

boolean
Defaults to false

When true, include the course object of each survey

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json