Appearance
DoCurious API Reference / types / Survey
Interface: Survey
Defined in: types/school.types.ts:388
A survey created by a School Admin for distribution to students or teachers.
Remarks
Surveys link to an external URL (e.g., Google Forms, SurveyMonkey). The platform handles distribution and click tracking via SurveyCampaign.
Extends
Properties
createdAt
createdAt:
string
Defined in: types/common.types.ts:154
ISO 8601 datetime when the entity was created
Inherited from
createdByUserId
createdByUserId:
string
Defined in: types/school.types.ts:390
description?
optionaldescription:string
Defined in: types/school.types.ts:393
endDate?
optionalendDate:string
Defined in: types/school.types.ts:402
ISO date when the survey closes
externalUrl
externalUrl:
string
Defined in: types/school.types.ts:395
URL of the external survey tool where respondents complete the survey
id
id:
string
Defined in: types/common.types.ts:167
Inherited from
schoolId
schoolId:
string
Defined in: types/school.types.ts:389
startDate?
optionalstartDate:string
Defined in: types/school.types.ts:400
ISO date when the survey opens for responses
status
status:
"active"|"draft"|"closed"
Defined in: types/school.types.ts:397
templateId?
optionaltemplateId:string
Defined in: types/school.types.ts:405
ID of the template this survey was created from
title
title:
string
Defined in: types/school.types.ts:392
updatedAt
updatedAt:
string
Defined in: types/common.types.ts:156
ISO 8601 datetime when the entity was last modified