Skip to main content
GET
Get Form
Returns a single cached form by its Cobalt id, including the full definition — the nested tree of categories, questions, and selectable answers. Use this to discover the question ids you supply in the answers object of POST /v1/services. The id path parameter is the Cobalt form id (UUID) from GET /v1/forms.
Forms are currently supported for Credible.

The definition structure

definition.categories is an ordered tree. A category holds child categories and questions; a question holds selectable answers.
  • Each question carries an emrQuestionId. That id is the key you use in the service answers object.
  • Each answer carries a value — the option a question can be scored/set to (for a scored questionnaire this is the numeric score, e.g. "0".."3").
  • isRequired / isFormRequired tell you which questions must be answered; omitting a required answer fails the service with Missing required answers.
The form metadata fields (emr_form_id, synced_at, …) are snake_case. The nested definition is passed through as the EMR structures it and keeps its own field names (e.g. emrQuestionId, emrCategoryId). Treat the definition as an opaque tree — read the ids and values out of it rather than depending on its exact field casing.

Example Request

Example Response

Error Responses

Invalid ID Format

Form Not Found

Authorizations

client_id
string
header
required
client_secret
string
header
required
access_token
string
header
required

Path Parameters

id
string
required

Cobalt form id (UUID).

Response

The cached form with its full definition

success
boolean
form
object