Skip to main content

get()

Get the welcome message. configured is false if none has been set. Returns WelcomeOut.

set()

Create or replace the welcome and consent message.
str | UUID
required
The study.
str
required
Shown before the interview starts.
Require participants to agree explicitly before the interview begins.
Returns WelcomeOut.

generate()

Draft the welcome and consent message with AI. Nothing is saved. The draft draws on the study’s name, description, research question, target population, benefits, risks, support contact, question count, survey type and language, and on your profile. Anything missing becomes a placeholder such as [Insert researcher name] and is listed in placeholders. Usually takes 10–30 seconds.
Returns WelcomeDraftOut.

list_translations()

Returns WelcomeTranslationListOut.

upsert_translation()

Add or replace the translation for target_language. Set the welcome message first.
str
required
Language name or ISO code, such as "Spanish" or "es".
str
required
The translated welcome message.
str
default:"English"
Source language name or ISO code.
Returns WelcomeTranslationOut.

delete_translation()

Returns SuccessResponse.