Download OpenAPI specification:
Retrieve login credentials.
username required | string <email> |
password required | string |
{- "username": "user@example.com",
- "password": "string"
}
{- "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
- "token_type": "Bearer",
- "expires_in": "3600"
}
Retrieve a list of clients in Twyll.
You can filter the list of clients by providing query parameters:
external_id_type
and external_id
: Filter clients by a specific external ID type and IDmrn
: Filter clients by Medical Record Number (MRN)external_id_type | string Example: external_id_type=CRID Filter clients by external ID type |
external_id | string Example: external_id=APN83095 Filter clients by external ID |
mrn | integer Example: mrn=10000 Filter clients by MRN |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "clinic": "f88966de-1f8f-43e3-80b5-5d9ae2fdae64",
- "mrn": 10000,
- "name": {
- "first": "Nicholas",
- "preferred_first": "Nick",
- "middle": "",
- "last": "Bruno"
}, - "gender": "m",
- "dob": "2019-08-24",
- "race": [
- "native"
], - "ethnicity": "hispanic",
- "addresses": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "st",
- "zip_code": "string",
- "bill": false,
- "mail": false,
- "pos": "",
- "pos_code_title": "string"
}
], - "comorbidities": [
- "adhd"
], - "languages": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "language": "English",
- "primary": true,
- "service": true
}
], - "block_video_capture": false,
- "insurance_cards": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "Humana",
- "plan_type": "hmo",
- "priority": "primary",
- "group": "GROUP_ABC",
- "member_id": "abcd1234",
- "effective_date": "2019-08-24",
- "expire_date": "2019-08-24",
- "subscriber": "",
- "relationship": "self",
- "is_active": true
}
], - "external_mrns": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id_type": "CRID",
- "id": "APN83095"
}
], - "is_active": true,
- "date_of_referral": "2019-08-24"
}
]
Create a new client in Twyll.
clinic required | string <uuid> The UUID of the site (clinic) in which a client is associated with. Ask your SpectrumAi representative for a list of valid UUIDs. |
required | object (ClientName) The client's name. |
gender required | string (GenderEnum) Enum: "m" "fe" "nb"
|
dob required | string <date> The client's birthday. |
race | Array of strings (RaceEnum) Default: "unknown" Items Enum: "native" "asian" "black" "hawaiian" "white" "other" "asked" "unknown" |
ethnicity | string (EthnicityEnum) Default: "unknown" Enum: "hispanic" "not_hispanic" "unknown"
|
required | Array of objects (ClientAddress) Addresses and associated places of service for a client. |
comorbidities | Array of strings (ComorbiditiesEnum) Items Enum: "adhd" "anxiety" "depressive" "epilepsy" "gi" "hearing" "id" "sleep" "sight" Comorbidities associated with the client. |
required | Array of objects (ClientLanguages) |
block_video_capture required | boolean A flag indicating whether the client has consented to video recording during a session. |
required | Array of objects (ClientInsurance) |
Array of objects (ClientExternalIds) External identifiers used by third party systems (i.e. a practice management system) used to identify a client. | |
is_active | boolean A flag indicating whether the client is active in the system. Note that this flag is not used to determine whether a client is billable for invoicing. |
date_of_referral | string or null <date> The date in which a client was first referred to the practice. |
{- "clinic": "f88966de-1f8f-43e3-80b5-5d9ae2fdae64",
- "name": {
- "first": "Nicholas",
- "preferred_first": "Nick",
- "middle": "",
- "last": "Bruno"
}, - "gender": "m",
- "dob": "2019-08-24",
- "race": "unknown",
- "ethnicity": "hispanic",
- "addresses": [
- {
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "st",
- "zip_code": "string",
- "bill": false,
- "mail": false,
- "pos": ""
}
], - "comorbidities": [
- "adhd"
], - "languages": [
- {
- "language": "English",
- "primary": true,
- "service": true
}
], - "block_video_capture": false,
- "insurance_cards": [
- {
- "name": "Humana",
- "plan_type": "hmo",
- "priority": "primary",
- "group": "GROUP_ABC",
- "member_id": "abcd1234",
- "effective_date": "2024-05-01",
- "expire_date": "2024-09-26",
- "subscriber": "",
- "relationship": "self",
- "is_active": true
}
], - "external_mrns": [
- {
- "id_type": "CRID",
- "id": "APN83095"
}
], - "is_active": true,
- "date_of_referral": "2019-08-24"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "clinic": "f88966de-1f8f-43e3-80b5-5d9ae2fdae64",
- "mrn": 10000,
- "name": {
- "first": "Nicholas",
- "preferred_first": "Nick",
- "middle": "",
- "last": "Bruno"
}, - "gender": "m",
- "dob": "2019-08-24",
- "race": [
- "native"
], - "ethnicity": "hispanic",
- "addresses": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "st",
- "zip_code": "string",
- "bill": false,
- "mail": false,
- "pos": "",
- "pos_code_title": "string"
}
], - "comorbidities": [
- "adhd"
], - "languages": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "language": "English",
- "primary": true,
- "service": true
}
], - "block_video_capture": false,
- "insurance_cards": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "Humana",
- "plan_type": "hmo",
- "priority": "primary",
- "group": "GROUP_ABC",
- "member_id": "abcd1234",
- "effective_date": "2019-08-24",
- "expire_date": "2019-08-24",
- "subscriber": "",
- "relationship": "self",
- "is_active": true
}
], - "external_mrns": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id_type": "CRID",
- "id": "APN83095"
}
], - "is_active": true,
- "date_of_referral": "2019-08-24"
}
Get information about a client in Twyll.
uuid required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "clinic": "f88966de-1f8f-43e3-80b5-5d9ae2fdae64",
- "mrn": 10000,
- "name": {
- "first": "Nicholas",
- "preferred_first": "Nick",
- "middle": "",
- "last": "Bruno"
}, - "gender": "m",
- "dob": "2019-08-24",
- "race": [
- "native"
], - "ethnicity": "hispanic",
- "addresses": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "st",
- "zip_code": "string",
- "bill": false,
- "mail": false,
- "pos": "",
- "pos_code_title": "string"
}
], - "comorbidities": [
- "adhd"
], - "languages": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "language": "English",
- "primary": true,
- "service": true
}
], - "block_video_capture": false,
- "insurance_cards": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "Humana",
- "plan_type": "hmo",
- "priority": "primary",
- "group": "GROUP_ABC",
- "member_id": "abcd1234",
- "effective_date": "2019-08-24",
- "expire_date": "2019-08-24",
- "subscriber": "",
- "relationship": "self",
- "is_active": true
}
], - "external_mrns": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id_type": "CRID",
- "id": "APN83095"
}
], - "is_active": true,
- "date_of_referral": "2019-08-24"
}
Overwrite Client's information and related records with provided info.
uuid required | string <uuid> |
clinic required | string <uuid> The UUID of the site (clinic) in which a client is associated with. Ask your SpectrumAi representative for a list of valid UUIDs. |
required | object (ClientName) The client's name. |
gender required | string (GenderEnum) Enum: "m" "fe" "nb"
|
dob required | string <date> The client's birthday. |
race | Array of strings (RaceEnum) Default: "unknown" Items Enum: "native" "asian" "black" "hawaiian" "white" "other" "asked" "unknown" |
ethnicity | string (EthnicityEnum) Default: "unknown" Enum: "hispanic" "not_hispanic" "unknown"
|
required | Array of objects (ClientAddress) Addresses and associated places of service for a client. |
comorbidities | Array of strings (ComorbiditiesEnum) Items Enum: "adhd" "anxiety" "depressive" "epilepsy" "gi" "hearing" "id" "sleep" "sight" Comorbidities associated with the client. |
required | Array of objects (ClientLanguages) |
block_video_capture required | boolean A flag indicating whether the client has consented to video recording during a session. |
required | Array of objects (ClientInsurance) |
Array of objects (ClientExternalIds) External identifiers used by third party systems (i.e. a practice management system) used to identify a client. | |
is_active | boolean A flag indicating whether the client is active in the system. Note that this flag is not used to determine whether a client is billable for invoicing. |
date_of_referral | string or null <date> The date in which a client was first referred to the practice. |
{- "clinic": "f88966de-1f8f-43e3-80b5-5d9ae2fdae64",
- "name": {
- "first": "Nicholas",
- "preferred_first": "Nick",
- "middle": "",
- "last": "Bruno"
}, - "gender": "m",
- "dob": "2019-08-24",
- "race": "unknown",
- "ethnicity": "hispanic",
- "addresses": [
- {
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "st",
- "zip_code": "string",
- "bill": false,
- "mail": false,
- "pos": ""
}
], - "comorbidities": [
- "adhd"
], - "languages": [
- {
- "language": "English",
- "primary": true,
- "service": true
}
], - "block_video_capture": false,
- "insurance_cards": [
- {
- "name": "Humana",
- "plan_type": "hmo",
- "priority": "primary",
- "group": "GROUP_ABC",
- "member_id": "abcd1234",
- "effective_date": "2024-05-01",
- "expire_date": "2024-09-26",
- "subscriber": "",
- "relationship": "self",
- "is_active": true
}
], - "external_mrns": [
- {
- "id_type": "CRID",
- "id": "APN83095"
}
], - "is_active": true,
- "date_of_referral": "2019-08-24"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "clinic": "f88966de-1f8f-43e3-80b5-5d9ae2fdae64",
- "mrn": 10000,
- "name": {
- "first": "Nicholas",
- "preferred_first": "Nick",
- "middle": "",
- "last": "Bruno"
}, - "gender": "m",
- "dob": "2019-08-24",
- "race": [
- "native"
], - "ethnicity": "hispanic",
- "addresses": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "st",
- "zip_code": "string",
- "bill": false,
- "mail": false,
- "pos": "",
- "pos_code_title": "string"
}
], - "comorbidities": [
- "adhd"
], - "languages": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "language": "English",
- "primary": true,
- "service": true
}
], - "block_video_capture": false,
- "insurance_cards": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "Humana",
- "plan_type": "hmo",
- "priority": "primary",
- "group": "GROUP_ABC",
- "member_id": "abcd1234",
- "effective_date": "2019-08-24",
- "expire_date": "2019-08-24",
- "subscriber": "",
- "relationship": "self",
- "is_active": true
}
], - "external_mrns": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id_type": "CRID",
- "id": "APN83095"
}
], - "is_active": true,
- "date_of_referral": "2019-08-24"
}
PATCH Client's and related objects records
uuid required | string <uuid> |
clinic required | string <uuid> |
mrn | integer [ -2147483648 .. 2147483647 ] |
required | object (ClientName) The client's name. |
gender required | string (GenderEnum) Enum: "m" "fe" "nb"
|
dob required | string <date> The client's date of Birth. |
race | Array of strings (RaceEnum) Default: "unknown" Items Enum: "native" "asian" "black" "hawaiian" "white" "other" "asked" "unknown" |
ethnicity | string (EthnicityEnum) Default: "unknown" Enum: "hispanic" "not_hispanic" "unknown"
|
required | Array of objects (ClientAddress) |
comorbidities required | Array of strings (ComorbiditiesEnum) Items Enum: "adhd" "anxiety" "depressive" "epilepsy" "gi" "hearing" "id" "sleep" "sight" |
required | Array of objects (ClientLanguages) |
block_video_capture | boolean |
Array of objects (ClientInsurance) | |
Array of objects (ClientExternalIds) | |
is_active | boolean |
date_of_referral | string or null <date> |
{- "clinic": "f88966de-1f8f-43e3-80b5-5d9ae2fdae64",
- "mrn": -2147483648,
- "name": {
- "first": "Nicholas",
- "preferred_first": "Nick",
- "middle": "",
- "last": "Bruno"
}, - "gender": "m",
- "dob": "2019-08-24",
- "race": "unknown",
- "ethnicity": "hispanic",
- "addresses": [
- {
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "st",
- "zip_code": "string",
- "bill": false,
- "mail": false,
- "pos": ""
}
], - "comorbidities": [
- "adhd"
], - "languages": [
- {
- "language": "English",
- "primary": true,
- "service": true
}
], - "block_video_capture": true,
- "insurance_cards": [
- {
- "name": "Humana",
- "plan_type": "hmo",
- "priority": "primary",
- "group": "GROUP_ABC",
- "member_id": "abcd1234",
- "effective_date": "2024-05-01",
- "expire_date": "2024-09-26",
- "subscriber": "",
- "relationship": "self",
- "is_active": true
}
], - "external_mrns": [
- {
- "id_type": "CRID",
- "id": "APN83095"
}
], - "is_active": true,
- "date_of_referral": "2019-08-24"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "clinic": "f88966de-1f8f-43e3-80b5-5d9ae2fdae64",
- "mrn": 10000,
- "name": {
- "first": "Nicholas",
- "preferred_first": "Nick",
- "middle": "",
- "last": "Bruno"
}, - "gender": "m",
- "dob": "2019-08-24",
- "race": [
- "native"
], - "ethnicity": "hispanic",
- "addresses": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "st",
- "zip_code": "string",
- "bill": false,
- "mail": false,
- "pos": "",
- "pos_code_title": "string"
}
], - "comorbidities": [
- "adhd"
], - "languages": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "language": "English",
- "primary": true,
- "service": true
}
], - "block_video_capture": false,
- "insurance_cards": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "Humana",
- "plan_type": "hmo",
- "priority": "primary",
- "group": "GROUP_ABC",
- "member_id": "abcd1234",
- "effective_date": "2019-08-24",
- "expire_date": "2019-08-24",
- "subscriber": "",
- "relationship": "self",
- "is_active": true
}
], - "external_mrns": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id_type": "CRID",
- "id": "APN83095"
}
], - "is_active": true,
- "date_of_referral": "2019-08-24"
}
List all care team members for a given client.
client_uuid required | string <uuid> ^[0-9a-f-]+$ |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "phone_number": "string"
}
Assign new Care Team members with related data for provided client
client_uuid required | string^[0-9a-f-]+$ |
id | string <uuid> |
email required | string <email> <= 254 characters |
first_name | string or null <= 255 characters |
last_name | string or null <= 255 characters |
phone_number | string or null <= 128 characters |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "phone_number": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "phone_number": "string"
}
Retrieve the Care Team Member linked with the provided client
client_uuid required | string <uuid> ^[0-9a-f-]+$ |
uuid required | string <uuid> ^[0-9a-f-]+$ |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "phone_number": "string"
}
Overwrite the provided client's care team member information.
client_uuid required | string <uuid> ^[0-9a-f-]+$ |
uuid required | string <uuid> ^[0-9a-f-]+$ |
id | string <uuid> |
email required | string <email> <= 254 characters |
first_name | string or null <= 255 characters |
last_name | string or null <= 255 characters |
phone_number | string or null <= 128 characters |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "phone_number": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "phone_number": "string"
}
Update the provided client's care team member information.
client_uuid required | string <uuid> ^[0-9a-f-]+$ |
uuid required | string <uuid> ^[0-9a-f-]+$ |
id | string <uuid> |
string <email> <= 254 characters | |
first_name | string or null <= 255 characters |
last_name | string or null <= 255 characters |
phone_number | string or null <= 128 characters |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "phone_number": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "phone_number": "string"
}
Retrieve a list of guardians for a client.
uuid required | string <uuid> |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": {
- "first": "string",
- "preferred_first": "",
- "last": "string"
}, - "dob": "2019-08-24",
- "email": "user@example.com",
- "phone": "string",
- "address": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "string",
- "zip_code": "string"
}, - "language": "string",
- "note": "string",
- "clients": [ ]
}
]
Retrieve a list of all guardians associated with an agency.
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": {
- "first": "string",
- "preferred_first": "",
- "last": "string"
}, - "dob": "2019-08-24",
- "email": "user@example.com",
- "phone": "string",
- "address": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "string",
- "zip_code": "string"
}, - "language": "string",
- "note": "string",
- "clients": [ ]
}
]
Create a new guardian.
required | object (GuardianName) |
dob required | string <date> |
string or null <email> <= 255 characters | |
phone | string or null <= 255 characters |
required | object (GuardianAddress) |
language required | string |
note | string or null |
Array of objects (Relationship) Default: [] |
{- "name": {
- "first": "string",
- "preferred_first": "",
- "last": "string"
}, - "dob": "2019-08-24",
- "email": "user@example.com",
- "phone": "string",
- "address": {
- "address": "string",
- "address_2": "",
- "city": "string",
- "state": "st",
- "zip_code": "string"
}, - "language": "string",
- "note": "string",
- "clients": [ ]
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": {
- "first": "string",
- "preferred_first": "",
- "last": "string"
}, - "dob": "2019-08-24",
- "email": "user@example.com",
- "phone": "string",
- "address": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "string",
- "zip_code": "string"
}, - "language": "string",
- "note": "string",
- "clients": [ ]
}
]
Retrieve information about a specific guardian.
uuid required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": {
- "first": "string",
- "preferred_first": "",
- "last": "string"
}, - "dob": "2019-08-24",
- "email": "user@example.com",
- "phone": "string",
- "address": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "string",
- "zip_code": "string"
}, - "language": "string",
- "note": "string",
- "clients": [ ]
}
Update a specific guardian.
uuid required | string <uuid> |
object (GuardianName) | |
dob | string <date> |
string or null <email> <= 255 characters | |
phone | string or null <= 255 characters |
object (GuardianAddress) | |
language | string |
note | string or null |
Array of objects (Relationship) Default: [] |
{- "name": {
- "first": "string",
- "preferred_first": "",
- "last": "string"
}, - "dob": "2019-08-24",
- "email": "user@example.com",
- "phone": "string",
- "address": {
- "address": "string",
- "address_2": "",
- "city": "string",
- "state": "st",
- "zip_code": "string"
}, - "language": "string",
- "note": "string",
- "clients": [ ]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": {
- "first": "string",
- "preferred_first": "",
- "last": "string"
}, - "dob": "2019-08-24",
- "email": "user@example.com",
- "phone": "string",
- "address": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "string",
- "zip_code": "string"
}, - "language": "string",
- "note": "string",
- "clients": [ ]
}
Get all staff associated with an agency.
string |
[- {
- "id": "string",
- "email": "user@example.com",
- "agency": "146639f4-7373-4aed-9807-16621365dd97",
- "clinic": "string",
- "roles": [
- {
- "role": "AgencyAdmin",
- "access_level": "care_team_only"
}
], - "name": {
- "first": "Jonathan",
- "preferred_first": "John",
- "last": "Smith"
}, - "phone": "string",
- "gender": "m",
- "status": "active",
- "profile": {
- "hire_date": "2019-08-24",
- "languages": "string",
- "cultural_competencies": "string",
- "education": "string",
- "specialties": [
- "fe"
], - "emergency_contact": {
- "name": "string",
- "phone": "string"
}
}, - "credentials": [
- {
- "date": "2019-08-24",
- "credential": "256a1dc1-988b-49a4-9530-89f205862fb6",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "credential_number": "string",
- "state": "AL",
- "recertification_date": "2019-08-24"
}
], - "external_ids": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id": "string",
- "id_type": "string"
}
], - "is_active": true
}
]
Create a new user in Twyll.
email required | string <email> |
status required | string Enum: "active" "inactive" The user's status. This field is related to |
agency | string <uuid> The UUID of the agency that a staff member is associated with. Ask your Twyll representative for a list of valid agency UUIDs. |
clinic required | string The UUID of the clinic that a staff member is associated with. Ask your Twyll representative for a list of valid clinic UUIDs. Not required for Agency Admins. |
required | Array of objects (UserRole) A list of roles associated with a staff member. Agency Admin and other roles may not be combined. |
required | object (UserName) |
phone required | string or null |
gender required | string (GenderEnum) Enum: "m" "fe" "nb"
|
required | object (StaffProfile) |
required | Array of objects (StaffCredential) |
required | Array of objects (StaffExternalId) |
is_active | boolean A flag indicating whether the staff member is active and should be allowed to log into Twyll. |
{- "email": "user@example.com",
- "status": "active",
- "agency": "146639f4-7373-4aed-9807-16621365dd97",
- "clinic": "string",
- "roles": [
- {
- "role": "AgencyAdmin",
- "access_level": "care_team_only"
}
], - "name": {
- "first": "Jonathan",
- "preferred_first": "John",
- "last": "Smith"
}, - "phone": "string",
- "gender": "m",
- "profile": {
- "hire_date": "2019-08-24",
- "languages": "string",
- "cultural_competencies": "string",
- "education": "string",
- "specialties": [
- "fe"
], - "emergency_contact": {
- "name": "string",
- "phone": "string"
}
}, - "credentials": [
- {
- "date": "2019-08-24",
- "credential": "256a1dc1-988b-49a4-9530-89f205862fb6",
- "credential_number": "string",
- "state": "AL",
- "recertification_date": "2019-08-24"
}
], - "external_ids": [
- {
- "id": "string",
- "id_type": "string"
}
], - "is_active": true
}
{- "id": "string",
- "email": "user@example.com",
- "agency": "146639f4-7373-4aed-9807-16621365dd97",
- "clinic": "string",
- "roles": [
- {
- "role": "AgencyAdmin",
- "access_level": "care_team_only"
}
], - "name": {
- "first": "Jonathan",
- "preferred_first": "John",
- "last": "Smith"
}, - "phone": "string",
- "gender": "m",
- "status": "active",
- "profile": {
- "hire_date": "2019-08-24",
- "languages": "string",
- "cultural_competencies": "string",
- "education": "string",
- "specialties": [
- "fe"
], - "emergency_contact": {
- "name": "string",
- "phone": "string"
}
}, - "credentials": [
- {
- "date": "2019-08-24",
- "credential": "256a1dc1-988b-49a4-9530-89f205862fb6",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "credential_number": "string",
- "state": "AL",
- "recertification_date": "2019-08-24"
}
], - "external_ids": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id": "string",
- "id_type": "string"
}
], - "is_active": true
}
Retrieve information about a user.
uuid required | string <uuid> |
{- "id": "string",
- "email": "user@example.com",
- "agency": "146639f4-7373-4aed-9807-16621365dd97",
- "clinic": "string",
- "roles": [
- {
- "role": "AgencyAdmin",
- "access_level": "care_team_only"
}
], - "name": {
- "first": "Jonathan",
- "preferred_first": "John",
- "last": "Smith"
}, - "phone": "string",
- "gender": "m",
- "status": "active",
- "profile": {
- "hire_date": "2019-08-24",
- "languages": "string",
- "cultural_competencies": "string",
- "education": "string",
- "specialties": [
- "fe"
], - "emergency_contact": {
- "name": "string",
- "phone": "string"
}
}, - "credentials": [
- {
- "date": "2019-08-24",
- "credential": "256a1dc1-988b-49a4-9530-89f205862fb6",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "credential_number": "string",
- "state": "AL",
- "recertification_date": "2019-08-24"
}
], - "external_ids": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id": "string",
- "id_type": "string"
}
], - "is_active": true
}
Overwrite User info and all related objects
uuid required | string <uuid> |
email required | string <email> |
status required | string Enum: "active" "inactive" The user's status. This field is related to |
agency | string <uuid> The UUID of the agency that a staff member is associated with. Ask your Twyll representative for a list of valid agency UUIDs. |
clinic required | string The UUID of the clinic that a staff member is associated with. Ask your Twyll representative for a list of valid clinic UUIDs. Not required for Agency Admins. |
required | Array of objects (UserRole) A list of roles associated with a staff member. Agency Admin and other roles may not be combined. |
required | object (UserName) |
phone required | string or null |
gender required | string (GenderEnum) Enum: "m" "fe" "nb"
|
required | object (StaffProfile) |
required | Array of objects (StaffCredential) |
required | Array of objects (StaffExternalId) |
is_active | boolean A flag indicating whether the staff member is active and should be allowed to log into Twyll. |
{- "email": "user@example.com",
- "status": "active",
- "agency": "146639f4-7373-4aed-9807-16621365dd97",
- "clinic": "string",
- "roles": [
- {
- "role": "AgencyAdmin",
- "access_level": "care_team_only"
}
], - "name": {
- "first": "Jonathan",
- "preferred_first": "John",
- "last": "Smith"
}, - "phone": "string",
- "gender": "m",
- "profile": {
- "hire_date": "2019-08-24",
- "languages": "string",
- "cultural_competencies": "string",
- "education": "string",
- "specialties": [
- "fe"
], - "emergency_contact": {
- "name": "string",
- "phone": "string"
}
}, - "credentials": [
- {
- "date": "2019-08-24",
- "credential": "256a1dc1-988b-49a4-9530-89f205862fb6",
- "credential_number": "string",
- "state": "AL",
- "recertification_date": "2019-08-24"
}
], - "external_ids": [
- {
- "id": "string",
- "id_type": "string"
}
], - "is_active": true
}
{- "id": "string",
- "email": "user@example.com",
- "agency": "146639f4-7373-4aed-9807-16621365dd97",
- "clinic": "string",
- "roles": [
- {
- "role": "AgencyAdmin",
- "access_level": "care_team_only"
}
], - "name": {
- "first": "Jonathan",
- "preferred_first": "John",
- "last": "Smith"
}, - "phone": "string",
- "gender": "m",
- "status": "active",
- "profile": {
- "hire_date": "2019-08-24",
- "languages": "string",
- "cultural_competencies": "string",
- "education": "string",
- "specialties": [
- "fe"
], - "emergency_contact": {
- "name": "string",
- "phone": "string"
}
}, - "credentials": [
- {
- "date": "2019-08-24",
- "credential": "256a1dc1-988b-49a4-9530-89f205862fb6",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "credential_number": "string",
- "state": "AL",
- "recertification_date": "2019-08-24"
}
], - "external_ids": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id": "string",
- "id_type": "string"
}
], - "is_active": true
}
Update a user.
uuid required | string <uuid> |
string <email> | |
status | string |
agency | string <uuid> |
Array of objects (UserRole) A list of roles associated with a staff member. Agency Admin and other roles may not be combined. | |
object (UserName) | |
phone | string or null |
gender | string (GenderEnum) Enum: "m" "fe" "nb"
|
object (StaffProfile) | |
Array of objects (StaffCredential) | |
Array of objects (StaffExternalId) | |
is_active | boolean A flag indicating whether the staff member is active and should be allowed to log into Twyll. |
{- "email": "user@example.com",
- "status": "string",
- "agency": "146639f4-7373-4aed-9807-16621365dd97",
- "roles": [
- {
- "role": "AgencyAdmin",
- "access_level": "care_team_only"
}
], - "name": {
- "first": "Jonathan",
- "preferred_first": "John",
- "last": "Smith"
}, - "phone": "string",
- "gender": "m",
- "profile": {
- "hire_date": "2019-08-24",
- "languages": "string",
- "cultural_competencies": "string",
- "education": "string",
- "specialties": [
- "fe"
], - "emergency_contact": {
- "name": "string",
- "phone": "string"
}
}, - "credentials": [
- {
- "date": "2019-08-24",
- "credential": "256a1dc1-988b-49a4-9530-89f205862fb6",
- "credential_number": "string",
- "state": "AL",
- "recertification_date": "2019-08-24"
}
], - "external_ids": [
- {
- "id": "string",
- "id_type": "string"
}
], - "is_active": false
}
{- "id": "string",
- "email": "user@example.com",
- "agency": "146639f4-7373-4aed-9807-16621365dd97",
- "clinic": "string",
- "roles": [
- {
- "role": "AgencyAdmin",
- "access_level": "care_team_only"
}
], - "name": {
- "first": "Jonathan",
- "preferred_first": "John",
- "last": "Smith"
}, - "phone": "string",
- "gender": "m",
- "status": "active",
- "profile": {
- "hire_date": "2019-08-24",
- "languages": "string",
- "cultural_competencies": "string",
- "education": "string",
- "specialties": [
- "fe"
], - "emergency_contact": {
- "name": "string",
- "phone": "string"
}
}, - "credentials": [
- {
- "date": "2019-08-24",
- "credential": "256a1dc1-988b-49a4-9530-89f205862fb6",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "credential_number": "string",
- "state": "AL",
- "recertification_date": "2019-08-24"
}
], - "external_ids": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id": "string",
- "id_type": "string"
}
], - "is_active": true
}
Custom GenericViewSet to support row-level access support
client_uuid required | string^[0-9a-f-]+$ |
status | string Enum: "pending" "active" "completed" "cancelled" "signed"
|
scheduled_start_after | string <date> Returns sessions that are scheduled to start on or after the provided date. |
scheduled_end_before | string <date> Returns sessions that are scheduled to end on or after the provided date. |
start_after | string <date> Returns sessions that have started on or after the provided date. |
end_before | string <date> Returns sessions that have ended on or before the provided date. |
[- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "staff": "8d657703-cb5b-4a28-99bb-c9684975d400",
- "session_type": "session",
- "status": "active",
- "note_state": "pending",
- "pos": "02",
- "address": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "NY",
- "zip_code": "string",
- "bill": true,
- "mail": true,
- "pos": "02",
- "pos_code_title": "string"
}, - "scheduled_times": {
- "start_at": "2024-10-23T13:30:00Z",
- "end_at": "2024-10-23T13:30:00Z"
}, - "source": "External System Name",
- "references": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id_type": "ExternalSystemID",
- "id": "ad231342edead"
}
], - "billcodes": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "service_description": "Direct Therapy",
- "procedure_code": "97153",
- "units": 8
}
], - "mileage": 22,
- "drive_times": [
- {
- "start_at": "10:35",
- "end_at": "10:55"
}
], - "actual_times": [
- {
- "start_at": "2024-10-23T13:30:00Z",
- "end_at": "2024-10-23T13:30:00Z"
}
], - "signatures": [
- {
- "signed_by_role": "Technician",
- "signed_by_name": "Tim McTimmy, BCBA",
- "signed_at": "2024-10-23T13:30:00Z"
}
], - "cancel_reason": "client_illness",
- "cancel_comment": "string"
}
]
Create new session(s) for provided client. When providing an array, if any of the session objects in the array list fail to create then the entire array will not post sucecssfully.
client_uuid required | string^[0-9a-f-]+$ |
You may provide an array of session objects to create, or a singular object not in an array.
uuid | string <uuid> |
clinic required | string <uuid> The UUID of the clinic that a session is associated with. Ask your Twyll representative for a list of valid clinic UUIDs. |
staff required | string <uuid> The Twyll UUID of the staff member associated with a session. Cannot be changed once a session has started. |
required | SessionTypeEnum (string) Default: "session" The type of session. "Session" sessions utilize the Twyll in session experience for capturing observations. "Document" sessions allow for session notes to be captured and are primarily used for supervisor notes. |
status required | string Enum: "active" "cancelled" The session's status. PENDING has been deprecated. |
pos required | string (PosCodeEnum) Enum: "02" "03" "10" "11" "12"
|
object (SessionAddress) The location associated with a session. If the address does not exist, it will be added to the client profile. | |
scheduled_start_at required | string <date-time> The time in which a session is expected to start (UTC). Cannot be changed once a session has started. |
scheduled_end_at required | string <date-time> The time in which a session is expected to end (UTC). Cannot be changed once a session has started. |
source required | string The sending system for a session. |
funder | string <= 255 characters |
Array of objects (SessionExternalIds) | |
Array of objects (SessionBillcodes) | |
CancelReasonEnum (string) or BlankEnum (any) | |
cancel_comment | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "clinic": "f88966de-1f8f-43e3-80b5-5d9ae2fdae64",
- "staff": "8d657703-cb5b-4a28-99bb-c9684975d400",
- "session_type": "session",
- "status": "active",
- "pos": "02",
- "address": {
- "address": "string",
- "address_2": "",
- "city": "string",
- "state": "st",
- "zip_code": "string"
}, - "scheduled_start_at": "2024-10-23T13:30:00Z",
- "scheduled_end_at": "2024-10-23T13:30:00Z",
- "source": "External System Name",
- "funder": "Blue Cross Blue Shield",
- "references": [
- {
- "id_type": "string",
- "id": "string"
}
], - "billcodes": [
- {
- "service_description": "Direct Therapy",
- "procedure_code": "97153",
- "units": 8
}
], - "cancel_reason": "client_illness",
- "cancel_comment": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "staff": "8d657703-cb5b-4a28-99bb-c9684975d400",
- "session_type": "session",
- "status": "active",
- "note_state": "pending",
- "pos": "02",
- "address": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "NY",
- "zip_code": "string",
- "bill": true,
- "mail": true,
- "pos": "02",
- "pos_code_title": "string"
}, - "scheduled_times": {
- "start_at": "2024-10-23T13:30:00Z",
- "end_at": "2024-10-23T13:30:00Z"
}, - "source": "External System Name",
- "references": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id_type": "ExternalSystemID",
- "id": "ad231342edead"
}
], - "billcodes": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "service_description": "Direct Therapy",
- "procedure_code": "97153",
- "units": 8
}
], - "mileage": 22,
- "drive_times": [
- {
- "start_at": "10:35",
- "end_at": "10:55"
}
], - "actual_times": [
- {
- "start_at": "2024-10-23T13:30:00Z",
- "end_at": "2024-10-23T13:30:00Z"
}
], - "signatures": [
- {
- "signed_by_role": "Technician",
- "signed_by_name": "Tim McTimmy, BCBA",
- "signed_at": "2024-10-23T13:30:00Z"
}
], - "cancel_reason": "client_illness",
- "cancel_comment": "string"
}
Retrieve a specific session for a client.
client_uuid required | string^[0-9a-f-]+$ |
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "staff": "8d657703-cb5b-4a28-99bb-c9684975d400",
- "session_type": "session",
- "status": "active",
- "note_state": "pending",
- "pos": "02",
- "address": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "NY",
- "zip_code": "string",
- "bill": true,
- "mail": true,
- "pos": "02",
- "pos_code_title": "string"
}, - "scheduled_times": {
- "start_at": "2024-10-23T13:30:00Z",
- "end_at": "2024-10-23T13:30:00Z"
}, - "source": "External System Name",
- "references": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id_type": "ExternalSystemID",
- "id": "ad231342edead"
}
], - "billcodes": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "service_description": "Direct Therapy",
- "procedure_code": "97153",
- "units": 8
}
], - "mileage": 22,
- "drive_times": [
- {
- "start_at": "10:35",
- "end_at": "10:55"
}
], - "actual_times": [
- {
- "start_at": "2024-10-23T13:30:00Z",
- "end_at": "2024-10-23T13:30:00Z"
}
], - "signatures": [
- {
- "signed_by_role": "Technician",
- "signed_by_name": "Tim McTimmy, BCBA",
- "signed_at": "2024-10-23T13:30:00Z"
}
], - "cancel_reason": "client_illness",
- "cancel_comment": "string"
}
Overwrites session information
client_uuid required | string^[0-9a-f-]+$ |
uuid required | string <uuid> |
staff | string <uuid> The Twyll UUID of the staff member associated with a session. Cannot be changed once a session has started. |
status | string Enum: "pending" "cancelled" The session's status |
SessionTypeEnum (string) Default: "session" The type of session. "Session" sessions utilize the Twyll in session experience for capturing observations. "Document" sessions allow for session notes to be captured and are primarily used for supervisor notes. | |
object (SessionAddress) The location associated with a session. If the address does not exist, it will be added to the client profile. | |
scheduled_start_at | string <date-time> The time in which a session is expected to start (UTC). Cannot be changed once a session has started. |
scheduled_end_at | string <date-time> The time in which a session is expected to end (UTC). Cannot be changed once a session has started. |
source | string The sending system for a session. |
funder | string <= 255 characters |
Array of objects (SessionExternalIds) | |
Array of objects (SessionBillcodes) | |
CancelReasonEnum (string) or BlankEnum (any) | |
cancel_comment | string |
{- "staff": "8d657703-cb5b-4a28-99bb-c9684975d400",
- "status": "pending",
- "session_type": "session",
- "address": {
- "address": "string",
- "address_2": "",
- "city": "string",
- "state": "st",
- "zip_code": "string"
}, - "scheduled_start_at": "2024-10-23T13:30:00Z",
- "scheduled_end_at": "2024-10-23T13:30:00Z",
- "source": "External System Name",
- "funder": "Blue Cross Blue Shield",
- "references": [
- {
- "id_type": "string",
- "id": "string"
}
], - "billcodes": [
- {
- "service_description": "Direct Therapy",
- "procedure_code": "97153",
- "units": 8
}
], - "cancel_reason": "client_illness",
- "cancel_comment": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "staff": "8d657703-cb5b-4a28-99bb-c9684975d400",
- "session_type": "session",
- "status": "active",
- "note_state": "pending",
- "pos": "02",
- "address": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "NY",
- "zip_code": "string",
- "bill": true,
- "mail": true,
- "pos": "02",
- "pos_code_title": "string"
}, - "scheduled_times": {
- "start_at": "2024-10-23T13:30:00Z",
- "end_at": "2024-10-23T13:30:00Z"
}, - "source": "External System Name",
- "references": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id_type": "ExternalSystemID",
- "id": "ad231342edead"
}
], - "billcodes": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "service_description": "Direct Therapy",
- "procedure_code": "97153",
- "units": 8
}
], - "mileage": 22,
- "drive_times": [
- {
- "start_at": "10:35",
- "end_at": "10:55"
}
], - "actual_times": [
- {
- "start_at": "2024-10-23T13:30:00Z",
- "end_at": "2024-10-23T13:30:00Z"
}
], - "signatures": [
- {
- "signed_by_role": "Technician",
- "signed_by_name": "Tim McTimmy, BCBA",
- "signed_at": "2024-10-23T13:30:00Z"
}
], - "cancel_reason": "client_illness",
- "cancel_comment": "string"
}
Update a session.
client_uuid required | string^[0-9a-f-]+$ |
uuid required | string <uuid> |
staff | string <uuid> The Twyll UUID of the staff member associated with a session. Cannot be changed once a session has started. |
status | string Enum: "pending" "cancelled" The session's status |
SessionTypeEnum (string) Default: "session" The type of session. "Session" sessions utilize the Twyll in session experience for capturing observations. "Document" sessions allow for session notes to be captured and are primarily used for supervisor notes. | |
object (SessionAddress) The location associated with a session. If the address does not exist, it will be added to the client profile. | |
scheduled_start_at | string <date-time> The time in which a session is expected to start (UTC). Cannot be changed once a session has started. |
scheduled_end_at | string <date-time> The time in which a session is expected to end (UTC). Cannot be changed once a session has started. |
source | string The sending system for a session. |
funder | string <= 255 characters |
Array of objects (SessionExternalIds) | |
Array of objects (SessionBillcodes) | |
CancelReasonEnum (string) or BlankEnum (any) | |
cancel_comment | string |
{- "staff": "8d657703-cb5b-4a28-99bb-c9684975d400",
- "status": "pending",
- "session_type": "session",
- "address": {
- "address": "string",
- "address_2": "",
- "city": "string",
- "state": "st",
- "zip_code": "string"
}, - "scheduled_start_at": "2024-10-23T13:30:00Z",
- "scheduled_end_at": "2024-10-23T13:30:00Z",
- "source": "External System Name",
- "funder": "Blue Cross Blue Shield",
- "references": [
- {
- "id_type": "string",
- "id": "string"
}
], - "billcodes": [
- {
- "service_description": "Direct Therapy",
- "procedure_code": "97153",
- "units": 8
}
], - "cancel_reason": "client_illness",
- "cancel_comment": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "staff": "8d657703-cb5b-4a28-99bb-c9684975d400",
- "session_type": "session",
- "status": "active",
- "note_state": "pending",
- "pos": "02",
- "address": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "NY",
- "zip_code": "string",
- "bill": true,
- "mail": true,
- "pos": "02",
- "pos_code_title": "string"
}, - "scheduled_times": {
- "start_at": "2024-10-23T13:30:00Z",
- "end_at": "2024-10-23T13:30:00Z"
}, - "source": "External System Name",
- "references": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id_type": "ExternalSystemID",
- "id": "ad231342edead"
}
], - "billcodes": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "service_description": "Direct Therapy",
- "procedure_code": "97153",
- "units": 8
}
], - "mileage": 22,
- "drive_times": [
- {
- "start_at": "10:35",
- "end_at": "10:55"
}
], - "actual_times": [
- {
- "start_at": "2024-10-23T13:30:00Z",
- "end_at": "2024-10-23T13:30:00Z"
}
], - "signatures": [
- {
- "signed_by_role": "Technician",
- "signed_by_name": "Tim McTimmy, BCBA",
- "signed_at": "2024-10-23T13:30:00Z"
}
], - "cancel_reason": "client_illness",
- "cancel_comment": "string"
}
Get a list of sessions given one or more of the provided parameters.
end_before | string <date> |
scheduled_end_before | string <date> |
scheduled_start_after | string <date> |
start_after | string <date> |
status | string |
[- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "staff": "8d657703-cb5b-4a28-99bb-c9684975d400",
- "session_type": "session",
- "status": "active",
- "note_state": "pending",
- "pos": "02",
- "address": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "address": "string",
- "address_2": "string",
- "city": "string",
- "state": "NY",
- "zip_code": "string",
- "bill": true,
- "mail": true,
- "pos": "02",
- "pos_code_title": "string"
}, - "scheduled_times": {
- "start_at": "2024-10-23T13:30:00Z",
- "end_at": "2024-10-23T13:30:00Z"
}, - "source": "External System Name",
- "references": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id_type": "ExternalSystemID",
- "id": "ad231342edead"
}
], - "billcodes": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "service_description": "Direct Therapy",
- "procedure_code": "97153",
- "units": 8
}
], - "mileage": 22,
- "drive_times": [
- {
- "start_at": "10:35",
- "end_at": "10:55"
}
], - "actual_times": [
- {
- "start_at": "2024-10-23T13:30:00Z",
- "end_at": "2024-10-23T13:30:00Z"
}
], - "signatures": [
- {
- "signed_by_role": "Technician",
- "signed_by_name": "Tim McTimmy, BCBA",
- "signed_at": "2024-10-23T13:30:00Z"
}
], - "cancel_reason": "client_illness",
- "cancel_comment": "string"
}
]
Retrieve a session note as a base64 encoded PDF.
client_uuid required | string <uuid> ^[0-9a-f-]+$ |
session_uuid required | string <uuid> ^[0-9a-f-]+$ |
{- "id": "string",
- "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
- "client_id": "5b3fa7ba-57d3-4017-a65b-d57dcd2db643",
- "staff_id": "4dfd334e-64d8-4482-906d-5dadd5efac56",
- "soap_note": "string"
}
Send notifications to all users associated with a clinic if provided, or all users in the agency.
required | object (Notification) The notification details. |
clinic | string <uuid> The UUID of the clinic to send notifications to. If not provided, notifications will be sent to all users in the agency. |
autoclose | integer The number of milliseconds to automatically close the notification. If not provided, the notification will not automatically close. |
{- "notification": {
- "notification_type": "default",
- "category": "info",
- "action_link": {
- "action_link": null,
- "action_link_label": "string"
}, - "title": "string",
- "description": "string"
}, - "clinic": "f88966de-1f8f-43e3-80b5-5d9ae2fdae64",
- "autoclose": 0
}
{- "message": "Notifications created successfully for specified users."
}
Creates a new notification for the specified user.
user_uuid required | string <uuid> |
notification_type required | string Enum: "default" "default_with_icons" The type of notification to send. If not provided, default will be used. |
category required | string Default: "info" Enum: "info" "success" "warning" "error" The category of notification to send. If not provided, |
object | |
title required | string <= 255 characters The title of the notification. |
description | string <= 255 characters The body of the notification. |
{- "notification_type": "default",
- "category": "info",
- "action_link": {
- "action_link": null,
- "action_link_label": "string"
}, - "title": "string",
- "description": "string"
}