Skip to main content
GET
/
sequence-manager
/
sequence-definitions
/
{id}
cURL
curl --request GET \
  --url https://api.clarionhealth.com/v1/sequence-manager/sequence-definitions/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "name": "<string>",
  "status": "active",
  "steps_definition": [
    {
      "id": "<string>",
      "type": "voice",
      "order": 123,
      "delay_hours": 123,
      "voice_assistant_id": 123,
      "messaging_assistant_id": 123,
      "inputs": [
        {
          "id": "<string>",
          "name": "<string>",
          "type": "text",
          "required": true
        }
      ]
    }
  ],
  "inputs_definition": [
    {
      "id": "<string>",
      "name": "<string>",
      "type": "text",
      "required": true
    }
  ],
  "outreach_schedule": {
    "timezone": "America/New_York",
    "business_hours": {
      "start": "09:00",
      "end": "17:00"
    },
    "days_of_week": [
      "monday"
    ]
  },
  "voice_assistant_id": 123,
  "organization_id": 123,
  "ehr_action": "has-ehr-file",
  "created_at": "2023-11-07T05:31:56Z",
  "is_archived": true,
  "allow_repeat_contact": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

The sequence definition ID

Response

Sequence definition object

id
integer

Unique identifier for the sequence definition

name
string

Name of the sequence definition

status
enum<string>

Status of the sequence definition

Available options:
active,
inactive,
archived
steps_definition
object[]

Definition of steps in the sequence

inputs_definition
object[]

Definition of inputs required for the sequence

outreach_schedule
object

Schedule configuration for outreach

voice_assistant_id
integer | null

ID of the voice assistant to use

organization_id
integer

ID of the organization this definition belongs to

ehr_action
enum<string>

EHR action associated with this sequence

Available options:
has-ehr-file,
no-ehr-file,
any
created_at
string<date-time>

When the sequence definition was created

is_archived
boolean

Whether the sequence definition is archived

allow_repeat_contact
boolean

Whether to allow repeat contact attempts