identity API definition (1.0.0)
identity API definition
/v1/aggregation-requests/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "entries": [
- {
- "column": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111"
}
]
}, - "type": "aggregation-requests"
}, - "meta": { }
}
Response samples
- 201
{- "data": {
- "attributes": { },
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "aggregation-requests"
}, - "meta": { }
}
/v1/anonymous-accesses/
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "allowed-endpoints": [
- {
- "method": "delete",
- "path": "string",
- "service": "string"
}
], - "expired-at": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "anonymous-accesses"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "allowed-endpoints": [
- {
- "method": "delete",
- "path": "string",
- "service": "string"
}
], - "created-at": "string",
- "expired-at": "string",
- "last-modified-at": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "anonymous-accesses"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "allowed-endpoints": [
- {
- "method": "delete",
- "path": "string",
- "service": "string"
}
], - "created-at": "string",
- "expired-at": "string",
- "last-modified-at": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "anonymous-accesses"
}, - "meta": { }
}
/v1/anonymous-accesses/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "allowed-endpoints": [
- {
- "method": "delete",
- "path": "string",
- "service": "string"
}
], - "expired-at": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "anonymous-accesses"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "allowed-endpoints": [
- {
- "method": "delete",
- "path": "string",
- "service": "string"
}
], - "created-at": "string",
- "expired-at": "string",
- "last-modified-at": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "anonymous-accesses"
}, - "meta": { }
}
/v1/anonymous-accesses/{id}/proxy/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
endpoint required | string <= 255 characters |
method required | string Enum: "delete" "get" "patch" "post" |
json | object |
params | object |
Responses
Request samples
- Payload
{- "endpoint": "string",
- "json": { },
- "method": "delete",
- "params": { }
}
Response samples
- 201
- 4XX
{- "json": { },
- "status-code": 0
}
/v1/archive-requests/
query Parameters
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "email": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "interview-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "request-state": "archive-canceled"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "archive-requests"
}
], - "meta": { }
}
/v1/archive-requests/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "password": "string"
}, - "type": "archive-requests"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "email": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "interview-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "request-state": "archive-canceled"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "archive-requests"
}, - "meta": { }
}
/v1/archive-requests/{id}/answer/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
value required | string <= 255 characters |
individual-id | string <uuid> |
interview-id | string <uuid> |
question-id | string <uuid> |
property name* additional property | any |
Responses
Request samples
- Payload
{- "individual-id": "11111111-1111-1111-1111-111111111111",
- "interview-id": "11111111-1111-1111-1111-111111111111",
- "question-id": "11111111-1111-1111-1111-111111111111",
- "value": "string"
}
Response samples
- 201
- 4XX
{ }
/v1/authenticate/
Request Body schema: application/json
edge-request | boolean Is the originating request an edge request? |
Responses
Request samples
- Payload
{- "edge-request": true
}
Response samples
- 201
- 4XX
{- "data": {
- "email": "string",
- "organization-id": "string",
- "roles": [
- "string"
], - "session-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}
}
/v1/authz-get-accessible-resources/
Request Body schema: application/json
access-query required | Array of strings (Authz3AccessQuery) non-empty [ items <= 256 characters ] Multiple access queries are ANDed together for the authz3 check result. Authz3 Queries are colon-joined 3-tuples in the form of 'type:id:operation'. Example: individual:c5e7d664-bec7-4534-a22c-0ebccfb173b1:read type: Type of the entity for the ACL to check against. Acceptable values: group, individual, organization, system, or app.* (application-specific) id: Entity ID. Must be either empty opr a valid UUID, unless type is either system or app.*, in which case id may be any freetext not including the colon character. operation: Operation to be performed against the Entity. Acceptable values: read, write. For group types, operation may also be 'contain'. |
user-id required | string <uuid> |
organization-id | string <uuid> |
page[limit] | integer [ 0 .. 100000 ] Default: 5000 |
page[offset] | integer >= 0 Default: 0 |
Responses
Request samples
- Payload
{- "access-query": [
- "string"
], - "organization-id": "11111111-1111-1111-1111-111111111111",
- "page[limit]": 5000,
- "page[offset]": 0,
- "user-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
- 4XX
{- "meta": {
- "page[limit]": 0,
- "page[offset]": 0,
- "page[total]": 0
}, - "resource-ids": [
- "11111111-1111-1111-1111-111111111111"
]
}
/v1/authz-individuals/
query Parameters
operation required | string Enum: "read" "write" |
user-id required | string <uuid> Example: user-id=11111111-1111-1111-1111-111111111111 |
filter[account-type] | string <= 10 characters |
filter[birth-date] | string <date> |
filter[email-verified] | boolean |
filter[email] | string <= 255 characters |
filter[exclude-owner-ids] | Array of strings <uuid> non-empty [ items <uuid > ] Example: filter[exclude-owner-ids]=11111111-1111-1111-1111-111111111111 |
filter[first-name] | string <= 255 characters |
filter[group-id] | string <uuid> Example: filter[group-id]=11111111-1111-1111-1111-111111111111 |
filter[group-members-with-leader-id] | string <uuid> Example: filter[group-members-with-leader-id]=11111111-1111-1111-1111-111111111111 |
filter[last-name] | string <= 255 characters |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
filter[phone-verified] | boolean |
filter[phone] | string <= 255 characters |
filter[registered] | boolean |
page[limit] | integer [ 0 .. 100000 ] Default: 5000 |
page[offset] | integer >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "meta": {
- "page[limit]": 0,
- "page[offset]": 0,
- "page[total]": 0
}, - "resource-ids": [
- "11111111-1111-1111-1111-111111111111"
]
}
/v1/authz-resource-access/
Request Body schema: application/json
access-query required | Array of strings (Authz3AccessQuery) non-empty [ items <= 256 characters ] Multiple access queries are ANDed together for the authz3 check result. Authz3 Queries are colon-joined 3-tuples in the form of 'type:id:operation'. Example: individual:c5e7d664-bec7-4534-a22c-0ebccfb173b1:read type: Type of the entity for the ACL to check against. Acceptable values: group, individual, organization, system, or app.* (application-specific) id: Entity ID. Must be either empty opr a valid UUID, unless type is either system or app.*, in which case id may be any freetext not including the colon character. operation: Operation to be performed against the Entity. Acceptable values: read, write. For group types, operation may also be 'contain'. |
user-id required | string <uuid> |
Responses
Request samples
- Payload
{- "access-query": [
- "string"
], - "user-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
- 4XX
{- "allow": true
}
/v1/authz-resource-accessors/
query Parameters
operation required | string Enum: "read" "write" |
resource-id required | Array of strings <uuid> [ 1 .. 50 ] items [ items <uuid > ] Example: resource-id=11111111-1111-1111-1111-111111111111 |
resource-type required | string Enum: "individual" "organization" |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 Returns users of this organization only |
page[limit] | integer [ 0 .. 100000 ] Default: 5000 |
page[offset] | integer >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "id": "11111111-1111-1111-1111-111111111111"
}
], - "meta": {
- "page[limit]": 0,
- "page[offset]": 0,
- "page[total]": 0
}
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "last-populated-at": "string",
- "latest-event-at": "string",
- "up-to-date": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "authz-user-status"
}, - "meta": { }
}
/v1/bulk-authz-resource-access/
Request Body schema: application/json
required | object | ||||||
|
Responses
Request samples
- Payload
{- "multi-user-ids": {
- "access-query": [
- "string"
], - "individually": false,
- "user-ids": [
- "11111111-1111-1111-1111-111111111111"
]
}
}
Response samples
- 201
- 4XX
{- "access-queries": [
- {
- "access-query": [
- "string"
], - "allow": true,
- "user-id": "11111111-1111-1111-1111-111111111111"
}
]
}
/v1/confirm-forgot-password/
Request Body schema: application/json
confirmation-code required | string <= 20 characters |
password required | string <= 255 characters |
username required | string <= 255 characters |
login | boolean Default: false |
source | string Enum: "email" "sms" |
Responses
Request samples
- Payload
{- "confirmation-code": "string",
- "login": false,
- "password": "string",
- "source": "email",
- "username": "string"
}
Response samples
- 201
- 4XX
{- "login-error": {
- "code": "string",
- "detail": "string",
- "status": 0
}
}
/v1/confirm-sign-up/
Request Body schema: application/json
confirmation-code required | string <= 20 characters |
username required | string <= 255 characters |
login | boolean Default: false |
tz | string <timezone> |
Responses
Request samples
- Payload
{- "confirmation-code": "string",
- "login": false,
- "tz": "string",
- "username": "string"
}
Response samples
- 201
- 4XX
{- "account-type": "provider",
- "login-error": {
- "code": "string",
- "detail": "string",
- "status": 0
}
}
/v1/deletion-requests/
query Parameters
user-email required | string <email> |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "archive": true,
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "email": "string",
- "individual-id": "string",
- "progress": [
- {
- "app": "string",
- "operation": "string",
- "state": "string"
}
], - "status": "done",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "deletion-requests"
}
], - "meta": { }
}
/v1/deletion-requests/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "archive": true,
- "password": "string",
- "type": "indv",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "deletion-requests"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archive": true,
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "email": "string",
- "individual-id": "string",
- "progress": [
- {
- "app": "string",
- "operation": "string",
- "state": "string"
}
], - "status": "done",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "deletion-requests"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "archive": true,
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "email": "string",
- "individual-id": "string",
- "progress": [
- {
- "app": "string",
- "operation": "string",
- "state": "string"
}
], - "status": "done",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "deletion-requests"
}, - "meta": { }
}
Update the status of a deletion job
Update the status of a deletion job
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
reference-id required | string <uuid> |
state required | any Value: "done" |
property name* additional property | any |
Responses
Request samples
- Payload
{- "reference-id": "11111111-1111-1111-1111-111111111111",
- "state": "done"
}
Response samples
- 201
- 4XX
{ }
/v1/email-logs/
query Parameters
filter[destination] | string [ 1 .. 255 ] characters |
filter[timestamp][gte] | string <datetime> |
filter[timestamp][lte] | string <datetime> |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "bounce-subtype": "string",
- "bounce-type": "string",
- "destination": "string",
- "event-received": "string",
- "notification-type": "string",
- "ses-id": "string",
- "ses-raw": { },
- "source": "string",
- "subject": "string",
- "timestamp": "string"
}, - "id": 0,
- "type": "email-logs"
}
], - "meta": { }
}
/v1/features/
query Parameters
filter[assignable] | boolean |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
filter[user-id] | string <uuid> Example: filter[user-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "assignable": true,
- "created-time": "string",
- "description": "string",
- "global-enabled": true,
- "last-modified-time": "string",
- "stage": "string"
}, - "id": "string",
- "type": "features"
}
], - "meta": { }
}
/v1/features/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "assignable": false,
- "description": "string",
- "global-enabled": false,
- "id": "string",
- "stage": "alpha"
}, - "type": "features"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "assignable": true,
- "created-time": "string",
- "description": "string",
- "global-enabled": true,
- "last-modified-time": "string",
- "stage": "string"
}, - "id": "string",
- "type": "features"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "assignable": true,
- "created-time": "string",
- "description": "string",
- "global-enabled": true,
- "last-modified-time": "string",
- "stage": "string"
}, - "id": "string",
- "type": "features"
}, - "meta": { }
}
/v1/features/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "assignable": true,
- "description": "string",
- "global-enabled": true,
- "stage": "alpha"
}, - "id": "string",
- "type": "features"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "assignable": true,
- "created-time": "string",
- "description": "string",
- "global-enabled": true,
- "last-modified-time": "string",
- "stage": "string"
}, - "id": "string",
- "type": "features"
}, - "meta": { }
}
/v1/features/{id}/add-users/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
user-ids required | Array of strings <uuid> non-empty [ items <uuid > ] |
force | boolean Default: false |
state | string Default: "enabled" Enum: "disabled" "dontcare" "enabled" |
Responses
Request samples
- Payload
{- "force": false,
- "state": "disabled",
- "user-emails": [
- "string"
]
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "assignable": true,
- "created-time": "string",
- "description": "string",
- "global-enabled": true,
- "last-modified-time": "string",
- "stage": "string"
}, - "id": "string",
- "type": "features"
}, - "meta": { }
}
/v1/features/{id}/remove-users/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
user-ids required | Array of strings <uuid> non-empty [ items <uuid > ] |
Responses
Request samples
- Payload
{- "user-emails": [
- "string"
]
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "assignable": true,
- "created-time": "string",
- "description": "string",
- "global-enabled": true,
- "last-modified-time": "string",
- "stage": "string"
}, - "id": "string",
- "type": "features"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "comment": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "current-page": "string",
- "email": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "string",
- "type": "feedback-comments"
}
], - "meta": { }
}
/v1/feedback-comments/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "comment": "string",
- "current-page": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "feedback-comments"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "comment": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "current-page": "string",
- "email": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "string",
- "type": "feedback-comments"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "comment": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "current-page": "string",
- "email": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "string",
- "type": "feedback-comments"
}, - "meta": { }
}
/v1/impersonation-requests/
query Parameters
filter[created-by] | string <uuid> Example: filter[created-by]=11111111-1111-1111-1111-111111111111 |
filter[user-email] | string <= 255 characters |
filter[user-id] | string <uuid> Example: filter[user-id]=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "state": "string",
- "user": {
- "email": "string",
- "id": "11111111-1111-1111-1111-111111111111"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "impersonation-requests"
}
], - "meta": { }
}
/v1/impersonation-requests/
Request Body schema: application/json
required | object | ||||||||
| |||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "impersonation-requests"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "state": "string",
- "user": {
- "email": "string",
- "id": "11111111-1111-1111-1111-111111111111"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "impersonation-requests"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "state": "string",
- "user": {
- "email": "string",
- "id": "11111111-1111-1111-1111-111111111111"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "impersonation-requests"
}, - "meta": { }
}
/v1/impersonation-requests/{id}/impersonate/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
access-token-expiration-seconds | integer [ 0 .. 3600 ] Default: 3600 |
refresh-token-expiration-seconds | integer [ 0 .. 10800 ] Default: 10800 |
Responses
Request samples
- Payload
{- "access-token-expiration-seconds": 3600,
- "refresh-token-expiration-seconds": 10800
}
Response samples
- 201
- 4XX
{- "access-token": "string",
- "email": "string",
- "first-name": "string",
- "id-token": "string",
- "impersonated-by": {
- "email": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "session-id": "string"
}, - "individual": {
- "id": "string"
}, - "last-name": "string",
- "locale": "en_US",
- "locale-explicit": true,
- "multi-organization": true,
- "organizations": [
- "11111111-1111-1111-1111-111111111111"
], - "refresh-token": "string",
- "session-id": "string",
- "tz": "string",
- "tz-explicit": true,
- "user-id": "string",
- "username": "string"
}
/v1/individual-group-individuals/
query Parameters
individual-group-id required | string <uuid> Example: individual-group-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "individual": {
- "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
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "individual-group-individuals"
}
], - "meta": { }
}
/v1/individual-group-leaders/
query Parameters
individual-group-id required | string <uuid> Example: individual-group-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "leader": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "username": "string"
}
}, - "type": "individual-group-leaders"
}
], - "meta": { }
}
/v1/individual-group-logs/
query Parameters
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
individual-group-id | string <uuid> Example: 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 (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-by": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "created-time": "string",
- "event": "add",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "subject": "individual"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-group-logs"
}
], - "meta": { }
}
/v1/individual-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 (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 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": { }
}
/v1/individual-groups/
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": { }
}
/v1/individual-groups/{id}/
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": { }
}
/v1/individual-groups/{id}/
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": { }
}
/v1/individual-groups/{id}/add-individuals/
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": { }
}
/v1/individual-groups/{id}/add-leaders/
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": { }
}
/v1/individual-groups/{id}/add-members/
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": { }
}
/v1/individual-groups/{id}/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 (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 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
}
}
/v1/individual-groups/{id}/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"
}
}
/v1/individual-groups/{id}/remove-individuals/
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": { }
}
/v1/individual-groups/{id}/remove-leaders/
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": { }
}
/v1/individual-groups/{id}/remove-members/
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": { }
}
/v1/individuals/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "owner-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "individuals"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "owner-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individuals"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "owner-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individuals"
}, - "meta": { }
}
/v1/internal-auth/
Request Body schema: application/json
namespace required | string <= 512 characters Namespace of service |
sa-name required | string <= 512 characters Name of the service |
sa-token-sha512 required | string <= 512 characters k8s service account token sha512 hash. You can get this from inside a pod with sha512(b64decode(/var/run/secrets/kubernetes.io/serviceaccount/token)).hex |
self-token-hash | string <= 512 characters ^[a-z0-9-]+$ Internal |
self-token-name | string <= 512 characters ^[a-z0-9-]+$ Internal |
Responses
Request samples
- Payload
{- "namespace": "string",
- "sa-name": "string",
- "sa-token-sha512": "string",
- "self-token-hash": "string",
- "self-token-name": "string"
}
Response samples
- 201
- 4XX
{- "access-token": "string",
- "email": "string",
- "expires-in": 0,
- "id-token": "string",
- "refresh-token": "string",
- "token-type": "Bearer",
- "user-id": "string",
- "username": "string"
}
/v1/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"
}
Get a list of all TotpConfigurations for a user.
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 setup of TOTP MFA for the users account.
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": { }
}
Delete a specific TotpConfiguration
You can only delete configurations that are both owned by you and not that are enabled. You must disable the configuration before deleting it.
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 204
- 4XX
null
Disable (deactivates) a TotpConfiguration without
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": { }
}
Enable (activate) a TotpConfiguration. This requir
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": { }
}
/v1/oauth2-client-settings/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[name] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "client-id": "string",
- "created-time": "string",
- "grant-type": "string",
- "last-modified-time": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "redirect-uris": [
- "string"
], - "scopes": [
- "string"
], - "secret": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth2-client-settings"
}
], - "meta": { }
}
/v1/oauth2-client-settings/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "redirect-uris": [
- "string"
]
}, - "type": "oauth2-client-settings"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "client-id": "string",
- "created-time": "string",
- "grant-type": "string",
- "last-modified-time": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "redirect-uris": [
- "string"
], - "scopes": [
- "string"
], - "secret": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth2-client-settings"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "client-id": "string",
- "created-time": "string",
- "grant-type": "string",
- "last-modified-time": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "redirect-uris": [
- "string"
], - "scopes": [
- "string"
], - "secret": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth2-client-settings"
}, - "meta": { }
}
/v1/oauth2-client-settings/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "string",
- "redirect-uris": [
- "string"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth2-client-settings"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "client-id": "string",
- "created-time": "string",
- "grant-type": "string",
- "last-modified-time": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "redirect-uris": [
- "string"
], - "scopes": [
- "string"
], - "secret": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth2-client-settings"
}, - "meta": { }
}
/v1/oauth2-client-settings/{id}/reset-secret/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
{- "data": {
- "attributes": {
- "client-id": "string",
- "created-time": "string",
- "grant-type": "string",
- "last-modified-time": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "redirect-uris": [
- "string"
], - "scopes": [
- "string"
], - "secret": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "oauth2-client-settings"
}, - "meta": { }
}
/v1/oauth2-launcher/
query Parameters
iss required | string <= 1024 characters |
launch required | string <= 1024 characters |
Responses
Response samples
- 4XX
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "string"
}, - "status": 400
}
]
}
/v1/oauth2-redirector/
query Parameters
code required | string <= 1024 characters |
state required | string <uuid> Example: state=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 4XX
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "string"
}, - "status": 400
}
]
}
/v1/oauth2-tokens/
Request Body schema: application/json
client_id required | string <= 100 characters |
client_secret required | string <= 255 characters |
code required | string <= 255 characters |
grant_type required | string Value: "authorization_code" |
redirect_uri | string <= 255 characters |
Responses
Request samples
- Payload
{- "client_id": "string",
- "client_secret": "string",
- "code": "string",
- "grant_type": "authorization_code",
- "redirect_uri": "string"
}
Response samples
- 4XX
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "string"
}, - "status": 400
}
]
}
/v1/onboarding-info/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "code": "string",
- "email": "string",
- "phone-number": "string"
}, - "type": "onboarding-info"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "onboarding-request": {
- "done": true,
- "status": "claimed"
}, - "organization": {
- "display-name": "string",
- "id": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "onboarding-info"
}, - "meta": { }
}
/v1/onboarding-requests/
query Parameters
organization required | string <uuid> Example: organization=11111111-1111-1111-1111-111111111111 |
string <= 255 characters Email of onboarding user | |
onboard-type | string Default: "patient" Enum: "patient" "provider" Restrict to Onboardings of certain type |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
patient-ids | Array of strings <uuid> <= 100 items [ items <uuid > ] Example: patient-ids=11111111-1111-1111-1111-111111111111 |
with-invite | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "claimed-by": "11111111-1111-1111-1111-111111111111",
- "claimed-time": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "done": true,
- "email-dsn": {
- "attributes": {
- "bounce": {
- "subtype": "string",
- "type": "Permanent"
}, - "created-at": "string",
- "email": "string",
- "state": "bounced",
- "status-at": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "email-dsn"
}, - "last-invite": {
- "email": {
- "created-time": "string",
- "error": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "respond-time": "string",
- "status": "created",
- "type": "email"
}, - "sms": {
- "created-time": "string",
- "error": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "respond-time": "string",
- "status": "created",
- "type": "email"
}
}, - "onboard-type": "patient",
- "organization": "11111111-1111-1111-1111-111111111111",
- "patient": "11111111-1111-1111-1111-111111111111",
- "patient-email": "string",
- "phone-number": "string",
- "provider-roles": [
- "string"
], - "registering-time": "string",
- "status": "claimed"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "onboarding-requests"
}
], - "meta": { }
}
/v1/onboarding-requests/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "auto-confirm": false,
- "auto-sign-up": false,
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-user-now": false,
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-group-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "notifications": [
- "email"
], - "onboard-type": "patient",
- "organization": "11111111-1111-1111-1111-111111111111",
- "password": "string",
- "patient": "11111111-1111-1111-1111-111111111111",
- "patient-email": "string",
- "phone-number": "string",
- "username": "string"
}, - "type": "onboarding-requests"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "claimed-by": "11111111-1111-1111-1111-111111111111",
- "claimed-time": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "done": true,
- "email-dsn": {
- "attributes": {
- "bounce": {
- "subtype": "string",
- "type": "Permanent"
}, - "created-at": "string",
- "email": "string",
- "state": "bounced",
- "status-at": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "email-dsn"
}, - "last-invite": {
- "email": {
- "created-time": "string",
- "error": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "respond-time": "string",
- "status": "created",
- "type": "email"
}, - "sms": {
- "created-time": "string",
- "error": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "respond-time": "string",
- "status": "created",
- "type": "email"
}
}, - "onboard-type": "patient",
- "organization": "11111111-1111-1111-1111-111111111111",
- "patient": "11111111-1111-1111-1111-111111111111",
- "patient-email": "string",
- "phone-number": "string",
- "provider-roles": [
- "string"
], - "registering-time": "string",
- "status": "claimed"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "onboarding-requests"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "claimed-by": "11111111-1111-1111-1111-111111111111",
- "claimed-time": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "done": true,
- "email-dsn": {
- "attributes": {
- "bounce": {
- "subtype": "string",
- "type": "Permanent"
}, - "created-at": "string",
- "email": "string",
- "state": "bounced",
- "status-at": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "email-dsn"
}, - "last-invite": {
- "email": {
- "created-time": "string",
- "error": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "respond-time": "string",
- "status": "created",
- "type": "email"
}, - "sms": {
- "created-time": "string",
- "error": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "respond-time": "string",
- "status": "created",
- "type": "email"
}
}, - "onboard-type": "patient",
- "organization": "11111111-1111-1111-1111-111111111111",
- "patient": "11111111-1111-1111-1111-111111111111",
- "patient-email": "string",
- "phone-number": "string",
- "provider-roles": [
- "string"
], - "registering-time": "string",
- "status": "claimed"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "onboarding-requests"
}, - "meta": { }
}
/v1/onboarding-requests/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "email": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "onboarding-requests"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "claimed-by": "11111111-1111-1111-1111-111111111111",
- "claimed-time": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "done": true,
- "email-dsn": {
- "attributes": {
- "bounce": {
- "subtype": "string",
- "type": "Permanent"
}, - "created-at": "string",
- "email": "string",
- "state": "bounced",
- "status-at": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "email-dsn"
}, - "last-invite": {
- "email": {
- "created-time": "string",
- "error": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "respond-time": "string",
- "status": "created",
- "type": "email"
}, - "sms": {
- "created-time": "string",
- "error": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "respond-time": "string",
- "status": "created",
- "type": "email"
}
}, - "onboard-type": "patient",
- "organization": "11111111-1111-1111-1111-111111111111",
- "patient": "11111111-1111-1111-1111-111111111111",
- "patient-email": "string",
- "phone-number": "string",
- "provider-roles": [
- "string"
], - "registering-time": "string",
- "status": "claimed"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "onboarding-requests"
}, - "meta": { }
}
Resend notifications. It will send email and sms-t
Resend notifications. It will send email and sms-text whenever possible.
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||
| |||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": { },
- "type": "onboarding-requests-email"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "claimed-by": "11111111-1111-1111-1111-111111111111",
- "claimed-time": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "done": true,
- "email-dsn": {
- "attributes": {
- "bounce": {
- "subtype": "string",
- "type": "Permanent"
}, - "created-at": "string",
- "email": "string",
- "state": "bounced",
- "status-at": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "email-dsn"
}, - "last-invite": {
- "email": {
- "created-time": "string",
- "error": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "respond-time": "string",
- "status": "created",
- "type": "email"
}, - "sms": {
- "created-time": "string",
- "error": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "respond-time": "string",
- "status": "created",
- "type": "email"
}
}, - "onboard-type": "patient",
- "organization": "11111111-1111-1111-1111-111111111111",
- "patient": "11111111-1111-1111-1111-111111111111",
- "patient-email": "string",
- "phone-number": "string",
- "provider-roles": [
- "string"
], - "registering-time": "string",
- "status": "claimed"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "onboarding-requests"
}, - "meta": { }
}
/v1/onboarding-texts/{id}/update-status/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||
|
Responses
Request samples
- Payload
{- "data": {
- "attributes": { },
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}
}
Response samples
- 201
- 4XX
{ }
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "enrollment-schema": { },
- "organization": {
- "display-name": "string",
- "logo-url": "string",
- "name": "string"
}
}, - "id": "string",
- "type": "organization-code-info"
}, - "meta": { }
}
/v1/organization-codes/
query Parameters
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "enrollment-schema": { },
- "expires-at": "string",
- "individual-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "organization": {
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "sign-up-requests-count": 0
}, - "id": "string",
- "type": "organization-codes"
}
], - "meta": { }
}
/v1/organization-codes/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "enrollment-schema": { },
- "expires-at": "string",
- "id": "string",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "organization-codes"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "enrollment-schema": { },
- "expires-at": "string",
- "individual-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "organization": {
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "sign-up-requests-count": 0
}, - "id": "string",
- "type": "organization-codes"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "enrollment-schema": { },
- "expires-at": "string",
- "individual-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "organization": {
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "sign-up-requests-count": 0
}, - "id": "string",
- "type": "organization-codes"
}, - "meta": { }
}
/v1/organization-codes/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "enrollment-schema": { },
- "expires-at": "string",
- "individual-group-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "string",
- "type": "organization-codes"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "enrollment-schema": { },
- "expires-at": "string",
- "individual-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "organization": {
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "sign-up-requests-count": 0
}, - "id": "string",
- "type": "organization-codes"
}, - "meta": { }
}
/v1/organization-codes/{id}/users/
path Parameters
id required | string Resource identifier |
query Parameters
string <= 255 characters | |
email-verified | boolean |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
state | string Enum: "archived" "confirmed" "disabled" "force_reset_password" "init" "registered" "registered_disabled" |
text | string <= 255 characters |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "authz-last-event-time": "string",
- "authz-last-populated-time": "string",
- "auto-confirm": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "classification": "carium",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "date-created": "string",
- "date-last-modified": "string",
- "default-organization-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "last-login-time": "string",
- "last-modified-time": "string",
- "last-name": "string",
- "locale": "en_US",
- "locale-explicit": true,
- "organization-id": "string",
- "organization-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "organization-logo-url": "string",
- "phone": "string",
- "phone-type": "",
- "phone-verified": true,
- "primary-individual-id": "string",
- "registered": true,
- "registration-completed-time": "string",
- "registration-invite": "accepted",
- "state": "archived",
- "status": "string",
- "tz": "string",
- "tz-explicit": true,
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-code-users"
}
], - "meta": { }
}
/v1/organization-email-templates/
query Parameters
filter[format] | string Enum: "html" "txt" |
filter[locale] | string Enum: "en_US" "es_US" |
filter[type] | string Enum: "forgot-password" "messaging-patient" "messaging-provider" "onboarding" "onboarding-provider" "reverify-email" "verify-email" |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
theme-id | string <uuid> Example: theme-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-time": "string",
- "format": "html",
- "last-modified-time": "string",
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "subject": "string",
- "support-email": "user@example.com",
- "support-email-title": "string",
- "template": "string",
- "theme-id": "11111111-1111-1111-1111-111111111111",
- "type": "forgot-password"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-email-templates"
}
], - "meta": { }
}
/v1/organization-email-templates/
Request Body schema: application/json
required | object | ||||||||||||||||||||||
| |||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "format": "html",
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "subject": "string",
- "support-email": "string",
- "support-email-title": "string",
- "template": "string",
- "type": "forgot-password"
}, - "type": "organization-email-templates"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-time": "string",
- "format": "html",
- "last-modified-time": "string",
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "subject": "string",
- "support-email": "user@example.com",
- "support-email-title": "string",
- "template": "string",
- "theme-id": "11111111-1111-1111-1111-111111111111",
- "type": "forgot-password"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-email-templates"
}, - "meta": { }
}
/v1/organization-email-templates/{id}/
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-time": "string",
- "format": "html",
- "last-modified-time": "string",
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "subject": "string",
- "support-email": "user@example.com",
- "support-email-title": "string",
- "template": "string",
- "theme-id": "11111111-1111-1111-1111-111111111111",
- "type": "forgot-password"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-email-templates"
}, - "meta": { }
}
/v1/organization-email-templates/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||
| |||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "format": "html",
- "locale": "en_US",
- "subject": "string",
- "support-email": "string",
- "support-email-title": "string",
- "template": "string",
- "type": "forgot-password"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-email-templates"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-time": "string",
- "format": "html",
- "last-modified-time": "string",
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "subject": "string",
- "support-email": "user@example.com",
- "support-email-title": "string",
- "template": "string",
- "theme-id": "11111111-1111-1111-1111-111111111111",
- "type": "forgot-password"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-email-templates"
}, - "meta": { }
}
/v1/organization-features/
query Parameters
filter[feature-name] | string <= 255 characters |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "feature-assignable": true,
- "feature-id": "string",
- "feature-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "organization-name": "string",
- "state": "disabled"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-features"
}
], - "meta": { }
}
/v1/organization-features/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "feature-name": "string",
- "force": false,
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "state": "disabled"
}, - "type": "organization-features"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "feature-assignable": true,
- "feature-id": "string",
- "feature-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "organization-name": "string",
- "state": "disabled"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-features"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "feature-assignable": true,
- "feature-id": "string",
- "feature-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "organization-name": "string",
- "state": "disabled"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-features"
}, - "meta": { }
}
/v1/organization-features/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "force": true,
- "state": "disabled"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-features"
}, - "meta": { }
}
Response samples
- 200
- 4XX
null
/v1/organization-general-messages/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-time": "string",
- "last-modified-time": "string",
- "locale": "en_US",
- "message": "string",
- "name": "contact",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-general-messages"
}
], - "meta": { }
}
/v1/organization-general-messages/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "locale": "en_US",
- "message": "string",
- "name": "contact",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "organization-general-messages"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-time": "string",
- "last-modified-time": "string",
- "locale": "en_US",
- "message": "string",
- "name": "contact",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-general-messages"
}, - "meta": { }
}
/v1/organization-general-messages/{id}/
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-time": "string",
- "last-modified-time": "string",
- "locale": "en_US",
- "message": "string",
- "name": "contact",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-general-messages"
}, - "meta": { }
}
/v1/organization-general-messages/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "message": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-general-messages"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-time": "string",
- "last-modified-time": "string",
- "locale": "en_US",
- "message": "string",
- "name": "contact",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-general-messages"
}, - "meta": { }
}
/v1/organization-sms-templates/
query Parameters
filter[locale] | string Enum: "en_US" "es_US" |
filter[type] | string Enum: "onboarding" "onboarding-provider" "reset-password" "verify" |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
theme-id | string <uuid> Example: theme-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-time": "string",
- "last-modified-time": "string",
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "template": "string",
- "theme-id": "11111111-1111-1111-1111-111111111111",
- "type": "onboarding"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-sms-templates"
}
], - "meta": { }
}
/v1/organization-sms-templates/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "template": "string",
- "type": "onboarding"
}, - "type": "organization-sms-templates"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-time": "string",
- "last-modified-time": "string",
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "template": "string",
- "theme-id": "11111111-1111-1111-1111-111111111111",
- "type": "onboarding"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-sms-templates"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-time": "string",
- "last-modified-time": "string",
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "template": "string",
- "theme-id": "11111111-1111-1111-1111-111111111111",
- "type": "onboarding"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-sms-templates"
}, - "meta": { }
}
/v1/organization-sms-templates/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "locale": "en_US",
- "template": "string",
- "type": "onboarding"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-sms-templates"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-time": "string",
- "last-modified-time": "string",
- "locale": "en_US",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "template": "string",
- "theme-id": "11111111-1111-1111-1111-111111111111",
- "type": "onboarding"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-sms-templates"
}, - "meta": { }
}
/v1/organization-themes/
query Parameters
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[domain] | string <= 255 characters |
filter[include-inactive] | boolean Default: false |
filter[support-email] | string <email> |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "created-time": "string",
- "domain": "string",
- "last-modified-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-time": "string",
- "support-email": "string",
- "support-email-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-themes"
}
], - "meta": { }
}
/v1/organization-themes/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "domain": "string",
- "support-email": "user@example.com",
- "support-email-name": "string"
}, - "type": "organization-themes"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "created-time": "string",
- "domain": "string",
- "last-modified-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-time": "string",
- "support-email": "string",
- "support-email-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-themes"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "created-time": "string",
- "domain": "string",
- "last-modified-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-time": "string",
- "support-email": "string",
- "support-email-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-themes"
}, - "meta": { }
}
/v1/organization-themes/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "domain": "string",
- "support-email": "user@example.com",
- "support-email-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-themes"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "created-time": "string",
- "domain": "string",
- "last-modified-by": {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}, - "last-modified-time": "string",
- "support-email": "string",
- "support-email-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization-themes"
}, - "meta": { }
}
/v1/organizations/
query Parameters
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[include-inactive] | boolean Default: false |
filter[name] | string <= 255 characters |
filter[name][contains] | string <= 255 characters |
page[limit] | integer Default: 25 |
page[offset] | integer Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "authorization-type": "open",
- "classification": "string",
- "display-name": "string",
- "is-active": true,
- "last-modified-time": "string",
- "logo-ready-to-use": true,
- "name": "string",
- "provider-type": "string",
- "theme-id": "11111111-1111-1111-1111-111111111111",
- "timezone": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organizations"
}
], - "meta": { }
}
/v1/organizations/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "classification": "carium",
- "display-name": "string",
- "name": "string",
- "provider-type": "coach",
- "timezone": "string"
}, - "type": "organizations"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "authorization-type": "open",
- "classification": "string",
- "display-name": "string",
- "is-active": true,
- "last-modified-time": "string",
- "logo-ready-to-use": true,
- "name": "string",
- "provider-type": "string",
- "theme-id": "11111111-1111-1111-1111-111111111111",
- "timezone": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organizations"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "authorization-type": "open",
- "classification": "string",
- "display-name": "string",
- "is-active": true,
- "last-modified-time": "string",
- "logo-ready-to-use": true,
- "name": "string",
- "provider-type": "string",
- "theme-id": "11111111-1111-1111-1111-111111111111",
- "timezone": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organizations"
}, - "meta": { }
}
/v1/organizations/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||
| |||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "authorization-type": "open",
- "classification": "carium",
- "display-name": "string",
- "name": "string",
- "provider-type": "coach",
- "theme-id": "11111111-1111-1111-1111-111111111111",
- "timezone": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organizations"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "authorization-type": "open",
- "classification": "string",
- "display-name": "string",
- "is-active": true,
- "last-modified-time": "string",
- "logo-ready-to-use": true,
- "name": "string",
- "provider-type": "string",
- "theme-id": "11111111-1111-1111-1111-111111111111",
- "timezone": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organizations"
}, - "meta": { }
}
/v1/organizations/{id}/add-user/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "email": "user@example.com",
- "role-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "organizations"
}, - "meta": { }
}
Response samples
- 201
- 4XX
null
/v1/organizations/{id}/process-logo-upload/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "authorization-type": "open",
- "classification": "string",
- "display-name": "string",
- "is-active": true,
- "last-modified-time": "string",
- "logo-ready-to-use": true,
- "name": "string",
- "provider-type": "string",
- "theme-id": "11111111-1111-1111-1111-111111111111",
- "timezone": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organizations"
}, - "meta": { }
}
/v1/organizations/{id}/remove-user/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "email": "user@example.com",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "organizations"
}, - "meta": { }
}
Response samples
- 201
- 4XX
null
/v1/organizations/{id}/upload-logo/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
content-type required | string <= 255 characters |
filename required | string <= 255 characters |
Responses
Request samples
- Payload
{- "content-type": "string",
- "filename": "string"
}
Response samples
- 201
- 4XX
{- "data": {
- "expiration-time": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "upload-data": { },
- "upload-url": "string"
}
}
/v1/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"
]
}
/v1/purge-data/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "archive": false,
- "entity-id": "string",
- "entity-type": "individual",
- "reference-id": "string",
- "request-id": "string"
}, - "type": "system-purges"
}, - "meta": { }
}
Response samples
- 201
null
/v1/refresh-token/
Request Body schema: application/json
refresh-token required | string <= 2048 characters |
interactive | boolean Default: false Is this refresh due to immediate user presence? Defaults to false. If true, refresh may be rejected and user interaction required (eg Service Document agreements required). |
Responses
Request samples
- Payload
{- "interactive": false,
- "refresh-token": "string"
}
Response samples
- 201
- 4XX
{- "access-token": "string",
- "email": "string",
- "first-name": "string",
- "id-token": "string",
- "impersonated-by": {
- "email": "string",
- "id": "string",
- "session-id": "string"
}, - "individual": {
- "id": "string"
}, - "last-name": "string",
- "locale": "en_US",
- "locale-explicit": true,
- "multi-organization": true,
- "organizations": [
- "11111111-1111-1111-1111-111111111111"
], - "session-id": "string",
- "tz": "string",
- "tz-explicit": true,
- "user-id": "string",
- "username": "string"
}
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "claimed-time": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "invited-email": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "registration-invitations"
}
], - "meta": { }
}
/v1/registration-invitations/
Request Body schema: application/json
required | object | ||||||||
| |||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "invited-email": "string"
}, - "type": "registration-invitations"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "claimed-time": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "invited-email": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "registration-invitations"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "claimed-time": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "invited-email": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "registration-invitations"
}, - "meta": { }
}
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "classpath": "string",
- "created-time": "string",
- "last-poll-time": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "replicators"
}
], - "meta": { }
}
Response samples
- 200
{- "data": {
- "attributes": {
- "classpath": "string",
- "created-time": "string",
- "last-poll-time": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "replicators"
}, - "meta": { }
}
/v1/resend-invitation/
Request Body schema: application/json
string <email> Deprecated | |
new-email | string <email> |
notifications | Array of strings Items Enum: "email" "sms" By default, will use the notification methods as specified in the onboarding-request. If empty, will default to |
username | string <= 255 characters |
Responses
Request samples
- Payload
{- "email": "user@example.com",
- "new-email": "user@example.com",
- "notifications": [
- "email"
], - "username": "string"
}
Response samples
- 201
- 4XX
{- "signup-request-id": "string",
- "signup-request-type": "onboard"
}
/v1/role-users/
query Parameters
role-id required | string <uuid> Example: role-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "role": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "user": {
- "email": "string",
- "id": "11111111-1111-1111-1111-111111111111"
}
}, - "id": 0,
- "type": "role-users"
}
], - "meta": { }
}
/v1/role-users/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "email": "user@example.com",
- "role-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "role-users"
}, - "meta": { }
}
Response samples
- 201
{- "data": {
- "attributes": {
- "role": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "user": {
- "email": "string",
- "id": "11111111-1111-1111-1111-111111111111"
}
}, - "id": 0,
- "type": "role-users"
}, - "meta": { }
}
/v1/roles/
query Parameters
filter[name] | string <= 255 characters |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "display-name": "string",
- "name": "string",
- "organization": {
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "organization-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "roles"
}
], - "meta": { }
}
/v1/roles/{id}/add-user/ Deprecated
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "email": "user@example.com",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "roles"
}, - "meta": { }
}
Response samples
- 201
- 4XX
null
/v1/roles/{id}/remove-user/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "email": "user@example.com",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "roles"
}, - "meta": { }
}
Response samples
- 201
- 4XX
null
/v1/saml-acs/{id}/acs/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
SAMLResponse required | string <= 99999 characters |
RelayState | string <= 99999 characters |
property name* additional property | any |
Responses
Request samples
- Payload
{- "RelayState": "string",
- "SAMLResponse": "string"
}
Response samples
- 4XX
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "string"
}, - "status": 400
}
]
}
/v1/saml-acs/{id}/logout/
path Parameters
id required | string Resource identifier |
query Parameters
SAMLRequest required | string <= 99999 characters |
RelayState | string <= 99999 characters |
SigAlg | string <= 99999 characters |
Signature | string <= 99999 characters |
Responses
Response samples
- 4XX
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "string"
}, - "status": 400
}
]
}
/v1/saml-login/
query Parameters
domain required | string <= 255 characters |
email-address | string <= 255 characters A specific email address to login to |
next | string <= 255 characters The URL to redirect to after login |
Responses
Response samples
- 4XX
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "string"
}, - "status": 400
}
]
}
/v1/service-documents/
query Parameters
latest required | boolean |
organization-code | string <= 20 characters Optional Organization Code for additional Organization Documents |
organizations | Array of strings <uuid> <= 10 items [ items <uuid > ] Example: organizations=11111111-1111-1111-1111-111111111111 |
referral-code | string <= 20 characters Optional referral code (onboarding code) for additional Organization Documents |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-time": "string",
- "html-link": "string",
- "organization": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "title": "string",
- "translations": [
- {
- "html-link": "string",
- "locale": "string",
- "title": "string"
}
], - "type": "string",
- "version": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "service-documents"
}
], - "meta": { }
}
/v1/service-documents/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
html | boolean |
locale | string <= 16 characters |
reflow | boolean Inject reflow CSS into html content |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-time": "string",
- "html-link": "string",
- "organization": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "title": "string",
- "translations": [
- {
- "html-link": "string",
- "locale": "string",
- "title": "string"
}
], - "type": "string",
- "version": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "service-documents"
}, - "meta": { }
}
Get a session by id.
Get a session by id.
path Parameters
id required | string Resource identifier |
query Parameters
include-login-info | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "expiration-time": "string",
- "login-info": {
- "email": "string",
- "first-name": "string",
- "impersonated-by": {
- "email": "string",
- "id": "string",
- "session-id": "string"
}, - "individual": {
- "id": "string"
}, - "last-name": "string",
- "locale": "en_US",
- "locale-explicit": true,
- "multi-organization": true,
- "organizations": [
- "11111111-1111-1111-1111-111111111111"
], - "session-id": "string",
- "tz": "string",
- "tz-explicit": true,
- "user-id": "string",
- "username": "string"
}, - "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sessions"
}, - "meta": { }
}
/v1/sign-up/
Request Body schema: application/json
first-name required | string |
last-name required | string |
organization-code required | string |
password required | string |
username required | string |
auto-confirm | boolean Deprecated Default: false |
auto-sign-up | boolean Default: false |
birth-date | string <date> |
contact-phone-mobile | string |
string | |
enrollment-data | object |
gender | string Enum: "female" "male" "other" "pnta" "unknown" |
locale | string Enum: "en_US" "es_US" |
notifications | Array of strings Items Enum: "email" "sms" |
preferred-name | string |
service-document-agreements | Array of strings List of service document IDs being agreed to |
set-username | string Enum: "email" "phone" |
source | string Enum: "email" "sms" |
tz | string <timezone> |
Responses
Request samples
- Payload
{- "auto-confirm": false,
- "locale": "en_US",
- "password": "string",
- "referral-code": "string",
- "service-document-agreements": [
- "string"
], - "set-username": "email",
- "source": "email",
- "tz": "string",
- "username": "string"
}
Response samples
- 201
- 4XX
{- "account-type": "provider"
}
/v1/synthetic-user-tokens/
Request Body schema: application/json
required | object | ||||||||||||||
|
Responses
Request samples
- Payload
{- "data": {
- "additional-claims": [
- {
- "claim": "string",
- "value": "string"
}
], - "expiration-secs": 1800,
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}
}
Response samples
- 201
- 4XX
{- "data": {
- "access-token": "string",
- "expiration-secs": 0,
- "expiration-time": "string",
- "session-id": "11111111-1111-1111-1111-111111111111"
}
}
/v1/url-shorteners/
query Parameters
code | string <= 8 characters |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "code": "string",
- "created-at": "string",
- "expires-at": "string",
- "full-path": "string",
- "netloc": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "redirect-count": 0,
- "redirect-url": "string",
- "short-url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "url-shorteners"
}
], - "meta": { }
}
/v1/url-shorteners/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "expires-at": "string",
- "full-path": "string",
- "netloc": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "url-shorteners"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "code": "string",
- "created-at": "string",
- "expires-at": "string",
- "full-path": "string",
- "netloc": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "redirect-count": 0,
- "redirect-url": "string",
- "short-url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "url-shorteners"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "code": "string",
- "created-at": "string",
- "expires-at": "string",
- "full-path": "string",
- "netloc": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "redirect-count": 0,
- "redirect-url": "string",
- "short-url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "url-shorteners"
}, - "meta": { }
}
/v1/url-shorteners/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "expires-at": "string",
- "full-path": "string",
- "netloc": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "url-shorteners"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "code": "string",
- "created-at": "string",
- "expires-at": "string",
- "full-path": "string",
- "netloc": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "redirect-count": 0,
- "redirect-url": "string",
- "short-url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "url-shorteners"
}, - "meta": { }
}
/v1/user-activities/
query Parameters
filter[cmp-timestamp] | Array of strings <= 2 items [ items <= 40 characters ] Compare timestamp against timestamp. Specify [comparator][datetime]. Comparators supported >, <, <=, >=. Use multiple to build a bounded time frame. |
filter[event-types] | Array of strings non-empty Items Enum: "login" "refr" "sreg" |
filter[exclude-carium-activity] | boolean Default: true |
filter[user-id] | string <uuid> Example: filter[user-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer Default: 500 |
page[offset] | integer Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "carium-employee": true,
- "event-type": "string",
- "timestamp": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-activities"
}
], - "meta": { }
}
/v1/user-checkins/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
filter[source] | string Enum: "android" "ios" "web" |
page[limit] | integer Default: 500 |
page[offset] | integer Default: 0 |
summary | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "app-version": "string",
- "created-time": "string",
- "model": "string",
- "os-version": "string",
- "source": "android",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-checkins"
}
], - "meta": { }
}
/v1/user-checkins/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "app-version": "string",
- "model": "string",
- "os-version": "string",
- "source": "android"
}, - "type": "user-checkins"
}, - "meta": { }
}
Response samples
- 201
{- "data": {
- "attributes": {
- "app-version": "string",
- "created-time": "string",
- "model": "string",
- "os-version": "string",
- "source": "android",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-checkins"
}, - "meta": { }
}
/v1/user-features/
query Parameters
filter[feature-name] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
user-email | string <email> |
user-id | string <uuid> Example: user-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "feature-id": "string",
- "feature-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "state": "disabled",
- "user-email": "user@example.com",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-features"
}
], - "meta": { }
}
/v1/user-features/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "feature-name": "string",
- "force": false,
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "state": "disabled",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "user-features"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "feature-id": "string",
- "feature-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "state": "disabled",
- "user-email": "user@example.com",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-features"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "feature-id": "string",
- "feature-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "state": "disabled",
- "user-email": "user@example.com",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-features"
}, - "meta": { }
}
/v1/user-features/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "force": true,
- "state": "disabled"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-features"
}, - "meta": { }
}
Response samples
- 200
- 4XX
null
/v1/user-organizations/
query Parameters
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
user-id | string <uuid> Example: user-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "organization-count": 0,
- "organization-display-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "organization-name": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "string",
- "type": "user-organizations"
}
], - "meta": { }
}
/v1/user-organizations/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "user-organizations"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "organization-count": 0,
- "organization-display-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "organization-name": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "string",
- "type": "user-organizations"
}, - "meta": { }
}
/v1/user-replications/
query Parameters
user-id required | string <uuid> Example: user-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-time": "string",
- "service": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-replications"
}
], - "meta": { }
}
/v1/user-replications/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "service": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "user-replications"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-time": "string",
- "service": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-replications"
}, - "meta": { }
}
/v1/users/
query Parameters
string <= 255 characters | |
filter[classification] | string Enum: "carium" "customer" "customer_test" |
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[email-verified] | boolean |
filter[enabled] | boolean |
filter[include-inactive] | boolean Default: false |
filter[include-participants] | boolean Default: false |
filter[include-tester] | boolean |
filter[include-unverified] | boolean Default: false |
filter[organization-admin] | boolean Value: true Find only org.admin users (False not supported) |
filter[phone-number] | string <phonenumberE164> <= 30 characters |
filter[primary-individual-ids] | Array of strings <uuid> [ items <uuid > ] Example: filter[primary-individual-ids]=11111111-1111-1111-1111-111111111111 |
filter[registration-invite] | Array of strings Items Enum: "accepted" "failed" "none" "sent" |
filter[username] | string <= 255 characters |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
shared-with-id | string <uuid> Example: shared-with-id=11111111-1111-1111-1111-111111111111 filter users shared with organization id or user id |
sort-by | Array of strings = 1 items Items Enum: "-email" "-first-name" "-id" "-last-name" "email" "first-name" "id" "last-name" |
text | string <= 255 characters |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "additional-individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "organization-logo-url": "string"
}
], - "authz-last-event-time": "string",
- "authz-last-populated-time": "string",
- "auto-confirm": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "classification": "carium",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "date-created": "string",
- "date-last-modified": "string",
- "default-organization-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "last-login-time": "string",
- "last-modified-time": "string",
- "last-name": "string",
- "locale": "en_US",
- "locale-explicit": true,
- "organization-admin": true,
- "organization-count": 0,
- "organization-id": "string",
- "organization-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "organization-logo-url": "string",
- "phone": "string",
- "phone-type": "",
- "phone-verified": true,
- "primary-individual-id": "string",
- "registered": true,
- "registration-completed-time": "string",
- "registration-invite": "accepted",
- "roles": [
- {
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-display-name": "string",
- "organization-id": "string",
- "organization-name": "string"
}
], - "shared-with": [
- {
- "contact-message": "string",
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "type": "organization"
}
], - "state": "archived",
- "status": "string",
- "tz": "string",
- "tz-explicit": true,
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "users"
}
], - "meta": { }
}
/v1/users/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
with-roles | boolean Default: false |
with-signups | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "additional-individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "organization-logo-url": "string"
}
], - "authz-last-event-time": "string",
- "authz-last-populated-time": "string",
- "auto-confirm": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "classification": "carium",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "date-created": "string",
- "date-last-modified": "string",
- "default-organization-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "enrollment-data": { },
- "first-name": "string",
- "last-login-time": "string",
- "last-modified-time": "string",
- "last-name": "string",
- "locale": "en_US",
- "locale-explicit": true,
- "onboarding-requests": [
- {
- "id": "11111111-1111-1111-1111-111111111111"
}
], - "org-code-signup-requests": [
- {
- "id": "string",
- "organization-code-id": "string"
}
], - "organization-admin": true,
- "organization-count": 0,
- "organization-id": "string",
- "organization-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "organization-logo-url": "string",
- "organizations": [
- {
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}
], - "phone": "string",
- "phone-type": "",
- "phone-verified": true,
- "primary-individual-id": "string",
- "registered": true,
- "registration-completed-time": "string",
- "registration-invite": "accepted",
- "roles": [
- {
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-display-name": "string",
- "organization-id": "string",
- "organization-name": "string"
}
], - "shared-with": [
- {
- "contact-message": "string",
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "type": "organization"
}
], - "state": "archived",
- "status": "string",
- "tz": "string",
- "tz-explicit": true,
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "users"
}, - "meta": { }
}
/v1/users/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "classification": "carium",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "default-organization-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "first-name": "string",
- "last-name": "string",
- "locale": "string",
- "phone": "string",
- "tz": "string",
- "username": "email"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "users"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "additional-individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "organization-logo-url": "string"
}
], - "authz-last-event-time": "string",
- "authz-last-populated-time": "string",
- "auto-confirm": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "classification": "carium",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "date-created": "string",
- "date-last-modified": "string",
- "default-organization-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "last-login-time": "string",
- "last-modified-time": "string",
- "last-name": "string",
- "locale": "en_US",
- "locale-explicit": true,
- "organization-admin": true,
- "organization-count": 0,
- "organization-id": "string",
- "organization-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "organization-logo-url": "string",
- "phone": "string",
- "phone-type": "",
- "phone-verified": true,
- "primary-individual-id": "string",
- "registered": true,
- "registration-completed-time": "string",
- "registration-invite": "accepted",
- "roles": [
- {
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-display-name": "string",
- "organization-id": "string",
- "organization-name": "string"
}
], - "shared-with": [
- {
- "contact-message": "string",
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "type": "organization"
}
], - "state": "archived",
- "status": "string",
- "tz": "string",
- "tz-explicit": true,
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "users"
}, - "meta": { }
}
/v1/users/{id}/change-email/ Deprecated
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
email required | string <= 255 characters |
Responses
Request samples
- Payload
{- "email": "string"
}
Response samples
- 201
- 4XX
null
/v1/users/{id}/change-password/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
new-password required | string <= 255 characters |
old-password required | string <= 255 characters |
maintain-active-sessions | boolean Default: false |
Responses
Request samples
- Payload
{- "context": "carium-support",
- "maintain-active-sessions": true,
- "new-password": "string"
}
Response samples
- 201
- 4XX
null
/v1/users/{id}/confirm-phone/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
phone-number required | string <phonenumberE164_us> |
Responses
Request samples
- Payload
{- "phone-number": "string"
}
Response samples
- 201
- 4XX
null
Delete all service document agreements for your us
Delete all service document agreements for your user. Limited to Carium employees.
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
null
/v1/users/{id}/disable/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "additional-individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "organization-logo-url": "string"
}
], - "authz-last-event-time": "string",
- "authz-last-populated-time": "string",
- "auto-confirm": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "classification": "carium",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "date-created": "string",
- "date-last-modified": "string",
- "default-organization-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "last-login-time": "string",
- "last-modified-time": "string",
- "last-name": "string",
- "locale": "en_US",
- "locale-explicit": true,
- "organization-admin": true,
- "organization-count": 0,
- "organization-id": "string",
- "organization-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "organization-logo-url": "string",
- "phone": "string",
- "phone-type": "",
- "phone-verified": true,
- "primary-individual-id": "string",
- "registered": true,
- "registration-completed-time": "string",
- "registration-invite": "accepted",
- "roles": [
- {
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-display-name": "string",
- "organization-id": "string",
- "organization-name": "string"
}
], - "shared-with": [
- {
- "contact-message": "string",
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "type": "organization"
}
], - "state": "archived",
- "status": "string",
- "tz": "string",
- "tz-explicit": true,
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "users"
}, - "meta": { }
}
/v1/users/{id}/enable/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "additional-individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "organization-logo-url": "string"
}
], - "authz-last-event-time": "string",
- "authz-last-populated-time": "string",
- "auto-confirm": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "classification": "carium",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "date-created": "string",
- "date-last-modified": "string",
- "default-organization-id": "11111111-1111-1111-1111-111111111111",
- "email": "string",
- "email-verified": true,
- "enabled": true,
- "first-name": "string",
- "last-login-time": "string",
- "last-modified-time": "string",
- "last-name": "string",
- "locale": "en_US",
- "locale-explicit": true,
- "organization-admin": true,
- "organization-count": 0,
- "organization-id": "string",
- "organization-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "organization-logo-url": "string",
- "phone": "string",
- "phone-type": "",
- "phone-verified": true,
- "primary-individual-id": "string",
- "registered": true,
- "registration-completed-time": "string",
- "registration-invite": "accepted",
- "roles": [
- {
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-display-name": "string",
- "organization-id": "string",
- "organization-name": "string"
}
], - "shared-with": [
- {
- "contact-message": "string",
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "type": "organization"
}
], - "state": "archived",
- "status": "string",
- "tz": "string",
- "tz-explicit": true,
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "users"
}, - "meta": { }
}
/v1/users/{id}/switch-organization/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
organization-id required | string <uuid> |
set-default required | boolean Default: false |
Responses
Request samples
- Payload
{- "organization-id": "11111111-1111-1111-1111-111111111111",
- "set-default": false
}
Response samples
- 201
- 4XX
{- "access-token": "string",
- "id-token": "string",
- "refresh-token": "string"
}
/v2/individual-groups/
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 (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
type | Array of strings Default: "regular&type=provider_only" Items Enum: "all_participants" "provider_only" "regular" "unassigned" |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "child-count": 0,
- "individuals-count": 0,
- "is-active": true,
- "last-modified-time": "string",
- "name": "string",
- "node-type": "division",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "tags": [
- "string"
], - "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-groups"
}
], - "meta": { }
}
/v2/individual-groups/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
filter[include-inactive] | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "child-count": 0,
- "individuals-count": 0,
- "is-active": true,
- "last-modified-time": "string",
- "name": "string",
- "node-type": "division",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-group": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "tags": [
- "string"
], - "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-groups"
}, - "meta": { }
}
/v2/internal-auth/
Request Body schema: application/json
required | object | ||||||||
| |||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "token": "string"
}, - "type": "internal-auths"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "access-token": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "internal-auths"
}, - "meta": { }
}