Create Study
Create a study in a folder.
Always required
Schema fields
Provide exactly one of these pairs. Do not mix them:
schemaIdwithschemaFields(preferred). Keys inschemaFieldsmust be field system names or field API IDs, not display names.- The deprecated
studySchemaIdwith the deprecatedtags. Keys intagsmust be field display names or field API IDs.
List schemas with the study-schema list endpoint. See the request example for supported field value shapes.
name
- Required when the study schema has no naming template.
- Must be omitted when the schema has a naming template (the server generates the name).
designEntryId
- Required when the schema’s
studyTypeisCUSTOM. - Must be omitted for every other
studyType. - Read
studyTypefrom the study-schema get-by-ID endpoint. List entries with the entry list endpoint. A design entry can belong to only one study.
displayId
Behavior depends on the schema’s idGenerationMode, which you can read from the study-schema get-by-ID endpoint:
AUTO_GENERATED_FROM_PREFIX: omitdisplayId. The server assigns an ID from the schema prefix. ProvidingdisplayIdfails validation.MANUAL: you may providedisplayId(must be unique within the tenant), or omit it to have the server generate one.
authorIds
- Omit to default authors to the creator.
- Provide an array of user or app IDs to set a specific author list. List users with the user list endpoint.
- Pass an empty array to create the study without authors.
- Do not pass
null.
The request example includes
name,designEntryId, anddisplayIdtogether for a Custom study on a MANUAL schema with no naming template. Other schema configurations require a different subset of these fields.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
The ID to assign to the study. Only allowed when the study schema is configured for manual ID assignment (i.e., idGenerationMode is MANUAL). Must be unique within the tenant.
Deprecated. Use schemaId instead. The ID of the study schema.
Response
Human-readable identifier for the study. For schemas with auto-generated IDs, assigned by the server at creation. For MANUAL schemas, may be set at creation or update.