Carium API (R2025010800)
Welcome to the Carium API reference documentation!
All Carium functionality is available via the API. Here you can find all the details you need to properly formulate calls and interpret responses.
APIs here adhere to convention listed in our API Conventions unless otherwise specified.
This documentation is a filtered, cleaned, and organized subset of the OpenAPI specifications for the Carium API. For a comprehensive list of all available endpoints, see the full specifications for the services listed below.
Application | Version | Comprehensive Source |
---|---|---|
caredb | 24.27.0 | Caredb Swagger3.json |
courier | 9.137.0 | Courier Swagger3.json |
cronkite | 7.2.0 | Cronkite Swagger3.json |
dataengine | 4.91.0 | Dataengine Swagger3.json |
drow | 0.96.0 | Drow Swagger3.json |
identity | 18.2.0 | Identity Swagger3.json |
integrator | 5.59.0 | Integrator Swagger3.json |
lachesis | 7.131.0 | Lachesis Swagger3.json |
oracle | 0.36.0 | Oracle Swagger3.json |
overlord | 10.70.0 | Overlord Swagger3.json |
pylon | 5.8.4 | Pylon Swagger3.json |
showboat | 10.211.0 | Showboat Swagger3.json |
sked | 0.101.0 | Sked Swagger3.json |
© 2024 Carium, Inc. All rights reserved.
Login
Request Body schema: application/json
password required | string |
username required | string |
access-token-expiration-seconds | integer [ 1 .. 3600 ] Access token lifetime in seconds. Do not specify for longest allowable duration. |
interactive | boolean Default: true Is this login due to immediate user presence |
locale | string |
refresh-token-expiration-seconds | integer >= 1 Refresh token lifetime in seconds. Do not specify for longest allowable duration. |
service-document-agreements | Array of strings <uuid> [ items <uuid > ] List of service document IDs being agreed to during this login. These may be required to log in. |
simulated-queue-delay | integer >= 1 (Developer feature) Simulate background job delay by number of milliseconds |
sticky-access-token-expiration | boolean |
totp-code | string TOTP Code for Two Factor Authentication |
Responses
Request samples
- Payload
{- "access-token-expiration-seconds": 1,
- "interactive": true,
- "locale": "string",
- "password": "string",
- "refresh-token-expiration-seconds": 1,
- "service-document-agreements": [
- "11111111-1111-1111-1111-111111111111"
], - "simulated-queue-delay": 1,
- "sticky-access-token-expiration": true,
- "totp-code": "string",
- "username": "string"
}
Response samples
- 201
- 4XX
{- "redirect-url": "string"
}
Check Password Strength
Request Body schema: application/json
password required | string [ 1 .. 255 ] characters The password for which to calculate strength. |
check-pwned | boolean Default: false |
Responses
Request samples
- Payload
{- "check-pwned": false,
- "password": "string"
}
Response samples
- 201
{- "pwned": {
- "message": "string",
- "times": -1
}, - "strength": {
- "label": "string",
- "value": 2
}, - "suggestions": [
- "string"
]
}
List Homefeed Logs
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
filter[entry-id] | string <uuid> Example: filter[entry-id]=11111111-1111-1111-1111-111111111111 |
filter[entry-time] | Array of strings <= 2 items [ items <= 40 characters ] Compare timestamp against entry_time. Specify [comparator][datetime]. Comparators supported >, <, <=, >=. Use multiple to build a bounded time frame. |
filter[entry-type] | string <= 64 characters |
page[limit] | integer (ShowboatPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (ShowboatPageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "entry-data": {
- "args": {
- "external-url": "string"
}, - "description": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "generic"
}, - "entry-id": "11111111-1111-1111-1111-111111111111",
- "entry-time": "string",
- "entry-type": "banner",
- "hide-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "priority": 0,
- "visible": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "homefeed-logs"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "entry-data": {
- "args": {
- "external-url": "string"
}, - "description": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "generic"
}, - "entry-id": "11111111-1111-1111-1111-111111111111",
- "entry-time": "string",
- "entry-type": "banner",
- "hide-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "priority": 0,
- "visible": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "homefeed-logs"
}, - "meta": { }
}
Hide Homefeed Log
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
{- "data": {
- "attributes": {
- "entry-data": {
- "args": {
- "external-url": "string"
}, - "description": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "generic"
}, - "entry-id": "11111111-1111-1111-1111-111111111111",
- "entry-time": "string",
- "entry-type": "banner",
- "hide-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "priority": 0,
- "visible": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "homefeed-logs"
}, - "meta": { }
}
Respond to Homefeed Log
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
scheduler-id required | string <uuid> |
status required | string Enum: "SKIPPED" "TAKEN" |
taken-at required | string <datetime> |
type | string Value: "medication-scheduler" |
Responses
Request samples
- Payload
{- "type": "notification"
}
Response samples
- 201
- 4XX
null
List Groups Deprecated
query Parameters
exclude[individual-id] | string <uuid> Example: exclude[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[cmp-last-modified-time] | Array of strings <= 2 items [ items <= 40 characters ] Compare timestamp against last-modified-time. Specify [comparator][datetime]. Comparators supported >, <, <=, >=. Use multiple to build a bounded time frame. |
filter[eligible-individual-id] | string <uuid> Example: filter[eligible-individual-id]=11111111-1111-1111-1111-111111111111 |
filter[exclude-ids] | Array of strings <uuid> [ items <uuid > ] Example: filter[exclude-ids]=11111111-1111-1111-1111-111111111111 |
filter[include-inactive] | boolean Default: false |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[leader-id] | string <uuid> Example: filter[leader-id]=11111111-1111-1111-1111-111111111111 |
filter[node-type] | string Enum: "division" "group" |
filter[parent-group-id] | string <uuid> Example: filter[parent-group-id]=11111111-1111-1111-1111-111111111111 |
filter[tags] | Array of strings[ items <= 127 characters ] |
filter[text] | string <= 255 characters |
filter[tree-node-type] | string Enum: "leaf" "non-leaf" |
ids | Array of strings <uuid> [ items <uuid > ] Example: ids=11111111-1111-1111-1111-111111111111 |
name | string <= 255 characters |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (IdentityPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (IdentityPageOffset) >= 0 Default: 0 |
type | Array of strings Default: "regular&type=provider_only" Items Enum: "all_participants" "provider_only" "regular" "unassigned" |
with-individuals | boolean Deprecated Default: false |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "child-count": 0,
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "phone-verified": true,
- "preferred-name": "string",
- "registered": true,
- "registration-invite": "accepted",
- "tz": "string",
- "verified": true
}
], - "individuals-count": 0,
- "is-active": true,
- "last-modified-time": "string",
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "members": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "name": "string",
- "node-type": "division",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "self-can-write": true,
- "tags": [
- "string"
], - "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-groups"
}
], - "meta": { }
}
Create Group
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "name": "string",
- "node-type": "division",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "tags": [
- "string"
], - "type": "provider_only"
}, - "type": "individual-groups"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "child-count": 0,
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "phone-verified": true,
- "preferred-name": "string",
- "registered": true,
- "registration-invite": "accepted",
- "tz": "string",
- "verified": true
}
], - "individuals-count": 0,
- "is-active": true,
- "last-modified-time": "string",
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "members": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "name": "string",
- "node-type": "division",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "self-can-write": true,
- "tags": [
- "string"
], - "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-groups"
}, - "meta": { }
}
Get Specific Group
path Parameters
id required | string Resource identifier |
query Parameters
with-individuals | boolean Default: false |
with-members | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "child-count": 0,
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "phone-verified": true,
- "preferred-name": "string",
- "registered": true,
- "registration-invite": "accepted",
- "tz": "string",
- "verified": true
}
], - "individuals-count": 0,
- "is-active": true,
- "last-modified-time": "string",
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "members": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "name": "string",
- "node-type": "division",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "self-can-write": true,
- "tags": [
- "string"
], - "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-groups"
}, - "meta": { }
}
Update Group
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "name": "string",
- "tags": [
- "string"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-groups"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "child-count": 0,
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "phone-verified": true,
- "preferred-name": "string",
- "registered": true,
- "registration-invite": "accepted",
- "tz": "string",
- "verified": true
}
], - "individuals-count": 0,
- "is-active": true,
- "last-modified-time": "string",
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "members": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "name": "string",
- "node-type": "division",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "self-can-write": true,
- "tags": [
- "string"
], - "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-groups"
}, - "meta": { }
}
Add Individuals to Group
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
individual-ids required | Array of strings <uuid> non-empty [ items <uuid > ] |
remove-from-group | string <uuid> |
with-individuals | boolean Default: false |
with-members | boolean Default: false |
Responses
Request samples
- Payload
{- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "remove-from-group": "11111111-1111-1111-1111-111111111111",
- "with-individuals": false,
- "with-members": false
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "child-count": 0,
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "phone-verified": true,
- "preferred-name": "string",
- "registered": true,
- "registration-invite": "accepted",
- "tz": "string",
- "verified": true
}
], - "individuals-count": 0,
- "is-active": true,
- "last-modified-time": "string",
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "members": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "name": "string",
- "node-type": "division",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "self-can-write": true,
- "tags": [
- "string"
], - "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-groups"
}, - "meta": { }
}
Add Leaders to Group
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
user-ids required | Array of strings <uuid> non-empty [ items <uuid > ] |
remove-from-group | string <uuid> |
with-individuals | boolean Default: false |
with-members | boolean Default: false |
Responses
Request samples
- Payload
{- "remove-from-group": "11111111-1111-1111-1111-111111111111",
- "user-emails": [
- "string"
], - "with-individuals": false,
- "with-members": false
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "child-count": 0,
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "phone-verified": true,
- "preferred-name": "string",
- "registered": true,
- "registration-invite": "accepted",
- "tz": "string",
- "verified": true
}
], - "individuals-count": 0,
- "is-active": true,
- "last-modified-time": "string",
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "members": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "name": "string",
- "node-type": "division",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "self-can-write": true,
- "tags": [
- "string"
], - "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-groups"
}, - "meta": { }
}
Add Members to Group
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
user-ids required | Array of strings <uuid> non-empty [ items <uuid > ] |
remove-from-group | string <uuid> |
with-individuals | boolean Default: false |
with-members | boolean Default: false |
Responses
Request samples
- Payload
{- "remove-from-group": "11111111-1111-1111-1111-111111111111",
- "user-emails": [
- "string"
], - "with-individuals": false,
- "with-members": false
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "child-count": 0,
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "phone-verified": true,
- "preferred-name": "string",
- "registered": true,
- "registration-invite": "accepted",
- "tz": "string",
- "verified": true
}
], - "individuals-count": 0,
- "is-active": true,
- "last-modified-time": "string",
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "members": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "name": "string",
- "node-type": "division",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "self-can-write": true,
- "tags": [
- "string"
], - "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-groups"
}, - "meta": { }
}
Get Eligible Members
path Parameters
id required | string Resource identifier |
query Parameters
filter[registration-invite] | string Enum: "accepted" "failed" "none" "sent" |
filter[text] | string <= 255 characters |
filter[verified] | boolean |
for-children | boolean |
member-type | string Default: "leader" Enum: "individual" "leader" "member" |
page[limit] | integer (IdentityPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (IdentityPageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "member-type": "leader",
- "phone-verified": true,
- "verified": true
}
], - "meta": {
- "page[limit]": 0,
- "page[offset]": 0,
- "page[total]": 0
}
}
Move Group
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
to-parent-group-id required | string <uuid> |
Responses
Request samples
- Payload
{- "to-parent-group-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
- 4XX
{- "data": {
- "task-id": "11111111-1111-1111-1111-111111111111"
}
}
Remove Individuals from Group
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
individual-ids required | Array of strings <uuid> non-empty [ items <uuid > ] |
with-individuals | boolean Default: false |
with-members | boolean Default: false |
Responses
Request samples
- Payload
{- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "with-individuals": false,
- "with-members": false
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "child-count": 0,
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "phone-verified": true,
- "preferred-name": "string",
- "registered": true,
- "registration-invite": "accepted",
- "tz": "string",
- "verified": true
}
], - "individuals-count": 0,
- "is-active": true,
- "last-modified-time": "string",
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "members": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "name": "string",
- "node-type": "division",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "self-can-write": true,
- "tags": [
- "string"
], - "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-groups"
}, - "meta": { }
}
Remove Leaders from Group
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
user-ids required | Array of strings <uuid> non-empty [ items <uuid > ] |
with-individuals | boolean Default: false |
with-members | boolean Default: false |
Responses
Request samples
- Payload
{- "user-emails": [
- "string"
], - "with-individuals": false,
- "with-members": false
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "child-count": 0,
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "phone-verified": true,
- "preferred-name": "string",
- "registered": true,
- "registration-invite": "accepted",
- "tz": "string",
- "verified": true
}
], - "individuals-count": 0,
- "is-active": true,
- "last-modified-time": "string",
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "members": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "name": "string",
- "node-type": "division",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "self-can-write": true,
- "tags": [
- "string"
], - "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-groups"
}, - "meta": { }
}
Remove Members from Group
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
user-ids required | Array of strings <uuid> non-empty [ items <uuid > ] |
with-individuals | boolean Default: false |
with-members | boolean Default: false |
Responses
Request samples
- Payload
{- "user-emails": [
- "string"
], - "with-individuals": false,
- "with-members": false
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "child-count": 0,
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "phone-verified": true,
- "preferred-name": "string",
- "registered": true,
- "registration-invite": "accepted",
- "tz": "string",
- "verified": true
}
], - "individuals-count": 0,
- "is-active": true,
- "last-modified-time": "string",
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "members": [
- {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-by-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "string",
- "last-name": "string",
- "phone-verified": true,
- "registration-invite": "accepted",
- "verified": true
}
], - "name": "string",
- "node-type": "division",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "self-can-write": true,
- "tags": [
- "string"
], - "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-groups"
}, - "meta": { }
}
List Individuals
query Parameters
fields | Array of strings Items Enum: "action-completion-pct" "birth-date" "communication-preferences" "created-time" "current-action-completion-pct" "email" "email-verified" "first-name" "last-activity-time" "last-appointment-time" "last-article-read-time" "last-blood-glucose" "last-blood-glucose-context" "last-blood-glucose-state" "last-blood-glucose-time" "last-body-mass" "last-body-mass-time" "last-bp-diastolic" "last-bp-diastolic-state" "last-bp-systolic" "last-bp-systolic-state" "last-bp-time" "last-feeling" "last-feeling-time" "last-heart-rate" "last-heart-rate-time" "last-journal-ack-time" "last-login-time" "last-message-read-time" "last-message-received-time" "last-message-sent-time" "last-name" "last-o2-saturation" "last-o2-saturation-time" "last-survey-assigned-time" "last-survey-completed-time" "last-text-status" "phone-verified" "preferred-name" "registered" "registration-completed-time" "registration-invite" "sms-mode" "state" "unack-journal-count" |
filter[account-type] | string Default: "regular" Enum: "provider" "regular" |
filter[birth-date] | string <date> |
filter[email-verified] | boolean |
filter[email] | string <= 255 characters |
filter[exclude-self] | boolean Default: false |
filter[first-name] | string <= 255 characters |
filter[individual-group-id] | string <uuid> Example: filter[individual-group-id]=11111111-1111-1111-1111-111111111111 |
filter[individual-ids] | Array of strings <uuid> [ items <uuid > ] Example: filter[individual-ids]=11111111-1111-1111-1111-111111111111 |
filter[last-name] | string <= 255 characters |
filter[last-text-status] | string Enum: "created" "failed" "sent" |
filter[only-in-groups-with-leader-id] | string <uuid> Example: filter[only-in-groups-with-leader-id]=11111111-1111-1111-1111-111111111111 |
filter[phone-verified] | boolean |
filter[phone] | string <= 255 characters |
filter[registered] | boolean |
filter[registration-invite] | string Enum: "accepted" "failed" "none" "sent" |
filter[sms-mode] | string Enum: "disabled" "enabled" "optout" |
filter[state] | string Enum: "archived" "confirmed" "disabled" "force_reset_password" "init" "registered" "registered_disabled" |
filter[tag-ids] | Array of strings <uuid> [ items <uuid > ] Example: filter[tag-ids]=11111111-1111-1111-1111-111111111111 |
filter[workflowtype-name] | Array of strings[ items <= 255 characters ] |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (CaredbPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (CaredbPageOffset) >= 0 Default: 0 |
sort | Array of strings Default: "last-name" Items Enum: "-action-completion-pct" "-birth-date" "-communication-preferences" "-created-time" "-current-action-completion-pct" "-email" "-email-verified" "-first-name" "-last-activity-time" "-last-appointment-time" "-last-article-read-time" "-last-blood-glucose" "-last-blood-glucose-context" "-last-blood-glucose-state" "-last-blood-glucose-time" "-last-body-mass" "-last-body-mass-time" "-last-bp-diastolic" "-last-bp-diastolic-state" "-last-bp-systolic" "-last-bp-systolic-state" "-last-bp-time" "-last-feeling" "-last-feeling-time" "-last-heart-rate" "-last-heart-rate-time" "-last-journal-ack-time" "-last-login-time" "-last-message-read-time" "-last-message-received-time" "-last-message-sent-time" "-last-name" "-last-o2-saturation" "-last-o2-saturation-time" "-last-survey-assigned-time" "-last-survey-completed-time" "-last-text-status" "-phone-verified" "-preferred-name" "-registration-completed-time" "-registration-invite" "-sms-mode" "-state" "-unack-journal-count" "action-completion-pct" "birth-date" "communication-preferences" "created-time" "current-action-completion-pct" "email" "email-verified" "first-name" "last-activity-time" "last-appointment-time" "last-article-read-time" "last-blood-glucose" "last-blood-glucose-context" "last-blood-glucose-state" "last-blood-glucose-time" "last-body-mass" "last-body-mass-time" "last-bp-diastolic" "last-bp-diastolic-state" "last-bp-systolic" "last-bp-systolic-state" "last-bp-time" "last-feeling" "last-feeling-time" "last-heart-rate" "last-heart-rate-time" "last-journal-ack-time" "last-login-time" "last-message-read-time" "last-message-received-time" "last-message-sent-time" "last-name" "last-o2-saturation" "last-o2-saturation-time" "last-survey-assigned-time" "last-survey-completed-time" "last-text-status" "phone-verified" "preferred-name" "registration-completed-time" "registration-invite" "sms-mode" "state" "unack-journal-count" |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "action-completion-pct": "string",
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-time": "string",
- "current-action-completion-pct": "string",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "last-activity-time": "string",
- "last-appointment-time": "string",
- "last-article-read-time": "string",
- "last-blood-glucose": 0,
- "last-blood-glucose-context": "string",
- "last-blood-glucose-state": "ALERT_HIGH",
- "last-blood-glucose-time": "string",
- "last-body-mass": "string",
- "last-body-mass-time": "string",
- "last-bp-diastolic": 0,
- "last-bp-diastolic-state": "BELOW_NORMAL",
- "last-bp-systolic": 0,
- "last-bp-systolic-state": "BELOW_NORMAL",
- "last-bp-time": "string",
- "last-feeling": 0,
- "last-feeling-time": "string",
- "last-heart-rate": 0,
- "last-heart-rate-time": "string",
- "last-journal-ack-time": "string",
- "last-login-time": "string",
- "last-message-read-time": "string",
- "last-message-received-time": "string",
- "last-message-sent-time": "string",
- "last-name": "string",
- "last-o2-saturation": "string",
- "last-o2-saturation-time": "string",
- "last-survey-assigned-time": "string",
- "last-survey-completed-time": "string",
- "last-text-status": "created",
- "phone-verified": true,
- "preferred-name": "string",
- "registered": true,
- "registration-completed-time": "string",
- "registration-invite": "accepted",
- "sms-mode": "disabled",
- "state": "archived",
- "unack-journal-count": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "aggregation-individuals"
}
], - "meta": { }
}
Get Individual
path Parameters
id required | string Resource identifier |
query Parameters
fields | Array of strings Items Enum: "action-completion-pct" "birth-date" "communication-preferences" "created-time" "current-action-completion-pct" "email" "email-verified" "first-name" "last-activity-time" "last-appointment-time" "last-article-read-time" "last-blood-glucose" "last-blood-glucose-context" "last-blood-glucose-state" "last-blood-glucose-time" "last-body-mass" "last-body-mass-time" "last-bp-diastolic" "last-bp-diastolic-state" "last-bp-systolic" "last-bp-systolic-state" "last-bp-time" "last-feeling" "last-feeling-time" "last-heart-rate" "last-heart-rate-time" "last-journal-ack-time" "last-login-time" "last-message-read-time" "last-message-received-time" "last-message-sent-time" "last-name" "last-o2-saturation" "last-o2-saturation-time" "last-survey-assigned-time" "last-survey-completed-time" "last-text-status" "phone-verified" "preferred-name" "registered" "registration-completed-time" "registration-invite" "sms-mode" "state" "unack-journal-count" |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "action-completion-pct": "string",
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "created-time": "string",
- "current-action-completion-pct": "string",
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "last-activity-time": "string",
- "last-appointment-time": "string",
- "last-article-read-time": "string",
- "last-blood-glucose": 0,
- "last-blood-glucose-context": "string",
- "last-blood-glucose-state": "ALERT_HIGH",
- "last-blood-glucose-time": "string",
- "last-body-mass": "string",
- "last-body-mass-time": "string",
- "last-bp-diastolic": 0,
- "last-bp-diastolic-state": "BELOW_NORMAL",
- "last-bp-systolic": 0,
- "last-bp-systolic-state": "BELOW_NORMAL",
- "last-bp-time": "string",
- "last-feeling": 0,
- "last-feeling-time": "string",
- "last-heart-rate": 0,
- "last-heart-rate-time": "string",
- "last-journal-ack-time": "string",
- "last-login-time": "string",
- "last-message-read-time": "string",
- "last-message-received-time": "string",
- "last-message-sent-time": "string",
- "last-name": "string",
- "last-o2-saturation": "string",
- "last-o2-saturation-time": "string",
- "last-survey-assigned-time": "string",
- "last-survey-completed-time": "string",
- "last-text-status": "created",
- "phone-verified": true,
- "preferred-name": "string",
- "registered": true,
- "registration-completed-time": "string",
- "registration-invite": "accepted",
- "sms-mode": "disabled",
- "state": "archived",
- "unack-journal-count": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "aggregation-individuals"
}, - "meta": { }
}
List Articles
returns article summary based on article-version ids OR individual-id
query Parameters
article-content-ids | Array of strings <uuid> [ items <uuid > ] Example: article-content-ids=11111111-1111-1111-1111-111111111111 article-content ids |
filter[article-name] | string <= 255 characters |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
include-assigned-count | boolean Deprecated Default: false |
include-view-stats | boolean Default: false |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (CaredbPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (CaredbPageOffset) >= 0 Default: 0 |
query | string <= 255 characters search term for searching tags, title and description |
sort | Array of strings Items Enum: "-assigned-date" "-published-date" "-tags" "-views" "assigned-date" "published-date" "tags" "views" |
sort-by | Array of strings Deprecated Items Enum: "-published-date" "-tags" "-views" "published-date" "tags" "views" deprecated, use 'sort' option |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "article-name": "string",
- "assigned-count": 0,
- "content-direct-url": "string",
- "content-filename": "string",
- "content-id": "11111111-1111-1111-1111-111111111111",
- "content-type": "string",
- "content-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string",
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "content-url": "string",
- "created-at": "string",
- "description": "string",
- "individual-assigned-at": "string",
- "individual-last-viewed-at": "string",
- "individual-views": 0,
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-id": "11111111-1111-1111-1111-111111111111",
- "photo": "string",
- "photo-filename": "string",
- "photo-type": "string",
- "photo-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "selected-version": { },
- "tags": [
- "string"
], - "title": "string",
- "versions": [
- "11111111-1111-1111-1111-111111111111"
], - "views": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "articles"
}
], - "meta": { }
}
Create Article
Request Body schema:
article-name required | string <= 255 characters |
content-type required | string |
organization-id required | string <uuid> |
photo-type required | string Enum: "image/avif" "image/bmp" "image/gif" "image/heic" "image/jpeg" "image/png" "image/tiff" "image/webp" |
title required | string <= 255 characters |
assigned-count | integer |
content-filename | string |
content-id | string <uuid> Deprecated |
description | string <= 255 characters |
locale | string Default: "en_US" Enum: "en_US" "es_US" |
parent-id | string <uuid> |
photo-filename | string |
tags | string Comma separated list of tags |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "article-name": "string",
- "assigned-count": 0,
- "content-id": "11111111-1111-1111-1111-111111111111",
- "description": "string",
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-id": "11111111-1111-1111-1111-111111111111",
- "tags": "string",
- "title": "string"
}, - "type": "articles"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "article-name": "string",
- "assigned-count": 0,
- "content-direct-url": "string",
- "content-filename": "string",
- "content-id": "11111111-1111-1111-1111-111111111111",
- "content-type": "string",
- "content-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string",
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "content-url": "string",
- "created-at": "string",
- "description": "string",
- "individual-assigned-at": "string",
- "individual-last-viewed-at": "string",
- "individual-views": 0,
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-id": "11111111-1111-1111-1111-111111111111",
- "photo": "string",
- "photo-filename": "string",
- "photo-type": "string",
- "photo-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "selected-version": { },
- "tags": [
- "string"
], - "title": "string",
- "versions": [
- "11111111-1111-1111-1111-111111111111"
], - "views": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "articles"
}, - "meta": { }
}
Get Article
path Parameters
id required | string Resource identifier |
query Parameters
include-view-stats | boolean Default: false |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "article-name": "string",
- "assigned-count": 0,
- "content-direct-url": "string",
- "content-filename": "string",
- "content-id": "11111111-1111-1111-1111-111111111111",
- "content-type": "string",
- "content-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string",
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "content-url": "string",
- "created-at": "string",
- "description": "string",
- "individual-assigned-at": "string",
- "individual-last-viewed-at": "string",
- "individual-views": 0,
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-id": "11111111-1111-1111-1111-111111111111",
- "photo": "string",
- "photo-filename": "string",
- "photo-type": "string",
- "photo-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "selected-version": { },
- "tags": [
- "string"
], - "title": "string",
- "versions": [
- "11111111-1111-1111-1111-111111111111"
], - "views": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "articles"
}, - "meta": { }
}
Update Article
path Parameters
id required | string Resource identifier |
Request Body schema:
description | string <= 255 characters |
tags | string Comma separated list of tags |
title | string <= 255 characters |
Responses
Request samples
- Payload
{- "description": "string",
- "tags": "string",
- "title": "string",
- "url": "string"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "article-name": "string",
- "assigned-count": 0,
- "content-direct-url": "string",
- "content-filename": "string",
- "content-id": "11111111-1111-1111-1111-111111111111",
- "content-type": "string",
- "content-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string",
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "content-url": "string",
- "created-at": "string",
- "description": "string",
- "individual-assigned-at": "string",
- "individual-last-viewed-at": "string",
- "individual-views": 0,
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-id": "11111111-1111-1111-1111-111111111111",
- "photo": "string",
- "photo-filename": "string",
- "photo-type": "string",
- "photo-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "selected-version": { },
- "tags": [
- "string"
], - "title": "string",
- "versions": [
- "11111111-1111-1111-1111-111111111111"
], - "views": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "articles"
}, - "meta": { }
}
Add Photo to Article
path Parameters
id required | string Resource identifier |
Request Body schema: multipart/form-data
photo required | string <binary> |
photo-type required | string <= 127 characters |
photo-filename | string <= 255 characters |
Responses
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "article-name": "string",
- "assigned-count": 0,
- "content-direct-url": "string",
- "content-filename": "string",
- "content-id": "11111111-1111-1111-1111-111111111111",
- "content-type": "string",
- "content-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string",
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "content-url": "string",
- "created-at": "string",
- "description": "string",
- "individual-assigned-at": "string",
- "individual-last-viewed-at": "string",
- "individual-views": 0,
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-id": "11111111-1111-1111-1111-111111111111",
- "photo": "string",
- "photo-filename": "string",
- "photo-type": "string",
- "photo-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "selected-version": { },
- "tags": [
- "string"
], - "title": "string",
- "versions": [
- "11111111-1111-1111-1111-111111111111"
], - "views": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "articles"
}, - "meta": { }
}
Add Tags to Article
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
tag-ids | Array of strings[ items <= 32 characters ] |
Responses
Request samples
- Payload
{- "tag-ids": [
- "string"
]
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "article-name": "string",
- "assigned-count": 0,
- "content-direct-url": "string",
- "content-filename": "string",
- "content-id": "11111111-1111-1111-1111-111111111111",
- "content-type": "string",
- "content-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string",
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "content-url": "string",
- "created-at": "string",
- "description": "string",
- "individual-assigned-at": "string",
- "individual-last-viewed-at": "string",
- "individual-views": 0,
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-id": "11111111-1111-1111-1111-111111111111",
- "photo": "string",
- "photo-filename": "string",
- "photo-type": "string",
- "photo-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "selected-version": { },
- "tags": [
- "string"
], - "title": "string",
- "versions": [
- "11111111-1111-1111-1111-111111111111"
], - "views": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "articles"
}, - "meta": { }
}
Add Version to Article
path Parameters
id required | string Resource identifier |
Request Body schema:
url required | string |
update-assignment | boolean Default: false |
Responses
Request samples
- Payload
{- "update-assignment": false,
- "url": "string"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "content-filename": "string",
- "content-size": 0,
- "content-type": "string",
- "content-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "url": "string",
- "version": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "articles"
}, - "meta": { }
}
Assign Content to Article
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
all-participants required | any Value: true |
follow-group | boolean Default: true |
reassign | boolean Default: false |
send_notification | boolean Default: true |
Responses
Request samples
- Payload
{- "follow-group": true,
- "individual-group-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "reassign": false,
- "send_notification": true
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "content-filename": "string",
- "content-size": 0,
- "content-type": "string",
- "content-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "url": "string",
- "version": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "articles"
}, - "meta": { }
}
Get Article Content Metadata
returns article content metadata
path Parameters
id required | string Resource identifier |
query Parameters
version-id required | string <uuid> Example: version-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "content-filename": "string",
- "content-size": 0,
- "content-type": "string",
- "content-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "url": "string",
- "version": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "articles"
}, - "meta": { }
}
Get Article Content
returns article content
path Parameters
id required | string Resource identifier |
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 4XX
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "string"
}, - "status": 400
}
]
}
Process Content Upload
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
version-id required | string <uuid> |
Responses
Request samples
- Payload
{- "version-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
- 4XX
{ }
Remove Tags from Article
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
tag-ids | Array of strings[ items <= 32 characters ] |
Responses
Request samples
- Payload
{- "tag-ids": [
- "string"
]
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "article-name": "string",
- "assigned-count": 0,
- "content-direct-url": "string",
- "content-filename": "string",
- "content-id": "11111111-1111-1111-1111-111111111111",
- "content-type": "string",
- "content-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string",
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "content-url": "string",
- "created-at": "string",
- "description": "string",
- "individual-assigned-at": "string",
- "individual-last-viewed-at": "string",
- "individual-views": 0,
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-id": "11111111-1111-1111-1111-111111111111",
- "photo": "string",
- "photo-filename": "string",
- "photo-type": "string",
- "photo-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "selected-version": { },
- "tags": [
- "string"
], - "title": "string",
- "versions": [
- "11111111-1111-1111-1111-111111111111"
], - "views": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "articles"
}, - "meta": { }
}
Unassign Content from Article
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
individual-id required | string <uuid> |
Responses
Request samples
- Payload
{- "individual-group-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
]
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "content-filename": "string",
- "content-size": 0,
- "content-type": "string",
- "content-upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "url": "string",
- "version": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "articles"
}, - "meta": { }
}
Create Channel
Creates a new channel
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "event-settings": {
- "enabled": true
}, - "floating": false,
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "label": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "subscription-type": "none",
- "text-number-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "messaging-channels"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
List Channels
Returns channels
query Parameters
filter[archived] | boolean |
filter[cmp-last-modified-time] | Array of strings <= 2 items [ items <= 40 characters ] Compare timestamp against channel last-modified-time. Specify [comparator][datetime]. Comparators supported >, <, <=, >=. Use multiple to build a bounded time frame. |
filter[floating] | boolean |
filter[individual-group-id] | string <uuid> Example: filter[individual-group-id]=11111111-1111-1111-1111-111111111111 |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer [ 1 .. 50 ] Default: 50 |
page[offset] | integer (CourierPageOffset) >= 0 Default: 0 |
participant-id | string <uuid> Example: participant-id=11111111-1111-1111-1111-111111111111 |
use-group-name | boolean Default: true |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}
], - "meta": { }
}
Get Channel
Returns specific channel
path Parameters
id required | string Resource identifier |
query Parameters
include-individual-group | boolean Deprecated Default: false |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
use-group-name | boolean Default: true |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Update Channel
Modifies an existing channel
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": [
- {
- "op": "replace",
- "path": "string",
- "value": null
}
], - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Archive Channel
Archive a channel
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Unarchive Channel
Unarchive a channel
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Subscribe to Channel
Add subscriber to the channel
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
individual-ids | Array of strings <uuid> [ items <uuid > ] |
Responses
Request samples
- Payload
{- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
]
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Unsubscribe from Channel
Remove subscriber from the channel
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
individual-ids | Array of strings <uuid> [ items <uuid > ] |
Responses
Request samples
- Payload
{- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
]
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Update Channel SMS Options
Enable/disable SMS path for this messaging channel
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
active required | boolean | ||||
initial-message | string <= 1024 characters | ||||
object | |||||
|
Responses
Request samples
- Payload
{- "active": true,
- "initial-message": "string",
- "initial-message-js": {
- "en_US": "string",
- "es_US": "string"
}
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Update Channel Preferences
Modify channel preferences
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | Array of objects | ||||
Array
| |||||
individual-id | string <uuid> |
Responses
Request samples
- Payload
{- "individual-id": "11111111-1111-1111-1111-111111111111",
- "values": [
- {
- "name": "notify",
- "value": "string"
}
]
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Send Message
Posts a new message
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "auto-ack": "",
- "channel-id": "11111111-1111-1111-1111-111111111111",
- "draft": false,
- "include-destinations": [
- "string"
], - "individual-id": "11111111-1111-1111-1111-111111111111",
- "message": "string"
}, - "type": "messaging-messages"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "ack": true,
- "attachments": [
- {
- "content-size": 0,
- "content-type": "string",
- "filename": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}
], - "channel-id": "11111111-1111-1111-1111-111111111111",
- "destination": { },
- "draft": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "last-name": "string",
- "message": "string",
- "phrases": { },
- "posted-time": "string",
- "preferred-name": "string",
- "reactions": [
- {
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "reaction-type": "dislike",
- "user-name": "string"
}
], - "read-receipts": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "removed": true,
- "sentiment": "string",
- "source": "auto-responder",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-name": "string",
- "user-type": "participant"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}, - "meta": { }
}
List Messages
Returns messages in specified group, posted by specified user, and belonging to specified subscription.
query Parameters
channel-id required | string <uuid> Example: channel-id=11111111-1111-1111-1111-111111111111 |
acknowledged | boolean |
filter[cmp-last-modified-time] | Array of strings <= 2 items [ items <= 40 characters ] Compare timestamp against message last-modified-time. Specify [comparator][datetime]. Comparators supported >, <, <=, >=. Use multiple to build a bounded time frame. |
filter[cmp-posted-time] | Array of strings <= 2 items [ items <= 40 characters ] Compare timestamp against message posted-time. Specify [comparator][datetime]. Comparators supported >, <, <=, >=. Use multiple to build a bounded time frame. |
filter[text] | string <= 255 characters |
include-phrases | boolean Default: false |
include-read-receipts | boolean Default: false |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (CourierPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (CourierPageOffset) >= 0 Default: 0 |
thumbnail | boolean Default: false |
user-id | string <uuid> Example: user-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "ack": true,
- "attachments": [
- {
- "content-size": 0,
- "content-type": "string",
- "filename": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}
], - "channel-id": "11111111-1111-1111-1111-111111111111",
- "destination": { },
- "draft": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "last-name": "string",
- "message": "string",
- "phrases": { },
- "posted-time": "string",
- "preferred-name": "string",
- "reactions": [
- {
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "reaction-type": "dislike",
- "user-name": "string"
}
], - "read-receipts": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "removed": true,
- "sentiment": "string",
- "source": "auto-responder",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-name": "string",
- "user-type": "participant"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}
], - "meta": { }
}
Get Message
Returns a single message from the given id
path Parameters
id required | string Resource identifier |
query Parameters
include-phrases | boolean Default: false |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
thumbnail | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "ack": true,
- "attachments": [
- {
- "content-size": 0,
- "content-type": "string",
- "filename": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}
], - "channel-id": "11111111-1111-1111-1111-111111111111",
- "destination": { },
- "draft": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "last-name": "string",
- "message": "string",
- "phrases": { },
- "posted-time": "string",
- "preferred-name": "string",
- "reactions": [
- {
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "reaction-type": "dislike",
- "user-name": "string"
}
], - "read-receipts": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "removed": true,
- "sentiment": "string",
- "source": "auto-responder",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-name": "string",
- "user-type": "participant"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}, - "meta": { }
}
Update Message
Modifies an existing message
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "draft": true,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "removed": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "ack": true,
- "attachments": [
- {
- "content-size": 0,
- "content-type": "string",
- "filename": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}
], - "channel-id": "11111111-1111-1111-1111-111111111111",
- "destination": { },
- "draft": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "last-name": "string",
- "message": "string",
- "phrases": { },
- "posted-time": "string",
- "preferred-name": "string",
- "reactions": [
- {
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "reaction-type": "dislike",
- "user-name": "string"
}
], - "read-receipts": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "removed": true,
- "sentiment": "string",
- "source": "auto-responder",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-name": "string",
- "user-type": "participant"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}, - "meta": { }
}
Acknowledge Message
Acknowledge a message, and all messages before this
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
allow-past | boolean Default: false |
individual-id | string <uuid> |
Responses
Request samples
- Payload
{- "allow-past": false,
- "individual-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "ack": true,
- "attachments": [
- {
- "content-size": 0,
- "content-type": "string",
- "filename": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}
], - "channel-id": "11111111-1111-1111-1111-111111111111",
- "destination": { },
- "draft": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "last-name": "string",
- "message": "string",
- "phrases": { },
- "posted-time": "string",
- "preferred-name": "string",
- "reactions": [
- {
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "reaction-type": "dislike",
- "user-name": "string"
}
], - "read-receipts": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "removed": true,
- "sentiment": "string",
- "source": "auto-responder",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-name": "string",
- "user-type": "participant"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}, - "meta": { }
}
Add Reaction to Message
add a user-reaction to a message
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
reaction-type required | string Enum: "dislike" "like" "lol" "love" "sad" "wow" |
individual-id | string <uuid> |
Responses
Request samples
- Payload
{- "individual-id": "11111111-1111-1111-1111-111111111111",
- "reaction-type": "dislike"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "ack": true,
- "attachments": [
- {
- "content-size": 0,
- "content-type": "string",
- "filename": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}
], - "channel-id": "11111111-1111-1111-1111-111111111111",
- "destination": { },
- "draft": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "last-name": "string",
- "message": "string",
- "phrases": { },
- "posted-time": "string",
- "preferred-name": "string",
- "reactions": [
- {
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "reaction-type": "dislike",
- "user-name": "string"
}
], - "read-receipts": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "removed": true,
- "sentiment": "string",
- "source": "auto-responder",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-name": "string",
- "user-type": "participant"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}, - "meta": { }
}
Delete Reaction from Message
delete a user-reaction from a message
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
reaction-type required | string Enum: "dislike" "like" "lol" "love" "sad" "wow" |
individual-id | string <uuid> |
Responses
Request samples
- Payload
{- "individual-id": "11111111-1111-1111-1111-111111111111",
- "reaction-type": "dislike"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "ack": true,
- "attachments": [
- {
- "content-size": 0,
- "content-type": "string",
- "filename": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}
], - "channel-id": "11111111-1111-1111-1111-111111111111",
- "destination": { },
- "draft": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "last-name": "string",
- "message": "string",
- "phrases": { },
- "posted-time": "string",
- "preferred-name": "string",
- "reactions": [
- {
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "reaction-type": "dislike",
- "user-name": "string"
}
], - "read-receipts": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "removed": true,
- "sentiment": "string",
- "source": "auto-responder",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-name": "string",
- "user-type": "participant"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}, - "meta": { }
}
Get Message Receipts
get receipts of this message
path Parameters
id required | string Resource identifier |
query Parameters
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "read": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "unread": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
]
}
List TOTP Configurations
Get a list of all TotpConfigurations for a user.
query Parameters
filter[user-id] | string <uuid> Example: filter[user-id]=11111111-1111-1111-1111-111111111111 The ID of the User to get TotpConfiguration for. Defaults to the current user. The caller may only request their own configurations unless the caller is an administrator. |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "enabled": true,
- "enabled-at": "string",
- "last-used": "string",
- "secret": {
- "provisioning-qrcode": {
- "contents-base64": "string",
- "height": 0,
- "mimetype": "image/png",
- "width": 0
}, - "provisioning-uri": "string",
- "shared-secret-key": "string"
}, - "user-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "mfa-totp"
}
], - "meta": { }
}
Initiate TOTP Setup
Initiate setup of TOTP MFA for the users account. After initialization, the configuration will still need to be enabled.
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "enabled": true,
- "enabled-at": "string",
- "last-used": "string",
- "secret": {
- "provisioning-qrcode": {
- "contents-base64": "string",
- "height": 0,
- "mimetype": "image/png",
- "width": 0
}, - "provisioning-uri": "string",
- "shared-secret-key": "string"
}, - "user-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "mfa-totp"
}, - "meta": { }
}
Enable TOTP Configuration
Enable (activate) a TotpConfiguration. This requires providing two consecutive totp codes and the users password. Once enabled, future sign-ins will require a totp code as MFA in addition to the password.
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
codes required | Array of strings = 2 items [ items <= 255 characters ] A list of valid TOTP Codes. We require two consecutive codes. |
password required | string <= 255 characters The current users password |
Responses
Request samples
- Payload
{- "codes": [
- "string",
- "string"
], - "password": "string"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "enabled": true,
- "enabled-at": "string",
- "last-used": "string",
- "secret": {
- "provisioning-qrcode": {
- "contents-base64": "string",
- "height": 0,
- "mimetype": "image/png",
- "width": 0
}, - "provisioning-uri": "string",
- "shared-secret-key": "string"
}, - "user-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "mfa-totp"
}, - "meta": { }
}
Disable TOTP Configuration
Disable (deactivates) a TotpConfiguration without deleting it. This will remove the requirement for a totp code to be entered during sign-in.
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
password required | string <= 255 characters The current users password |
Responses
Request samples
- Payload
{- "password": "string"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "enabled": true,
- "enabled-at": "string",
- "last-used": "string",
- "secret": {
- "provisioning-qrcode": {
- "contents-base64": "string",
- "height": 0,
- "mimetype": "image/png",
- "width": 0
}, - "provisioning-uri": "string",
- "shared-secret-key": "string"
}, - "user-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "mfa-totp"
}, - "meta": { }
}
Lookup Food Item
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "item-id": "string",
- "upc": "string"
}, - "type": "nutrition-item-lookups"
}, - "meta": { }
}
Response samples
- 201
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "input": "string",
- "result": {
- "brand": "string",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "item-id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "state": "completed",
- "type": "item"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-queries"
}, - "meta": { }
}
Search for Food
Request Body schema: application/json
required | object | ||||||||
| |||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "input": "string"
}, - "type": "nutrition-searches"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "input": "string",
- "result": {
- "brand": "string",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "item-id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "state": "completed",
- "type": "item"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-queries"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "input": "string",
- "result": {
- "brand": "string",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "item-id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "state": "completed",
- "type": "item"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-queries"
}, - "meta": { }
}
List Favorite Items
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (IntegratorPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (IntegratorPageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-favorite-items"
}
], - "meta": { }
}
Add Favorite Item
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item-id": "string"
}, - "type": "nutrition-favorite-items"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-favorite-items"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-favorite-items"
}, - "meta": { }
}
List Meal Plans
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (IntegratorPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (IntegratorPageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "name": "string",
- "occasion-items": [
- {
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- { }
], - "name": "string",
- "photo": {
- "highres": null,
- "is-user-uploaded": null,
- "thumb": null
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meal-plans"
}
], - "meta": { }
}
Create Meal Plan
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "occasion-items": [
- {
- "meal-items": [
- {
- "item-id": "string",
- "serving-qty": 0,
- "serving-unit": "string"
}
], - "occasion-name": "string"
}
]
}, - "type": "nutrition-meal-plans"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "name": "string",
- "occasion-items": [
- {
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": null,
- "serving-qty": null,
- "serving-unit": null,
- "serving-weight": null
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meal-plans"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "name": "string",
- "occasion-items": [
- {
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": null,
- "serving-qty": null,
- "serving-unit": null,
- "serving-weight": null
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meal-plans"
}, - "meta": { }
}
Update Meal Plan
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "string",
- "occasion-items": [
- {
- "meal-items": [
- {
- "item-id": "string",
- "serving-qty": 0,
- "serving-unit": "string"
}
], - "occasion-name": "string"
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meal-plans"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "name": "string",
- "occasion-items": [
- {
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": null,
- "serving-qty": null,
- "serving-unit": null,
- "serving-weight": null
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meal-plans"
}, - "meta": { }
}
Log Meal Plan
Log a meal plan being implemented for an occasion
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
entry-date required | string <date> | ||||
required | Array of objects | ||||
Array
|
Responses
Request samples
- Payload
{- "entry-date": "2019-08-24",
- "occasion-items": [
- {
- "consumed-at": "string",
- "occasion-name": "string"
}
]
}
Response samples
- 201
- 4XX
{- "data": [
- {
- "attributes": {
- "consumed-at": "string",
- "created-at": "string",
- "entry-date": "2019-08-24",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "last-modified-at": "string",
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-logs"
}
], - "meta": { }
}
List Meals
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (IntegratorPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (IntegratorPageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": null,
- "calories": null,
- "cholesterol": null,
- "dietary-fiber": null,
- "potassium": null,
- "protein": null,
- "saturated-fat": null,
- "sodium": null,
- "sugars": null,
- "total-carbohydrate": null,
- "total-fat": null
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meals"
}
], - "meta": { }
}
Create Meal
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "meal-items": [
- {
- "item-id": "string",
- "serving-qty": 0,
- "serving-unit": "string"
}
], - "name": "string"
}, - "type": "nutrition-meals"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meals"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meals"
}, - "meta": { }
}
Update Meal
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "meal-items": [
- {
- "item-id": "string",
- "serving-qty": 0,
- "serving-unit": "string"
}
], - "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meals"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "meal-items": [
- {
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}
], - "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-meals"
}, - "meta": { }
}
Log Meal
Log a meal being eaten for an occasion
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
entry-date required | string <date> |
occasion-name required | string <= 255 characters |
consumed-at | string <datetime> |
Responses
Request samples
- Payload
{- "consumed-at": "string",
- "entry-date": "2019-08-24",
- "occasion-name": "string"
}
Response samples
- 201
- 4XX
{- "data": [
- {
- "attributes": {
- "consumed-at": "string",
- "created-at": "string",
- "entry-date": "2019-08-24",
- "favorite-item-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "item": {
- "brand": "string",
- "id": "string",
- "measures": [
- {
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "serving-qty": 0,
- "serving-unit": "string",
- "serving-weight": 0
}
], - "name": "string",
- "photo": {
- "highres": "string",
- "is-user-uploaded": true,
- "thumb": "string"
}
}, - "last-modified-at": "string",
- "nutrients": {
- "alcohol": 0,
- "calories": 0,
- "cholesterol": 0,
- "dietary-fiber": 0,
- "potassium": 0,
- "protein": 0,
- "saturated-fat": 0,
- "sodium": 0,
- "sugars": 0,
- "total-carbohydrate": 0,
- "total-fat": 0
}, - "occasion": {
- "display-name": "string",
- "name": "string",
- "sort-order": 0
}, - "serving-qty": 0,
- "serving-unit": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "nutrition-logs"
}
], - "meta": { }
}
List Pathways Spec
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[name] | string <= 255 characters |
page[limit] | integer (OverlordPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (OverlordPageOffset) >= 0 Default: 0 |
sort | Array of strings Default: "created" Items Enum: "-created" "-name" "-version-name" "created" "name" "version-name" |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "allow-duplicate-instance": true,
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-at": "string",
- "last-modified-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "version": {
- "description": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "pathway-specs"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "allow-duplicate-instance": true,
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-at": "string",
- "last-modified-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "version": {
- "description": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "pathway-specs"
}, - "meta": { }
}
List Pathways Spec Stages
query Parameters
version-id required | string <uuid> Example: version-id=11111111-1111-1111-1111-111111111111 |
filter[name] | string <= 255 characters |
page[limit] | integer (OverlordPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (OverlordPageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "allow-start": true,
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "description": "string",
- "generate-event": true,
- "last-modified-at": "string",
- "last-modified-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "links": [
- {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "title": "string"
}
], - "name": "string",
- "order": 0,
- "title": "string",
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "pathway-spec-stages"
}
], - "meta": { }
}
Create Pathway Instance
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "auto-start": false,
- "description": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "initial-spec-stage-id": "11111111-1111-1111-1111-111111111111",
- "store-schema": { },
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "pathway-instances"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archive-reason": "string",
- "archive-reason-display": "string",
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "description": "string",
- "individual": {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "stage": {
- "created-at": "string",
- "description": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "state": "completed",
- "title": "string"
}, - "started-at": "string",
- "state": "archived",
- "statistics": {
- "step-assigned": 0,
- "step-overdue": 0,
- "step-state-archived": 0,
- "step-state-complete": 0,
- "step-state-incomplete": 0,
- "step-state-inprogress": 0,
- "step-state-inreview": 0,
- "step-state-new": 0,
- "step-state-skipped": 0
}, - "store": {
- "property1": "string",
- "property2": "string"
}, - "store-schema": { },
- "version": {
- "archive-config": {
- "allow-free-text": true,
- "reasons": { },
- "required": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "pathway-instances"
}, - "meta": { }
}
List Pathway Instance
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[first-name] | string <= 255 characters |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[last-name] | string <= 255 characters |
filter[spec-id] | string <uuid> Example: filter[spec-id]=11111111-1111-1111-1111-111111111111 |
filter[stage-spec-id] | string <uuid> Example: filter[stage-spec-id]=11111111-1111-1111-1111-111111111111 |
filter[state] | string Enum: "archived" "completed" "created" "started" |
filter[version-id] | string <uuid> Example: filter[version-id]=11111111-1111-1111-1111-111111111111 |
include[store] | Array of strings[ items <= 64 characters ] |
page[limit] | integer (OverlordPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (OverlordPageOffset) >= 0 Default: 0 |
sort | Array of strings Default: "created" Items Enum: "-created" "-stage-created" "-stage-title" "-started" "created" "stage-created" "stage-title" "started" |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "archive-reason": "string",
- "archive-reason-display": "string",
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "description": "string",
- "individual": {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "stage": {
- "created-at": "string",
- "description": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "state": "completed",
- "title": "string"
}, - "started-at": "string",
- "state": "archived",
- "statistics": {
- "step-assigned": 0,
- "step-overdue": 0,
- "step-state-archived": 0,
- "step-state-complete": 0,
- "step-state-incomplete": 0,
- "step-state-inprogress": 0,
- "step-state-inreview": 0,
- "step-state-new": 0,
- "step-state-skipped": 0
}, - "store": {
- "property1": "string",
- "property2": "string"
}, - "store-schema": { },
- "version": {
- "archive-config": {
- "allow-free-text": true,
- "reasons": { },
- "required": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "pathway-instances"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "archive-reason": "string",
- "archive-reason-display": "string",
- "created-at": "string",
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "description": "string",
- "individual": {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "stage": {
- "created-at": "string",
- "description": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "state": "completed",
- "title": "string"
}, - "started-at": "string",
- "state": "archived",
- "statistics": {
- "step-assigned": 0,
- "step-overdue": 0,
- "step-state-archived": 0,
- "step-state-complete": 0,
- "step-state-incomplete": 0,
- "step-state-inprogress": 0,
- "step-state-inreview": 0,
- "step-state-new": 0,
- "step-state-skipped": 0
}, - "store": {
- "property1": "string",
- "property2": "string"
}, - "store-schema": { },
- "version": {
- "archive-config": {
- "allow-free-text": true,
- "reasons": { },
- "required": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "pathway-instances"
}, - "meta": { }
}
Submit Timeseries Data
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "data": [
- {
- "source": "",
- "tz-offset-mins": 0
}
], - "individual-copy": true,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "ActiveEnergyBurned",
- "tz-offset-mins": 0
}, - "type": "time-series"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "num-created": 0
}, - "type": "time-series"
}, - "meta": { }
}
Retrieve Timeseries Data
query Parameters
begin-datetime required | string <datetime> |
end-datetime required | string <datetime> |
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
type required | string Enum: "ActiveEnergyBurned" "ActiveTime" "AerobicSteps" "AirQualityIndex" "Auscultation" "BloodGlucose" "BloodPressure" "BodyFatPercentage" "BodyMass" "BodyMassGoal" "BodyMassIndex" "BodyMassLean" "BodyTemperature" "Covid19" "DailyActivity" "DailyHeartRate" "Distance" "Dqv" "FeelingRating" "FluActivity" "ForcedExpiratoryVolume" "HbA1c" "Height" "Hematocrit" "Hemoglobin" "Medication" "Mindfulness" "OxygenSaturation" "PeakFlow" "PeriodicPulse" "PollenGrassIndex" "PollenRagweedIndex" "PollenTreeIndex" "PotassiumLevel" "Pulse" "SkinTemperature" "SleepAnalysis" "Steps" "Vo2Max" "WaistCircumference" "WaterIntake" |
filter-field | string <= 255 characters |
filter-values | Array of strings[ items <= 255 characters ] |
include-count | boolean Default: true |
include-created-at | boolean Default: false |
include-prior | boolean Default: false When true, include record just before provided time range (does not work with DailyActivity or SleepAnalysis) |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer [ 1 .. 1000 ] Default: 500 |
page[offset] | integer (LachesisPageOffset) >= 0 Default: 0 |
reverse | boolean |
source | string <= 255 characters |
Responses
Response samples
- 200
- 4XX
{- "data": [
- { }
]
}
Delete Timeseries Data
path Parameters
id required | string Resource identifier |
query Parameters
type required | string Enum: "ActiveEnergyBurned" "ActiveTime" "AerobicSteps" "AirQualityIndex" "Auscultation" "BloodGlucose" "BloodPressure" "BodyFatPercentage" "BodyMass" "BodyMassGoal" "BodyMassIndex" "BodyMassLean" "BodyTemperature" "Covid19" "DailyActivity" "DailyHeartRate" "Distance" "Dqv" "FeelingRating" "FluActivity" "ForcedExpiratoryVolume" "HbA1c" "Height" "Hematocrit" "Hemoglobin" "Medication" "Mindfulness" "OxygenSaturation" "PeakFlow" "PeriodicPulse" "PollenGrassIndex" "PollenRagweedIndex" "PollenTreeIndex" "PotassiumLevel" "Pulse" "SkinTemperature" "SleepAnalysis" "Steps" "Vo2Max" "WaistCircumference" "WaterIntake" |
begin-time | string <datetime> |
end-time | string <datetime> |
include-participant | boolean |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
source | string <= 255 characters |
time | string <datetime> |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "num-deleted": 0
}, - "type": "time-series"
}, - "meta": { }
}
Bulk Delete Timeseries Data
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "data": [
- { }
], - "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "ActiveEnergyBurned"
}, - "type": "time-series"
}, - "meta": { }
}
Response samples
- 201
{- "data": {
- "attributes": {
- "num-deleted": 0
}, - "type": "time-series"
}, - "meta": { }
}
List Timeseries Sources
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
filter[source] | string <= 255 characters |
page[limit] | integer (LachesisPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (LachesisPageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "registered-at": "string",
- "series-id": "11111111-1111-1111-1111-111111111111",
- "source": "string",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "timeseries-sources"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "registered-at": "string",
- "series-id": "11111111-1111-1111-1111-111111111111",
- "source": "string",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "timeseries-sources"
}, - "meta": { }
}
List Todo Entries
query Parameters
filter[assigned-individual-id] | string <uuid> Example: filter[assigned-individual-id]=11111111-1111-1111-1111-111111111111 |
filter[care-plan-id] | string <uuid> Example: filter[care-plan-id]=11111111-1111-1111-1111-111111111111 |
filter[cmp-last-modified-at] | Array of strings <= 2 items [ items <= 40 characters ] compare timestamp against last-modified-at time.specify [comparitor][datetime]. comparators supported >, <, <=, >=use multiple to build a bounded time frame. |
filter[due-end-time] | string <datetime> |
filter[due-start-time] | string <datetime> |
filter[es-match-phrase-prefix] | Array of strings non-empty [ items <= 255 characters ] |
filter[es-match-text] | string <= 255 characters |
filter[es-query-string] | string <= 255 characters |
filter[include-done] | boolean Default: false |
filter[include-inactive] | boolean Deprecated Default: false |
filter[individual-group-id] | string <uuid> Example: filter[individual-group-id]=11111111-1111-1111-1111-111111111111 |
filter[provider-only] | boolean Default: false |
filter[reference-in-individual-group-id] | string <uuid> Example: filter[reference-in-individual-group-id]=11111111-1111-1111-1111-111111111111 |
filter[reference-individual-id] | string <uuid> Example: filter[reference-individual-id]=11111111-1111-1111-1111-111111111111 |
filter[tags] | Array of strings[ items <= 127 characters ] |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (CaredbPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (CaredbPageOffset) >= 0 Default: 0 |
sort | Array of strings Items Enum: "-assigned-at" "-completed-at" "-created-at" "-due-time" "-last-modified-at" "assigned-at" "completed-at" "created-at" "due-time" "last-modified-at" |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "assigned-at": "string",
- "care-plan": {
- "description": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "title": "string"
}, - "care-plan-id": "11111111-1111-1111-1111-111111111111",
- "completed-at": "string",
- "completed-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "context-url": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-by-first-name": "string",
- "created-by-last-name": "string",
- "done": true,
- "due-time": "string",
- "external-id": "string",
- "individual": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "individual-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "is-active": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-by-first-name": "string",
- "last-modified-by-last-name": "string",
- "notes": "string",
- "order": 0,
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "provider-notes": "string",
- "publish-update": true,
- "references": [
- {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "data": { },
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-verified": true,
- "registered": true,
- "registration-invite": "accepted",
- "type": "individual"
}
], - "status": {
- "display": "string",
- "id": "11111111-1111-1111-1111-111111111111"
}, - "tags": [
- "string"
], - "text": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "todo-entries"
}
], - "meta": { }
}
Create Todo Entry
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "care-plan-id": "11111111-1111-1111-1111-111111111111",
- "context-url": "string",
- "due-time": "string",
- "external-id": "string",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "notes": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "provider-notes": "string",
- "publish-update": false,
- "references": [
- {
- "data": { },
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual"
}
], - "status-id": "11111111-1111-1111-1111-111111111111",
- "tags": [
- "string"
], - "text": "string",
- "with-notification": true
}, - "type": "todo-entries"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "assigned-at": "string",
- "care-plan": {
- "description": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "title": "string"
}, - "care-plan-id": "11111111-1111-1111-1111-111111111111",
- "completed-at": "string",
- "completed-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "context-url": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-by-first-name": "string",
- "created-by-last-name": "string",
- "done": true,
- "due-time": "string",
- "external-id": "string",
- "individual": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "individual-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "is-active": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-by-first-name": "string",
- "last-modified-by-last-name": "string",
- "notes": "string",
- "order": 0,
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "provider-notes": "string",
- "publish-update": true,
- "references": [
- {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "data": { },
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-verified": true,
- "registered": true,
- "registration-invite": "accepted",
- "type": "individual"
}
], - "status": {
- "display": "string",
- "id": "11111111-1111-1111-1111-111111111111"
}, - "tags": [
- "string"
], - "text": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "todo-entries"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "assigned-at": "string",
- "care-plan": {
- "description": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "title": "string"
}, - "care-plan-id": "11111111-1111-1111-1111-111111111111",
- "completed-at": "string",
- "completed-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "context-url": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-by-first-name": "string",
- "created-by-last-name": "string",
- "done": true,
- "due-time": "string",
- "external-id": "string",
- "individual": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "individual-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "is-active": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-by-first-name": "string",
- "last-modified-by-last-name": "string",
- "notes": "string",
- "order": 0,
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "provider-notes": "string",
- "publish-update": true,
- "references": [
- {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "data": { },
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-verified": true,
- "registered": true,
- "registration-invite": "accepted",
- "type": "individual"
}
], - "status": {
- "display": "string",
- "id": "11111111-1111-1111-1111-111111111111"
}, - "tags": [
- "string"
], - "text": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "todo-entries"
}, - "meta": { }
}
Update Todo Entry
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": [
- {
- "op": "add",
- "path": "string",
- "value": null
}
], - "id": "11111111-1111-1111-1111-111111111111",
- "type": "todo-entries"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "assigned-at": "string",
- "care-plan": {
- "description": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "title": "string"
}, - "care-plan-id": "11111111-1111-1111-1111-111111111111",
- "completed-at": "string",
- "completed-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "context-url": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-by-first-name": "string",
- "created-by-last-name": "string",
- "done": true,
- "due-time": "string",
- "external-id": "string",
- "individual": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "individual-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "is-active": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-by-first-name": "string",
- "last-modified-by-last-name": "string",
- "notes": "string",
- "order": 0,
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "provider-notes": "string",
- "publish-update": true,
- "references": [
- {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "data": { },
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-verified": true,
- "registered": true,
- "registration-invite": "accepted",
- "type": "individual"
}
], - "status": {
- "display": "string",
- "id": "11111111-1111-1111-1111-111111111111"
}, - "tags": [
- "string"
], - "text": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "todo-entries"
}, - "meta": { }
}
List Todo Tags
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (CaredbPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (CaredbPageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "todo-entries-tags"
}
], - "meta": { }
}
Create Todo Tag
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "todo-entries-tags"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "todo-entries-tags"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "todo-entries-tags"
}, - "meta": { }
}
List Todo Statuses
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[display] | string <= 255 characters |
page[limit] | integer (CaredbPageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (CaredbPageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "definition": "string",
- "display": "string",
- "is-default": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "todo-entries-statuses"
}
], - "meta": { }
}
Create Todo Status
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "definition": "string",
- "display": "string",
- "is-default": false,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "todo-entries-statuses"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "definition": "string",
- "display": "string",
- "is-default": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "todo-entries-statuses"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "definition": "string",
- "display": "string",
- "is-default": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "todo-entries-statuses"
}, - "meta": { }
}
Update Todo Status
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "definition": "string",
- "display": "string",
- "is-default": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "todo-entries-statuses"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "definition": "string",
- "display": "string",
- "is-default": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "todo-entries-statuses"
}, - "meta": { }
}