courier API definition (1.0.0)
courier 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": { }
}
Returns announcers
Returns announcers
query Parameters
filter[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": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event": "individual-shared",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "announcers"
}
], - "meta": { }
}
Creates a new announcer
Creates a new announcer
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "event": "individual-shared",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "type": "announcers"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event": "individual-shared",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "announcers"
}, - "meta": { }
}
Returns specific announcer
Returns specific announcer
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event": "individual-shared",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "announcers"
}, - "meta": { }
}
Modifies an existing announcer
Modifies an existing announcer
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "event": "individual-shared",
- "name": "string",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "announcers"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event": "individual-shared",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "announcers"
}, - "meta": { }
}
/v1/app-credentials/
query Parameters
filter[app-name] | string <= 64 characters |
filter[type] | string Enum: "apn" "fcm" |
include[archived] | boolean Default: false |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "app-name": "string",
- "archived": true,
- "created-at": "string",
- "data": { },
- "display-name": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "store-id": "string",
- "test-mode": true,
- "type": "apn"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "app-credentials"
}
], - "meta": { }
}
/v1/app-credentials/
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "app-name": "string",
- "data": { },
- "display-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "store-id": "string",
- "test-mode": false,
- "type": "apn"
}, - "type": "app-credentials"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "app-name": "string",
- "archived": true,
- "created-at": "string",
- "data": { },
- "display-name": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "store-id": "string",
- "test-mode": true,
- "type": "apn"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "app-credentials"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "app-name": "string",
- "archived": true,
- "created-at": "string",
- "data": { },
- "display-name": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "store-id": "string",
- "test-mode": true,
- "type": "apn"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "app-credentials"
}, - "meta": { }
}
/v1/app-credentials/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||
| |||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "app-name": "string",
- "archived": true,
- "data": { },
- "display-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "store-id": "string",
- "test-mode": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "app-credentials"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "app-name": "string",
- "archived": true,
- "created-at": "string",
- "data": { },
- "display-name": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "store-id": "string",
- "test-mode": true,
- "type": "apn"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "app-credentials"
}, - "meta": { }
}
/v1/ask-entries/
Request Body schema: application/json
required | object | ||||||
| |||||||
property name* additional property | any |
Responses
Request samples
- Payload
{- "request": {
- "timestamp": "string",
- "type": "string"
}
}
Response samples
- 200
- 4XX
{ }
/v1/ask-reminders/
query Parameters
individual-id required | string <uuid> Example: 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": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "alexa-reminder-id": "11111111-1111-1111-1111-111111111111",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "reminder-content": "string",
- "reminder-rrule": "string",
- "reminder-time-local": "string",
- "synced-to-alexa": true,
- "tz-info": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ask-reminders"
}
], - "meta": { }
}
/v1/ask-reminders/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "reminder-content": "string",
- "reminder-rrule": "string",
- "reminder-time-local": "string",
- "tz-info": "string"
}, - "type": "ask-reminders"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "alexa-reminder-id": "11111111-1111-1111-1111-111111111111",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "reminder-content": "string",
- "reminder-rrule": "string",
- "reminder-time-local": "string",
- "synced-to-alexa": true,
- "tz-info": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ask-reminders"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "alexa-reminder-id": "11111111-1111-1111-1111-111111111111",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "reminder-content": "string",
- "reminder-rrule": "string",
- "reminder-time-local": "string",
- "synced-to-alexa": true,
- "tz-info": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ask-reminders"
}, - "meta": { }
}
/v1/ask-reminders/{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",
- "reminder-content": "string",
- "reminder-rrule": "string",
- "reminder-time-local": "string",
- "tz-info": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ask-reminders"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "alexa-reminder-id": "11111111-1111-1111-1111-111111111111",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "reminder-content": "string",
- "reminder-rrule": "string",
- "reminder-time-local": "string",
- "synced-to-alexa": true,
- "tz-info": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ask-reminders"
}, - "meta": { }
}
/v1/ask-subscriptions/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[skill-id] | string <uuid> Example: filter[skill-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": {
- "alexa-app-id": "string",
- "alexa-user-id": "string",
- "created-at": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "registered-events": [
- "string"
], - "skill-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ask-subscriptions"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "alexa-app-id": "string",
- "alexa-user-id": "string",
- "created-at": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "registered-events": [
- "string"
], - "skill-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ask-subscriptions"
}, - "meta": { }
}
/v1/ask-subscriptions/{id}/send/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||
| |||||
expire | integer Default: 3600 | ||||
localized | Array of objects |
Responses
Request samples
- Payload
{- "event": {
- "name": "string",
- "payload": { }
}, - "expire": 3600,
- "localized": [
- { }
]
}
Response samples
- 201
{ }
/v1/badge-counts/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "count": 0,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "timestamp": "string",
- "type": "appointment"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "badge-counts"
}
], - "meta": { }
}
/v1/badge-counts/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "count": 0,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "timestamp": "string",
- "type": "appointment"
}, - "type": "badge-counts"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "count": 0,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "timestamp": "string",
- "type": "appointment"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "badge-counts"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "count": 0,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "timestamp": "string",
- "type": "appointment"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "badge-counts"
}, - "meta": { }
}
/v1/bulk-badge-counts/
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "values": [
- {
- "count": 0,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "timestamp": "string",
- "type": "appointment"
}
]
}, - "type": "bulk-badge-counts"
}, - "meta": { }
}
Response samples
- 201
- 4XX
null
/v1/communication-messages/
query Parameters
filter[archived] | boolean |
filter[bookmarked] | boolean If any bookmark exists for the channel |
filter[cmp-last-modified-time] | Array of strings <= 2 items [ items <= 40 characters ] Compare timestamp against channel last-modified-time. Specify [comparator][datetime]. Comparators supported >, <, <=, >=. Use multiple to build a bounded time frame. |
filter[individual-group-id] | string <uuid> Example: filter[individual-group-id]=11111111-1111-1111-1111-111111111111 |
filter[text] | string <= 512 characters |
filter[type] | string Enum: "direct-message" "group-message" "multicast" "none" "open" "single" |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer [ 1 .. 100 ] |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
sort | Array of strings Items Enum: "-ack-timestamp" "-last-timestamp" "-unread-count" "ack-timestamp" "last-timestamp" "unread-count" |
use-group-name | boolean Default: true |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}
], - "meta": {
- "page[limit]": 100,
- "page[offset]": 0,
- "page[total]": 0
}
}
/v1/communication-summaries/
query Parameters
include-senders | boolean Default: false Include a mapping of individual-id to counts |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "summary": {
- "message-senders": [
- {
- "count": 0,
- "individual-id": "string"
}
], - "message-types": [
- {
- "count": 0,
- "message-type": "group-messages"
}
], - "messages": 0,
- "notifications": 0,
- "provider-messages": 0,
- "video-channels": 0
}
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "individuals": [
- {
- "id": "11111111-1111-1111-1111-111111111111"
}
], - "last-sync-time": "string",
- "leaders": [
- {
- "id": "11111111-1111-1111-1111-111111111111"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "parent-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-groups"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "account-type": "string",
- "birth-date": "2019-08-24",
- "first-name": "string",
- "last-modified-time": "string",
- "last-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "preferred-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individuals"
}, - "meta": { }
}
/v1/individuals/{id}/multicast/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
template-data required | object |
template-id required | string <= 255 characters |
organization-id | string <uuid> |
Responses
Request samples
- Payload
{- "organization-id": "11111111-1111-1111-1111-111111111111",
- "template-data": { },
- "template-id": "string"
}
Response samples
- 201
- 4XX
{- "message-data": { },
- "task-id": "11111111-1111-1111-1111-111111111111"
}
/v1/individuals/{id}/recalculate-communication-summary/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "account-type": "string",
- "birth-date": "2019-08-24",
- "first-name": "string",
- "last-modified-time": "string",
- "last-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "preferred-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individuals"
}, - "meta": { }
}
/v1/messaging-attachments/
query Parameters
message-id required | string <uuid> Example: message-id=11111111-1111-1111-1111-111111111111 |
filter[include-pending] | boolean Default: false |
individual-id | string <uuid> Example: 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": {
- "content-size": 0,
- "content-type": "string",
- "created-at": "string",
- "filename": "string",
- "message-id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-attachments"
}
], - "meta": { }
}
/v1/messaging-attachments/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "content-type": "application/msword",
- "filename": "",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "messaging-attachments"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "expiration-time": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "upload-data": { },
- "upload-url": "string"
}
}
/v1/messaging-attachments/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "content-size": 0,
- "content-type": "string",
- "created-at": "string",
- "filename": "string",
- "message-id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-attachments"
}, - "meta": { }
}
/v1/messaging-attachments/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "removed": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-attachments"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "content-size": 0,
- "content-type": "string",
- "created-at": "string",
- "filename": "string",
- "message-id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-attachments"
}, - "meta": { }
}
/v1/messaging-attachments/{id}/process-upload/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
individual-id | string <uuid> |
Responses
Request samples
- Payload
{- "individual-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "content-size": 0,
- "content-type": "string",
- "created-at": "string",
- "filename": "string",
- "message-id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-attachments"
}, - "meta": { }
}
/v1/messaging-bookmarks/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[channel-id] | string <uuid> Example: filter[channel-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": {
- "channel": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "created-at": "string",
- "created-by": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "message": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-bookmarks"
}
], - "meta": { }
}
/v1/messaging-bookmarks/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "allow-multi-message": false,
- "channel-id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "messaging-bookmarks"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "channel": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "created-at": "string",
- "created-by": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "message": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-bookmarks"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "channel": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "created-at": "string",
- "created-by": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "message": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-bookmarks"
}, - "meta": { }
}
/v1/messaging-bulk-attachments/
query Parameters
bulk-message-id required | string <uuid> Example: bulk-message-id=11111111-1111-1111-1111-111111111111 |
filter[include-pending] | boolean Default: false |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "bulk-message-id": "11111111-1111-1111-1111-111111111111",
- "content-size": 0,
- "content-type": "string",
- "created-at": "string",
- "filename": "string",
- "thumbnail": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-bulk-attachments"
}
], - "meta": { }
}
/v1/messaging-bulk-attachments/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "bulk-message-id": "11111111-1111-1111-1111-111111111111",
- "content-type": "application/msword",
- "filename": ""
}, - "type": "messaging-bulk-attachments"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "expiration-time": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "upload-data": { },
- "upload-url": "string"
}
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "bulk-message-id": "11111111-1111-1111-1111-111111111111",
- "content-size": 0,
- "content-type": "string",
- "created-at": "string",
- "filename": "string",
- "thumbnail": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-bulk-attachments"
}, - "meta": { }
}
/v1/messaging-bulk-attachments/{id}/process-upload/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "bulk-message-id": "11111111-1111-1111-1111-111111111111",
- "content-size": 0,
- "content-type": "string",
- "created-at": "string",
- "filename": "string",
- "thumbnail": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-bulk-attachments"
}, - "meta": { }
}
/v1/messaging-bulk-messages/
query Parameters
filter[created-by] | string <uuid> Example: filter[created-by]=11111111-1111-1111-1111-111111111111 |
include-posted | boolean Default: false |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "draft": true,
- "individual-group-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "message": "string",
- "message-js": {
- "en_US": "string",
- "es_US": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "posted-time": "string",
- "sender-individual-group-id": "11111111-1111-1111-1111-111111111111",
- "sender-individual-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-bulk-messages"
}
], - "meta": { }
}
Posts a new message to many channels
Posts a new message to many channels
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "auto-ack": "",
- "auto-create-channel": true,
- "draft": false,
- "individual-group-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "message": "string",
- "message-js": {
- "en_US": "string",
- "es_US": "string"
}, - "sender-individual-group-id": "11111111-1111-1111-1111-111111111111",
- "sender-individual-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "messaging-bulk-messages"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "draft": true,
- "individual-group-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "message": "string",
- "message-js": {
- "en_US": "string",
- "es_US": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "posted-time": "string",
- "sender-individual-group-id": "11111111-1111-1111-1111-111111111111",
- "sender-individual-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-bulk-messages"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "draft": true,
- "individual-group-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "message": "string",
- "message-js": {
- "en_US": "string",
- "es_US": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "posted-time": "string",
- "sender-individual-group-id": "11111111-1111-1111-1111-111111111111",
- "sender-individual-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-bulk-messages"
}, - "meta": { }
}
/v1/messaging-bulk-messages/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "draft": true,
- "message": "string",
- "message-js": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-bulk-messages"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "draft": true,
- "individual-group-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "message": "string",
- "message-js": {
- "en_US": "string",
- "es_US": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "posted-time": "string",
- "sender-individual-group-id": "11111111-1111-1111-1111-111111111111",
- "sender-individual-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-bulk-messages"
}, - "meta": { }
}
Returns channels
Returns channels
query Parameters
filter[archived] | boolean |
filter[cmp-last-modified-time] | Array of strings <= 2 items [ items <= 40 characters ] Compare timestamp against channel last-modified-time. Specify [comparator][datetime]. Comparators supported >, <, <=, >=. Use multiple to build a bounded time frame. |
filter[floating] | boolean |
filter[individual-group-id] | string <uuid> Example: filter[individual-group-id]=11111111-1111-1111-1111-111111111111 |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer [ 1 .. 50 ] Default: 50 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
participant-id | string <uuid> Example: participant-id=11111111-1111-1111-1111-111111111111 |
use-group-name | boolean Default: true |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}
], - "meta": { }
}
Creates a new channel
Creates a new channel
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "event-settings": {
- "enabled": true
}, - "floating": false,
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "label": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "subscription-type": "none",
- "text-number-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "messaging-channels"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Returns specific channel
Returns specific channel
path Parameters
id required | string Resource identifier |
query Parameters
include-individual-group | boolean Deprecated Default: false |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
use-group-name | boolean Default: true |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Modifies an existing channel
Modifies an existing channel
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": [
- {
- "op": "replace",
- "path": "string",
- "value": null
}
], - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Archive a channel
Archive a channel
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
/v1/messaging-channels/{id}/get-profile/
path Parameters
id required | string Resource identifier |
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 users operational individual-id |
profile-individual-id required | string <uuid> Example: profile-individual-id=11111111-1111-1111-1111-111111111111 individual-id for requested profile |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "photo": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "individual-profiles"
}
}
Modify channel preferences
Modify channel preferences
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | Array of objects | ||||
Array
| |||||
individual-id | string <uuid> |
Responses
Request samples
- Payload
{- "individual-id": "11111111-1111-1111-1111-111111111111",
- "values": [
- {
- "name": "notify",
- "value": "string"
}
]
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Enable/disable SMS path for this messaging channel
Enable/disable SMS path for this messaging channel
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
active required | boolean | ||||
initial-message | string <= 1024 characters | ||||
object | |||||
|
Responses
Request samples
- Payload
{- "active": true,
- "initial-message": "string",
- "initial-message-js": {
- "en_US": "string",
- "es_US": "string"
}
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Add subscriber to the channel
Add subscriber to the channel
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
individual-ids | Array of strings <uuid> [ items <uuid > ] |
Responses
Request samples
- Payload
{- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
]
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Unarchive a channel
Unarchive a channel
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Remove subscriber from the channel
Remove subscriber from the channel
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
individual-ids | Array of strings <uuid> [ items <uuid > ] |
Responses
Request samples
- Payload
{- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
]
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "archived": true,
- "bookmark": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message-id": "11111111-1111-1111-1111-111111111111"
}, - "caller-has-new-message": true,
- "caller-new-message-count": 0,
- "can-enable-sms": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "event-settings": {
- "enabled": true
}, - "floating": true,
- "group-provider-ack": true,
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "label": "string",
- "last-message": {
- "id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "posted-time": "string",
- "removed": true
}, - "last-modified-time": "string",
- "name": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "org-id": "11111111-1111-1111-1111-111111111111",
- "owner-first-name": "string",
- "owner-id": "11111111-1111-1111-1111-111111111111",
- "owner-last-name": "string",
- "subscribers": [
- {
- "admin": true,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone-number": "string",
- "phone-number-unsubscribed": true,
- "phone-number-verified": true,
- "pinned": true
}
], - "subscription-type": "none",
- "text-number": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "with-sms": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-channels"
}, - "meta": { }
}
Returns messages in specified group, posted by spe
Returns messages in specified group, posted by specified user, and belonging to specified subscription.
query Parameters
channel-id required | string <uuid> Example: channel-id=11111111-1111-1111-1111-111111111111 |
acknowledged | boolean |
filter[cmp-last-modified-time] | Array of strings <= 2 items [ items <= 40 characters ] Compare timestamp against message last-modified-time. Specify [comparator][datetime]. Comparators supported >, <, <=, >=. Use multiple to build a bounded time frame. |
filter[cmp-posted-time] | Array of strings <= 2 items [ items <= 40 characters ] Compare timestamp against message posted-time. Specify [comparator][datetime]. Comparators supported >, <, <=, >=. Use multiple to build a bounded time frame. |
filter[text] | string <= 255 characters |
include-phrases | boolean Default: false |
include-read-receipts | boolean Default: false |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
thumbnail | boolean Default: false |
user-id | string <uuid> Example: user-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "ack": true,
- "attachments": [
- {
- "content-size": 0,
- "content-type": "string",
- "filename": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}
], - "channel-id": "11111111-1111-1111-1111-111111111111",
- "destination": { },
- "draft": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "last-name": "string",
- "message": "string",
- "phrases": { },
- "posted-time": "string",
- "preferred-name": "string",
- "reactions": [
- {
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "reaction-type": "dislike",
- "user-name": "string"
}
], - "read-receipts": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "removed": true,
- "sentiment": "string",
- "source": "auto-responder",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-name": "string",
- "user-type": "participant"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}
], - "meta": { }
}
Posts a new message
Posts a new message
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "auto-ack": "",
- "channel-id": "11111111-1111-1111-1111-111111111111",
- "draft": false,
- "include-destinations": [
- "string"
], - "individual-id": "11111111-1111-1111-1111-111111111111",
- "message": "string"
}, - "type": "messaging-messages"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "ack": true,
- "attachments": [
- {
- "content-size": 0,
- "content-type": "string",
- "filename": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}
], - "channel-id": "11111111-1111-1111-1111-111111111111",
- "destination": { },
- "draft": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "last-name": "string",
- "message": "string",
- "phrases": { },
- "posted-time": "string",
- "preferred-name": "string",
- "reactions": [
- {
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "reaction-type": "dislike",
- "user-name": "string"
}
], - "read-receipts": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "removed": true,
- "sentiment": "string",
- "source": "auto-responder",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-name": "string",
- "user-type": "participant"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}, - "meta": { }
}
Returns a single message from the given id
Returns a single message from the given id
path Parameters
id required | string Resource identifier |
query Parameters
include-phrases | boolean Default: false |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
thumbnail | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "ack": true,
- "attachments": [
- {
- "content-size": 0,
- "content-type": "string",
- "filename": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}
], - "channel-id": "11111111-1111-1111-1111-111111111111",
- "destination": { },
- "draft": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "last-name": "string",
- "message": "string",
- "phrases": { },
- "posted-time": "string",
- "preferred-name": "string",
- "reactions": [
- {
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "reaction-type": "dislike",
- "user-name": "string"
}
], - "read-receipts": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "removed": true,
- "sentiment": "string",
- "source": "auto-responder",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-name": "string",
- "user-type": "participant"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}, - "meta": { }
}
Modifies an existing message
Modifies an existing message
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "draft": true,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "removed": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "ack": true,
- "attachments": [
- {
- "content-size": 0,
- "content-type": "string",
- "filename": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}
], - "channel-id": "11111111-1111-1111-1111-111111111111",
- "destination": { },
- "draft": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "last-name": "string",
- "message": "string",
- "phrases": { },
- "posted-time": "string",
- "preferred-name": "string",
- "reactions": [
- {
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "reaction-type": "dislike",
- "user-name": "string"
}
], - "read-receipts": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "removed": true,
- "sentiment": "string",
- "source": "auto-responder",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-name": "string",
- "user-type": "participant"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}, - "meta": { }
}
Acknowledge a message, and all messages before thi
Acknowledge a message, and all messages before this
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
allow-past | boolean Default: false |
individual-id | string <uuid> |
Responses
Request samples
- Payload
{- "allow-past": false,
- "individual-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "ack": true,
- "attachments": [
- {
- "content-size": 0,
- "content-type": "string",
- "filename": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}
], - "channel-id": "11111111-1111-1111-1111-111111111111",
- "destination": { },
- "draft": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "last-name": "string",
- "message": "string",
- "phrases": { },
- "posted-time": "string",
- "preferred-name": "string",
- "reactions": [
- {
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "reaction-type": "dislike",
- "user-name": "string"
}
], - "read-receipts": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "removed": true,
- "sentiment": "string",
- "source": "auto-responder",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-name": "string",
- "user-type": "participant"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}, - "meta": { }
}
add a user-reaction to a message
add a user-reaction to a message
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
reaction-type required | string Enum: "dislike" "like" "lol" "love" "sad" "wow" |
individual-id | string <uuid> |
Responses
Request samples
- Payload
{- "individual-id": "11111111-1111-1111-1111-111111111111",
- "reaction-type": "dislike"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "ack": true,
- "attachments": [
- {
- "content-size": 0,
- "content-type": "string",
- "filename": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}
], - "channel-id": "11111111-1111-1111-1111-111111111111",
- "destination": { },
- "draft": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "last-name": "string",
- "message": "string",
- "phrases": { },
- "posted-time": "string",
- "preferred-name": "string",
- "reactions": [
- {
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "reaction-type": "dislike",
- "user-name": "string"
}
], - "read-receipts": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "removed": true,
- "sentiment": "string",
- "source": "auto-responder",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-name": "string",
- "user-type": "participant"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}, - "meta": { }
}
delete a user-reaction from a message
delete a user-reaction from a message
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
reaction-type required | string Enum: "dislike" "like" "lol" "love" "sad" "wow" |
individual-id | string <uuid> |
Responses
Request samples
- Payload
{- "individual-id": "11111111-1111-1111-1111-111111111111",
- "reaction-type": "dislike"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "ack": true,
- "attachments": [
- {
- "content-size": 0,
- "content-type": "string",
- "filename": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "removed": true,
- "thumbnail": "string"
}
], - "channel-id": "11111111-1111-1111-1111-111111111111",
- "destination": { },
- "draft": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "last-name": "string",
- "message": "string",
- "phrases": { },
- "posted-time": "string",
- "preferred-name": "string",
- "reactions": [
- {
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "reaction-type": "dislike",
- "user-name": "string"
}
], - "read-receipts": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "removed": true,
- "sentiment": "string",
- "source": "auto-responder",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-name": "string",
- "user-type": "participant"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-messages"
}, - "meta": { }
}
get receipts of this message
get receipts of this message
path Parameters
id required | string Resource identifier |
query Parameters
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "read": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
], - "unread": [
- {
- "ack-time": "string",
- "ack-user-time": "string",
- "individual-first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-last-name": "string"
}
]
}
/v1/messaging-operations/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[type] | string Value: "move-group" |
include-args | boolean Default: false |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "logs": { },
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "status": "completed",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-operations"
}
], - "meta": { }
}
/v1/messaging-operations/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "move-group"
}, - "type": "messaging-operations"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "logs": { },
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "status": "completed",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-operations"
}, - "meta": { }
}
/v1/messaging-operations/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
include-args | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "logs": { },
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "status": "completed",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-operations"
}, - "meta": { }
}
/v1/messaging-plugins/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[name] | string [ 4 .. 15 ] characters ^[a-z0-9]+$ |
filter[type] | 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": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "enabled": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-plugins"
}
], - "meta": { }
}
/v1/messaging-plugins/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "type": "messaging-plugins"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "enabled": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-plugins"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "enabled": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-plugins"
}, - "meta": { }
}
/v1/messaging-plugins/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "name": "string",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-plugins"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "enabled": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-plugins"
}, - "meta": { }
}
/v1/messaging-plugins/{id}/disable/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "enabled": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-plugins"
}, - "meta": { }
}
/v1/messaging-plugins/{id}/enable/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "enabled": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-plugins"
}, - "meta": { }
}
/v1/messaging-plugins/{id}/expand/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
channel-id required | string <uuid> |
Responses
Request samples
- Payload
{- "channel-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
- 4XX
{- "message": "string"
}
/v1/messaging-responders/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[cmp-end-at] | Array of strings <= 2 items [ items <= 40 characters ] Compare timestamp against end-at. Specify [comparator][datetime]. Comparators supported >, <, <=, >=. Use multiple to build a bounded time frame. Append |
filter[cmp-start-at] | Array of strings <= 2 items [ items <= 40 characters ] Compare timestamp against start-at. Specify [comparator][datetime]. Comparators supported >, <, <=, >=. Use multiple to build a bounded time frame. Append |
filter[enabled] | boolean |
filter[individual-group-id] | string <uuid> Example: filter[individual-group-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
sort | Array of strings non-empty Default: "created-at" Items Enum: "-created-at" "-end-at" "-start-at" "created-at" "end-at" "start-at" |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "args": { },
- "calendar-args": {
- "rules": [
- {
- "day": "everyday",
- "end-time": "14:15:22Z",
- "start-time": "14:15:22Z"
}
], - "timezone": "string"
}, - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "enabled": true,
- "end-at": "string",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "start-at": "string",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-responders"
}
], - "meta": { }
}
/v1/messaging-responders/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "calendar-args": {
- "rules": [
- {
- "day": "everyday",
- "end-time": "14:15:22Z",
- "start-time": "14:15:22Z"
}
], - "timezone": "string"
}, - "end-at": "string",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "start-at": "string",
- "type": "string"
}, - "type": "messaging-responders"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "calendar-args": {
- "rules": [
- {
- "day": "everyday",
- "end-time": "14:15:22Z",
- "start-time": "14:15:22Z"
}
], - "timezone": "string"
}, - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "enabled": true,
- "end-at": "string",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "start-at": "string",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-responders"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "calendar-args": {
- "rules": [
- {
- "day": "everyday",
- "end-time": "14:15:22Z",
- "start-time": "14:15:22Z"
}
], - "timezone": "string"
}, - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "enabled": true,
- "end-at": "string",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "start-at": "string",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-responders"
}, - "meta": { }
}
/v1/messaging-responders/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "calendar-args": {
- "rules": [
- {
- "day": "everyday",
- "end-time": "14:15:22Z",
- "start-time": "14:15:22Z"
}
], - "timezone": "string"
}, - "end-at": { },
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "start-at": { },
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-responders"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "calendar-args": {
- "rules": [
- {
- "day": "everyday",
- "end-time": "14:15:22Z",
- "start-time": "14:15:22Z"
}
], - "timezone": "string"
}, - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "enabled": true,
- "end-at": "string",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "start-at": "string",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-responders"
}, - "meta": { }
}
/v1/messaging-responders/{id}/disable/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
{- "data": {
- "attributes": {
- "args": { },
- "calendar-args": {
- "rules": [
- {
- "day": "everyday",
- "end-time": "14:15:22Z",
- "start-time": "14:15:22Z"
}
], - "timezone": "string"
}, - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "enabled": true,
- "end-at": "string",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "start-at": "string",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-responders"
}, - "meta": { }
}
/v1/messaging-responders/{id}/enable/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
{- "data": {
- "attributes": {
- "args": { },
- "calendar-args": {
- "rules": [
- {
- "day": "everyday",
- "end-time": "14:15:22Z",
- "start-time": "14:15:22Z"
}
], - "timezone": "string"
}, - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "enabled": true,
- "end-at": "string",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "start-at": "string",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "messaging-responders"
}, - "meta": { }
}
/v1/multicasts/
query Parameters
filter[cmp-created-at] | Array of strings <= 2 items [ items <= 40 characters ] Compare timestamp against multicast created-at. Specify [comparator][datetime]. Comparators supported >, <, <=, >=. Use multiple to build a bounded time frame. |
include-individual-group | boolean Default: false |
include-individual-ids | boolean Default: false |
individual-group-id | 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 |
template-id | string <= 255 characters |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "data": { },
- "first-name": "string",
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "last-name": "string",
- "status": "string",
- "template-args": { },
- "template-id": "string",
- "user-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "multicasts"
}
], - "meta": { }
}
/v1/multicasts/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "data": { },
- "filter-type": "all-participants",
- "filter-value": { },
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "template-id": "string"
}, - "type": "multicasts"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "data": { },
- "first-name": "string",
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "last-name": "string",
- "status": "string",
- "template-args": { },
- "template-id": "string",
- "user-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "multicasts"
}, - "meta": { }
}
/v1/multicasts/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
include-individual-group | boolean Default: false |
include-individual-ids | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "data": { },
- "first-name": "string",
- "individual-group": {
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individuals": [
- {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "name": "string",
- "owner": {
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "organization"
}, - "preferred-name": "string",
- "verified": true
}
], - "individuals-count": 0,
- "leader-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "leaders": [
- {
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string"
}
], - "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "last-name": "string",
- "status": "string",
- "template-args": { },
- "template-id": "string",
- "user-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "multicasts"
}, - "meta": { }
}
/v1/org-preferences/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[name] | string Enum: "default-channel-title" "group-provider-ack" "initial-sms-message" |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "explicit": true,
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "json",
- "value": "string",
- "value-js": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "org-preferences"
}
], - "meta": { }
}
/v1/org-preferences/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "default-channel-title",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "json",
- "value": "string",
- "value-js": { }
}, - "type": "org-preferences"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "explicit": true,
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "json",
- "value": "string",
- "value-js": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "org-preferences"
}, - "meta": { }
}
/v1/organizations/
query Parameters
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": {
- "classification": "string",
- "display-name": "string",
- "last-modified-time": "string",
- "name": "string",
- "provider-type": "string",
- "timezone": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organizations"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "classification": "string",
- "display-name": "string",
- "last-modified-time": "string",
- "name": "string",
- "provider-type": "string",
- "timezone": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "organizations"
}, - "meta": { }
}
/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
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/sniffers/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "type": "sniffers"
}, - "meta": { }
}
Response samples
- 201
{- "data": {
- "attributes": {
- "created-time": "string",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffers"
}, - "meta": { }
}
Response samples
- 200
{- "data": {
- "attributes": {
- "created-time": "string",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffers"
}, - "meta": { }
}
/v1/sniffers/{id}/get-logs/
path Parameters
id required | string Resource identifier |
query Parameters
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "body": "string",
- "content_type": "string",
- "created-time": "string",
- "message": "string",
- "method": "string",
- "path": "string",
- "query-string": "string",
- "request-id": "string",
- "response": "string",
- "status-code": 0,
- "trace-id": "string",
- "user-agent": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffer-logs"
}
], - "meta": { }
}
/v1/text-account-numbers/
query Parameters
account-id | string <uuid> Example: account-id=11111111-1111-1111-1111-111111111111 |
filter[phone-number] | string <phonenumberE164> |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
phone-number | string <phonenumberE164> |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "alert": true,
- "capability-mms": true,
- "capability-sms": true,
- "capability-voice": true,
- "created-at": "string",
- "events": {
- "unknown-number": { }
}, - "forward-to": "string",
- "lata": "string",
- "latitude": "string",
- "logging": true,
- "longitude": "string",
- "notes": "string",
- "phone-number": "string",
- "postal-code": "string",
- "rate-center": "string",
- "region": "string",
- "twilio-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-account-numbers"
}
], - "meta": { }
}
/v1/text-account-numbers/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "alert": true,
- "area-code": "str",
- "forward-to": "string",
- "logging": false,
- "notes": "string"
}, - "type": "text-account-numbers"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "alert": true,
- "capability-mms": true,
- "capability-sms": true,
- "capability-voice": true,
- "created-at": "string",
- "events": {
- "unknown-number": { }
}, - "forward-to": "string",
- "lata": "string",
- "latitude": "string",
- "logging": true,
- "longitude": "string",
- "notes": "string",
- "phone-number": "string",
- "postal-code": "string",
- "rate-center": "string",
- "region": "string",
- "twilio-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-account-numbers"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "alert": true,
- "capability-mms": true,
- "capability-sms": true,
- "capability-voice": true,
- "created-at": "string",
- "events": {
- "unknown-number": { }
}, - "forward-to": "string",
- "lata": "string",
- "latitude": "string",
- "logging": true,
- "longitude": "string",
- "notes": "string",
- "phone-number": "string",
- "postal-code": "string",
- "rate-center": "string",
- "region": "string",
- "twilio-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-account-numbers"
}, - "meta": { }
}
/v1/text-account-numbers/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||
| |||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "alert": true,
- "events": {
- "unknown-number": { }
}, - "forward-to": "string",
- "logging": true,
- "notes": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-account-numbers"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "alert": true,
- "capability-mms": true,
- "capability-sms": true,
- "capability-voice": true,
- "created-at": "string",
- "events": {
- "unknown-number": { }
}, - "forward-to": "string",
- "lata": "string",
- "latitude": "string",
- "logging": true,
- "longitude": "string",
- "notes": "string",
- "phone-number": "string",
- "postal-code": "string",
- "rate-center": "string",
- "region": "string",
- "twilio-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-account-numbers"
}, - "meta": { }
}
/v1/text-account-numbers/{id}/reset-logs/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "alert": true,
- "capability-mms": true,
- "capability-sms": true,
- "capability-voice": true,
- "created-at": "string",
- "events": {
- "unknown-number": { }
}, - "forward-to": "string",
- "lata": "string",
- "latitude": "string",
- "logging": true,
- "longitude": "string",
- "notes": "string",
- "phone-number": "string",
- "postal-code": "string",
- "rate-center": "string",
- "region": "string",
- "twilio-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-account-numbers"
}, - "meta": { }
}
/v1/text-accounts/
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 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "allow-custom-number": true,
- "created-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "phone-number": "string",
- "twilio-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-accounts"
}
], - "meta": { }
}
/v1/text-accounts/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "allow-custom-number": false,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "text-accounts"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "allow-custom-number": true,
- "created-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "phone-number": "string",
- "twilio-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-accounts"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "allow-custom-number": true,
- "created-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "phone-number": "string",
- "twilio-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-accounts"
}, - "meta": { }
}
/v1/text-accounts/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "allow-custom-number": true,
- "phone-number": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-accounts"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "allow-custom-number": true,
- "created-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "phone-number": "string",
- "twilio-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-accounts"
}, - "meta": { }
}
/v1/text-accounts/{id}/claim-number/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
notes required | string <= 255 characters |
Responses
Request samples
- Payload
{- "notes": "string"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "alert": true,
- "capability-mms": true,
- "capability-sms": true,
- "capability-voice": true,
- "created-at": "string",
- "events": {
- "unknown-number": { }
}, - "forward-to": "string",
- "lata": "string",
- "latitude": "string",
- "logging": true,
- "longitude": "string",
- "notes": "string",
- "phone-number": "string",
- "postal-code": "string",
- "rate-center": "string",
- "region": "string",
- "twilio-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-account-numbers"
}, - "meta": { }
}
/v1/text-number-info/
query Parameters
number required | string <phonenumberE164_us> |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "carrier-name": "string",
- "created-at": "string",
- "error": "string",
- "last-modified-at": "string",
- "mobile-country-code": "string",
- "mobile-network-code": "string",
- "number": "string",
- "status": "pending",
- "type": ""
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-number-info"
}
], - "meta": { }
}
/v1/text-number-info/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "number": "string",
- "reresolve": false
}, - "type": "text-number-info"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "carrier-name": "string",
- "created-at": "string",
- "error": "string",
- "last-modified-at": "string",
- "mobile-country-code": "string",
- "mobile-network-code": "string",
- "number": "string",
- "status": "pending",
- "type": ""
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-number-info"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "carrier-name": "string",
- "created-at": "string",
- "error": "string",
- "last-modified-at": "string",
- "mobile-country-code": "string",
- "mobile-network-code": "string",
- "number": "string",
- "status": "pending",
- "type": ""
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-number-info"
}, - "meta": { }
}
/v1/text-number-logs/
query Parameters
number-id required | string <uuid> Example: number-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-at": "string",
- "log": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-number-logs"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "message": "string",
- "sender": "string",
- "sid": "string",
- "to": "string"
}, - "id": "string",
- "type": "text-receive-logs"
}, - "meta": { }
}
/v1/text-user-number-maps/
query Parameters
filter[number-id] | string <uuid> Example: filter[number-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": {
- "created-at": "string",
- "number-id": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-user-number-maps"
}
], - "meta": { }
}
/v1/text-user-number-maps/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "number-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "text-user-number-maps"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "number-id": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-user-number-maps"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "number-id": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "text-user-number-maps"
}, - "meta": { }
}
/v1/texts/
query Parameters
account-id required | string <uuid> Example: account-id=11111111-1111-1111-1111-111111111111 |
filter[number-id] | string <uuid> Example: filter[number-id]=11111111-1111-1111-1111-111111111111 |
filter[target] | string <phonenumberE164> |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "callback-status-url": "string",
- "callback-url": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "error": "string",
- "from": "string",
- "last-modified-at": "string",
- "message": "string",
- "status": "accepted",
- "target": "string",
- "twilio-sid": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "texts"
}
], - "meta": { }
}
/v1/texts/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "callback-json": { },
- "callback-one-off": true,
- "callback-status-url": "string",
- "callback-url": "string",
- "expected-responses": [
- "string"
], - "message": "string",
- "number-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "target": "string"
}, - "type": "texts"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "callback-status-url": "string",
- "callback-url": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "error": "string",
- "from": "string",
- "last-modified-at": "string",
- "message": "string",
- "status": "accepted",
- "target": "string",
- "twilio-sid": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "texts"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "callback-status-url": "string",
- "callback-url": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "error": "string",
- "from": "string",
- "last-modified-at": "string",
- "message": "string",
- "status": "accepted",
- "target": "string",
- "twilio-sid": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "texts"
}, - "meta": { }
}
/v1/texts/{id}/callback/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
property name* additional property | any |
Responses
Request samples
- Payload
{ }
Response samples
- 4XX
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "string"
}, - "status": 400
}
]
}
/v1/tts-synthesizers/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "locale": "en-US",
- "text": "string"
}, - "type": "tts-synthesizers"
}, - "meta": { }
}
/v1/user-consents/
query Parameters
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
filter[user-id] | 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": {
- "args": { },
- "created-at": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "state": "accepted",
- "target-id": "string",
- "type": "sms",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-consents"
}
], - "meta": { }
}
/v1/user-consents/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": {
- "messages": {
- "accept": "string",
- "initial": "string",
- "invalid-response": "string"
}
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "sms",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "user-consents"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "state": "accepted",
- "target-id": "string",
- "type": "sms",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-consents"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "state": "accepted",
- "target-id": "string",
- "type": "sms",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-consents"
}, - "meta": { }
}
/v1/user-devices/
query Parameters
all-users | boolean Default: false |
filter[app-name] | string <= 64 characters |
filter[app-version] | string <= 20 characters |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[model] | string <= 64 characters |
filter[type] | string Enum: "apn" "fcm" "web" |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
token | string <= 255 characters |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "allow-notification": true,
- "app-name": "string",
- "app-version": "string",
- "created-at": "string",
- "individual-id": "string",
- "last-modified-at": "string",
- "model": "string",
- "os-version": "string",
- "sandbox": false,
- "token": "string",
- "topic": "string",
- "type": "apn"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-devices"
}
], - "meta": { }
}
/v1/user-devices/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "allow-notification": true,
- "app-name": "string",
- "app-version": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "model": "string",
- "os-version": "string",
- "sandbox": false,
- "token": "string",
- "topic": "string",
- "type": "apn"
}, - "type": "user-devices"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "allow-notification": true,
- "app-name": "string",
- "app-version": "string",
- "created-at": "string",
- "individual-id": "string",
- "last-modified-at": "string",
- "model": "string",
- "os-version": "string",
- "sandbox": false,
- "token": "string",
- "topic": "string",
- "type": "apn"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-devices"
}, - "meta": { }
}
/v1/user-devices/{id}/get-logs/
path Parameters
id required | string Resource identifier |
query Parameters
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "badge-count": 0,
- "body": "string",
- "category": "string",
- "created-at": "string",
- "data": { },
- "title": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-device-logs"
}
], - "meta": { }
}
/v1/user-email-attachments/
query Parameters
email-id required | string <uuid> Example: email-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": {
- "content-type": "string",
- "created-at": "string",
- "download-link": "string",
- "filename": "string",
- "ready-to-use": true,
- "size": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-email-attachments"
}
], - "meta": { }
}
/v1/user-email-attachments/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "content-type": "string",
- "email-id": "11111111-1111-1111-1111-111111111111",
- "filename": "string"
}, - "type": "user-email-attachments"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "expiration-time": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "upload-data": { },
- "upload-url": "string"
}
/v1/user-email-attachments/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
with-link | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "content-type": "string",
- "created-at": "string",
- "download-link": "string",
- "filename": "string",
- "ready-to-use": true,
- "size": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-email-attachments"
}, - "meta": { }
}
/v1/user-email-attachments/{id}/process-upload/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
{- "data": {
- "attributes": {
- "content-type": "string",
- "created-at": "string",
- "download-link": "string",
- "filename": "string",
- "ready-to-use": true,
- "size": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-email-attachments"
}, - "meta": { }
}
/v1/user-emails/
query Parameters
individual-id required | string <uuid> Example: 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-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "message": "string",
- "message-html": "string",
- "result": "string",
- "sender-organization-id": "11111111-1111-1111-1111-111111111111",
- "status": "draft",
- "subject": "string",
- "task-id": "string",
- "to": [
- "user@example.com"
], - "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-emails"
}
], - "meta": { }
}
/v1/user-emails/
Request Body schema: application/json
required | object | ||||||||||||||||||||||
| |||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "auto-send": true,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "message-html": "string",
- "sender-organization-id": "11111111-1111-1111-1111-111111111111",
- "subject": "string",
- "to": "user@example.com"
}, - "type": "user-emails"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "message": "string",
- "message-html": "string",
- "result": "string",
- "sender-organization-id": "11111111-1111-1111-1111-111111111111",
- "status": "draft",
- "subject": "string",
- "task-id": "string",
- "to": [
- "user@example.com"
], - "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-emails"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "message": "string",
- "message-html": "string",
- "result": "string",
- "sender-organization-id": "11111111-1111-1111-1111-111111111111",
- "status": "draft",
- "subject": "string",
- "task-id": "string",
- "to": [
- "user@example.com"
], - "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-emails"
}, - "meta": { }
}
/v1/user-emails/{id}/send/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "message": "string",
- "message-html": "string",
- "result": "string",
- "sender-organization-id": "11111111-1111-1111-1111-111111111111",
- "status": "draft",
- "subject": "string",
- "task-id": "string",
- "to": [
- "user@example.com"
], - "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-emails"
}, - "meta": { }
}
/v1/user-multicasts/
query Parameters
individual-id required | string <uuid> Example: 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-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "template-data": { },
- "template-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-multicasts"
}
], - "meta": { }
}
/v1/user-multicasts/
Request Body schema: application/json
template-data required | object |
template-id required | string <= 255 characters |
individual-group-ids | Array of strings <uuid> non-empty [ items <uuid > ] |
individual-ids | Array of strings <uuid> non-empty [ items <uuid > ] |
organization-id | string <uuid> |
Responses
Request samples
- Payload
{- "individual-group-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "individual-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "organization-id": "11111111-1111-1111-1111-111111111111",
- "template-data": { },
- "template-id": "string"
}
Response samples
- 201
- 4XX
{- "message-data": { },
- "task-id": "11111111-1111-1111-1111-111111111111"
}
/v1/user-notification-counts/
query Parameters
filter[cmp-created-at] | Array of strings <= 2 items [ items <= 40 characters ] compare timestamp against notification created_at time. specify [comparator][datetime]. comparators supported <=, >=use multiple to build a bounded time frame. |
page[limit] | integer [ 0 .. 1000 ] Default: 500 |
page[offset] | integer >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "count": 0,
- "daily-for-date": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "notification-counts"
}
], - "meta": { }
}
/v1/user-notifications/
query Parameters
acknowledged | boolean |
filter[category] | string <= 32 characters |
include[inactive] | boolean Default: false |
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": {
- "acknowledged": true,
- "active": true,
- "created-at": "string",
- "data": {
- "apn": {
- "body": "string",
- "category": "string",
- "data": { },
- "title": "string"
}, - "fcm": {
- "body": "string",
- "category": "string",
- "data": { },
- "title": "string"
}, - "sms": {
- "bodies": [
- "string"
]
}, - "web": { }
}, - "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-first-name": "string",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-last-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-notifications"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "acknowledged": true,
- "active": true,
- "created-at": "string",
- "data": {
- "apn": {
- "body": "string",
- "category": "string",
- "data": { },
- "title": "string"
}, - "fcm": {
- "body": "string",
- "category": "string",
- "data": { },
- "title": "string"
}, - "sms": {
- "bodies": [
- "string"
]
}, - "web": { }
}, - "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-first-name": "string",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-last-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-notifications"
}, - "meta": { }
}
/v1/user-notifications/{id}/ack/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
ack-previous | boolean Default: false |
Responses
Request samples
- Payload
{- "ack-previous": false
}
Response samples
- 201
{- "data": {
- "attributes": {
- "acknowledged": true,
- "active": true,
- "created-at": "string",
- "data": {
- "apn": {
- "body": "string",
- "category": "string",
- "data": { },
- "title": "string"
}, - "fcm": {
- "body": "string",
- "category": "string",
- "data": { },
- "title": "string"
}, - "sms": {
- "bodies": [
- "string"
]
}, - "web": { }
}, - "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "user-first-name": "string",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "user-last-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "user-notifications"
}, - "meta": { }
}
/v1/users/
query Parameters
filter[email] | string <email> |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[username] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "auto-sign-up": true,
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "last-name": "string",
- "last-sync-time": "string",
- "locale": "string",
- "locale-explicit": true,
- "notifications": [
- "email"
], - "phone": "string",
- "phone-unsubscribed": true,
- "phone-verified": true,
- "primary-individual-id": "11111111-1111-1111-1111-111111111111",
- "sms-mode": "disabled",
- "state": "string",
- "tz": "string",
- "tz-explicit": true,
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "users"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "auto-sign-up": true,
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "last-name": "string",
- "last-sync-time": "string",
- "locale": "string",
- "locale-explicit": true,
- "notifications": [
- "email"
], - "phone": "string",
- "phone-unsubscribed": true,
- "phone-verified": true,
- "primary-individual-id": "11111111-1111-1111-1111-111111111111",
- "sms-mode": "disabled",
- "state": "string",
- "tz": "string",
- "tz-explicit": true,
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "users"
}, - "meta": { }
}
/v1/users/{id}/ Deprecated
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "notifications": [
- "email"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "users"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "auto-sign-up": true,
- "communication-preferences": { },
- "email": "string",
- "email-verified": true,
- "first-name": "string",
- "last-name": "string",
- "last-sync-time": "string",
- "locale": "string",
- "locale-explicit": true,
- "notifications": [
- "email"
], - "phone": "string",
- "phone-unsubscribed": true,
- "phone-verified": true,
- "primary-individual-id": "11111111-1111-1111-1111-111111111111",
- "sms-mode": "disabled",
- "state": "string",
- "tz": "string",
- "tz-explicit": true,
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "users"
}, - "meta": { }
}
/v1/users/{id}/multicast/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
template-id required | string <= 255 characters |
data | object |
individual-id | string <uuid> |
organization-id | string <uuid> |
Responses
Request samples
- Payload
{- "data": { },
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "template-id": "string"
}
Response samples
- 201
- 4XX
{- "message-data": { },
- "task-id": "11111111-1111-1111-1111-111111111111"
}
/v1/users/{id}/validate-multicast-params/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
data required | object |
individual-id required | string <uuid> |
organization-id required | string <uuid> |
template-id required | string <= 255 characters |
Responses
Request samples
- Payload
{- "data": { },
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "template-id": "string"
}
Response samples
- 201
- 4XX
{- "info": "string",
- "success": true
}
Returns channels
Returns channels
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
filter[states] | Array of strings Items Enum: "open" "scheduled" "terminated" |
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": {
- "appless": true,
- "appointment": {
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "join-start": "string",
- "start": "string"
}, - "channel-state": "open",
- "compositions": [
- {
- "created-at": "string",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "processing-pct": 100,
- "processing-status": "completed",
- "size": 0,
- "status": "failed"
}
], - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "encounter-id": "11111111-1111-1111-1111-111111111111",
- "max-participants": 0,
- "note": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "organization-display-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "participants": [
- {
- "account-type": "provider",
- "audio-state": "muted",
- "disconnected": true,
- "encounter-id": "string",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "note": "string",
- "photo": "string",
- "status": "string",
- "user": {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "id": "11111111-1111-1111-1111-111111111111",
- "phone-verified": true,
- "registration-invite": "accepted",
- "state": "archived"
}
}
], - "recorded": true,
- "scheduler-id": "11111111-1111-1111-1111-111111111111",
- "subject-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-channels"
}
], - "meta": { }
}
Creates a new channel
Creates a new channel
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "appless": false,
- "appointment": {
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "start": "string"
}, - "messaging-channel-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "participants": [
- "11111111-1111-1111-1111-111111111111"
], - "recorded": false,
- "subject-id": "11111111-1111-1111-1111-111111111111",
- "type": "direct",
- "with-email": false
}, - "type": "video-channels"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "appless": true,
- "appointment": {
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "join-start": "string",
- "start": "string"
}, - "channel-state": "open",
- "compositions": [
- {
- "created-at": "string",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "processing-pct": 100,
- "processing-status": "completed",
- "size": 0,
- "status": "failed"
}
], - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "encounter-id": "11111111-1111-1111-1111-111111111111",
- "max-participants": 0,
- "note": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "organization-display-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "participants": [
- {
- "account-type": "provider",
- "audio-state": "muted",
- "disconnected": true,
- "encounter-id": "string",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "note": "string",
- "photo": "string",
- "status": "string",
- "user": {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "id": "11111111-1111-1111-1111-111111111111",
- "phone-verified": true,
- "registration-invite": "accepted",
- "state": "archived"
}
}
], - "recorded": true,
- "scheduler-id": "11111111-1111-1111-1111-111111111111",
- "subject-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-channels"
}, - "meta": { }
}
Returns specific channel
Returns specific channel
path Parameters
id required | string Resource identifier |
query Parameters
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "appless": true,
- "appointment": {
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "join-start": "string",
- "start": "string"
}, - "channel-state": "open",
- "compositions": [
- {
- "created-at": "string",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "processing-pct": 100,
- "processing-status": "completed",
- "size": 0,
- "status": "failed"
}
], - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "encounter-id": "11111111-1111-1111-1111-111111111111",
- "max-participants": 0,
- "note": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "organization-display-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "participants": [
- {
- "account-type": "provider",
- "audio-state": "muted",
- "disconnected": true,
- "encounter-id": "string",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "note": "string",
- "photo": "string",
- "status": "string",
- "user": {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "id": "11111111-1111-1111-1111-111111111111",
- "phone-verified": true,
- "registration-invite": "accepted",
- "state": "archived"
}
}
], - "recorded": true,
- "scheduler-id": "11111111-1111-1111-1111-111111111111",
- "subject-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-channels"
}, - "meta": { }
}
Modifies an existing video-channel
Modifies an existing video-channel
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "appointment-duration": 0,
- "appointment-start": "string",
- "note": "string",
- "recorded": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-channels"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "appless": true,
- "appointment": {
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "join-start": "string",
- "start": "string"
}, - "channel-state": "open",
- "compositions": [
- {
- "created-at": "string",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "processing-pct": 100,
- "processing-status": "completed",
- "size": 0,
- "status": "failed"
}
], - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "encounter-id": "11111111-1111-1111-1111-111111111111",
- "max-participants": 0,
- "note": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "organization-display-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "participants": [
- {
- "account-type": "provider",
- "audio-state": "muted",
- "disconnected": true,
- "encounter-id": "string",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "note": "string",
- "photo": "string",
- "status": "string",
- "user": {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "id": "11111111-1111-1111-1111-111111111111",
- "phone-verified": true,
- "registration-invite": "accepted",
- "state": "archived"
}
}
], - "recorded": true,
- "scheduler-id": "11111111-1111-1111-1111-111111111111",
- "subject-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-channels"
}, - "meta": { }
}
/v1/video-channels/{id}/finalize-encounter/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
service-type-id | string <uuid> |
use-note-from-author-participant | boolean Default: false |
Responses
Request samples
- Payload
{- "service-type-id": "11111111-1111-1111-1111-111111111111",
- "use-note-from-author-participant": false
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "appless": true,
- "appointment": {
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "join-start": "string",
- "start": "string"
}, - "channel-state": "open",
- "compositions": [
- {
- "created-at": "string",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "processing-pct": 100,
- "processing-status": "completed",
- "size": 0,
- "status": "failed"
}
], - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "encounter-id": "11111111-1111-1111-1111-111111111111",
- "max-participants": 0,
- "note": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "organization-display-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "participants": [
- {
- "account-type": "provider",
- "audio-state": "muted",
- "disconnected": true,
- "encounter-id": "string",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "note": "string",
- "photo": "string",
- "status": "string",
- "user": {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "id": "11111111-1111-1111-1111-111111111111",
- "phone-verified": true,
- "registration-invite": "accepted",
- "state": "archived"
}
}
], - "recorded": true,
- "scheduler-id": "11111111-1111-1111-1111-111111111111",
- "subject-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-channels"
}, - "meta": { }
}
/v1/video-channels/{id}/get-credentials/
path Parameters
id required | string Resource identifier |
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "access-token": "string",
- "name": "string"
}
/v1/video-channels/{id}/participant-audio-states/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | Array of objects | ||||
Array
| |||||
individual-id | string <uuid> |
Responses
Request samples
- Payload
{- "individual-id": "11111111-1111-1111-1111-111111111111",
- "participants": [
- {
- "audio-state": "muted",
- "id": "11111111-1111-1111-1111-111111111111"
}
]
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "appless": true,
- "appointment": {
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "join-start": "string",
- "start": "string"
}, - "channel-state": "open",
- "compositions": [
- {
- "created-at": "string",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "processing-pct": 100,
- "processing-status": "completed",
- "size": 0,
- "status": "failed"
}
], - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "encounter-id": "11111111-1111-1111-1111-111111111111",
- "max-participants": 0,
- "note": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "organization-display-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "participants": [
- {
- "account-type": "provider",
- "audio-state": "muted",
- "disconnected": true,
- "encounter-id": "string",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "note": "string",
- "photo": "string",
- "status": "string",
- "user": {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "id": "11111111-1111-1111-1111-111111111111",
- "phone-verified": true,
- "registration-invite": "accepted",
- "state": "archived"
}
}
], - "recorded": true,
- "scheduler-id": "11111111-1111-1111-1111-111111111111",
- "subject-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-channels"
}, - "meta": { }
}
/v1/video-channels/{id}/reminder-timer/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "appless": true,
- "appointment": {
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "join-start": "string",
- "start": "string"
}, - "channel-state": "open",
- "compositions": [
- {
- "created-at": "string",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "processing-pct": 100,
- "processing-status": "completed",
- "size": 0,
- "status": "failed"
}
], - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "encounter-id": "11111111-1111-1111-1111-111111111111",
- "max-participants": 0,
- "note": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "organization-display-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "participants": [
- {
- "account-type": "provider",
- "audio-state": "muted",
- "disconnected": true,
- "encounter-id": "string",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "note": "string",
- "photo": "string",
- "status": "string",
- "user": {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "id": "11111111-1111-1111-1111-111111111111",
- "phone-verified": true,
- "registration-invite": "accepted",
- "state": "archived"
}
}
], - "recorded": true,
- "scheduler-id": "11111111-1111-1111-1111-111111111111",
- "subject-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-channels"
}, - "meta": { }
}
/v1/video-channels/{id}/terminate/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "appless": true,
- "appointment": {
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "join-start": "string",
- "start": "string"
}, - "channel-state": "open",
- "compositions": [
- {
- "created-at": "string",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "processing-pct": 100,
- "processing-status": "completed",
- "size": 0,
- "status": "failed"
}
], - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "encounter-id": "11111111-1111-1111-1111-111111111111",
- "max-participants": 0,
- "note": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "organization-display-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "participants": [
- {
- "account-type": "provider",
- "audio-state": "muted",
- "disconnected": true,
- "encounter-id": "string",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "note": "string",
- "photo": "string",
- "status": "string",
- "user": {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "id": "11111111-1111-1111-1111-111111111111",
- "phone-verified": true,
- "registration-invite": "accepted",
- "state": "archived"
}
}
], - "recorded": true,
- "scheduler-id": "11111111-1111-1111-1111-111111111111",
- "subject-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-channels"
}, - "meta": { }
}
/v1/video-compositions/
query Parameters
video-channel-id required | string <uuid> Example: video-channel-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-at": "string",
- "duration": 0,
- "last-modified-at": "string",
- "processing-pct": 100,
- "processing-status": "completed",
- "size": 0,
- "status": "failed",
- "video-channel-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-compositions"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "duration": 0,
- "last-modified-at": "string",
- "processing-pct": 100,
- "processing-status": "completed",
- "size": 0,
- "status": "failed",
- "video-channel-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-compositions"
}, - "meta": { }
}
Returns participants
Returns participants
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
page[limit] required | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] required | integer (PageOffset) >= 0 Default: 0 |
video-channel-id required | string <uuid> Example: video-channel-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "account-type": "provider",
- "audio-state": "muted",
- "connected-at": "string",
- "disconnected": true,
- "encounter-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "note": "string",
- "status": "string",
- "twilio-channel-id": "11111111-1111-1111-1111-111111111111",
- "video-channel-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-participants"
}
], - "meta": { }
}
Returns specific participant
Returns specific participant
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "account-type": "provider",
- "audio-state": "muted",
- "connected-at": "string",
- "disconnected": true,
- "encounter-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "note": "string",
- "status": "string",
- "twilio-channel-id": "11111111-1111-1111-1111-111111111111",
- "video-channel-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-participants"
}, - "meta": { }
}
Modify participant
Modify participant
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "audio-state": "muted",
- "disconnected": true,
- "note": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-participants"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "account-type": "provider",
- "audio-state": "muted",
- "connected-at": "string",
- "disconnected": true,
- "encounter-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "note": "string",
- "status": "string",
- "twilio-channel-id": "11111111-1111-1111-1111-111111111111",
- "video-channel-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-participants"
}, - "meta": { }
}
/v1/voice-conferences/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[states] | Array of strings Items Enum: "completed" "created" "failed" "running" |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "state": "completed"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-conferences"
}
], - "meta": { }
}
/v1/voice-conferences/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "voice-conferences"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "state": "completed"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-conferences"
}, - "meta": { }
}
/v1/voice-conferences/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "state": "completed"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-conferences"
}, - "meta": { }
}
/v1/voice-conferences/{id}/get-credentials/
path Parameters
id required | string Resource identifier |
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "access-token": "string"
}
/v1/voice-dial-logs/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[conference-id] | string <uuid> Example: filter[conference-id]=11111111-1111-1111-1111-111111111111 |
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": {
- "call-duration": 0,
- "conference-id": "11111111-1111-1111-1111-111111111111",
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "status": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-dial-logs"
}
], - "meta": { }
}
/v1/voice-dial-logs/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "call-duration": 0,
- "conference-id": "11111111-1111-1111-1111-111111111111",
- "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "status": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-dial-logs"
}, - "meta": { }
}
/v1/voice-ivrs/{id}/twiml/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
property name* additional property | any |
Responses
Request samples
- Payload
{ }
Response samples
- 4XX
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "string"
}, - "status": 400
}
]
}
/v1/voice-queue-agents/
query Parameters
setting-id required | string <uuid> Example: setting-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": {
- "access-token": "string",
- "call": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "phone-number": "string",
- "setting": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "user": {
- "id": "11111111-1111-1111-1111-111111111111"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-queue-agents"
}
], - "meta": { }
}
/v1/voice-queue-agents/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "phone-number": "string",
- "setting-id": "11111111-1111-1111-1111-111111111111",
- "use-pstn": false
}, - "type": "voice-queue-agents"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "access-token": "string",
- "call": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "phone-number": "string",
- "setting": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "user": {
- "id": "11111111-1111-1111-1111-111111111111"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-queue-agents"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "access-token": "string",
- "call": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "created-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "phone-number": "string",
- "setting": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "user": {
- "id": "11111111-1111-1111-1111-111111111111"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-queue-agents"
}, - "meta": { }
}
/v1/voice-queue-entries/
query Parameters
setting-id required | string <uuid> Example: setting-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-at": "string",
- "last-modified-at": "string",
- "phone-number": "string",
- "position": 0,
- "queue-time": 0,
- "state": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-queue-entries"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "last-modified-at": "string",
- "phone-number": "string",
- "position": 0,
- "queue-time": 0,
- "state": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-queue-entries"
}, - "meta": { }
}
/v1/voice-recordings/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[setting-id] | string <uuid> Example: filter[setting-id]=11111111-1111-1111-1111-111111111111 |
filter[states] | Array of strings Items Enum: "completed" "inprogress" |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "download-count": 0,
- "duration": 0,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "phone-number": "string",
- "setting-id": "11111111-1111-1111-1111-111111111111",
- "state": "string",
- "transcription": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-recordings"
}
], - "meta": { }
}
/v1/voice-recordings/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "download-count": 0,
- "duration": 0,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "phone-number": "string",
- "setting-id": "11111111-1111-1111-1111-111111111111",
- "state": "string",
- "transcription": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-recordings"
}, - "meta": { }
}
/v1/voice-settings/
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": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "created-at": "string",
- "forward-number": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "phone-number": "string",
- "recording-enabled": true,
- "recording-message": "string",
- "wait-message": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-settings"
}
], - "meta": { }
}
/v1/voice-settings/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "forward-number": "string",
- "phone-number": "string",
- "recording-enabled": false,
- "recording-message": "string",
- "wait-message": "string"
}, - "type": "voice-settings"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "created-at": "string",
- "forward-number": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "phone-number": "string",
- "recording-enabled": true,
- "recording-message": "string",
- "wait-message": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-settings"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "created-at": "string",
- "forward-number": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "phone-number": "string",
- "recording-enabled": true,
- "recording-message": "string",
- "wait-message": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-settings"
}, - "meta": { }
}
/v1/voice-settings/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "forward-number": { },
- "phone-number": "string",
- "recording-enabled": false,
- "recording-message": "string",
- "wait-message": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-settings"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "account-id": "11111111-1111-1111-1111-111111111111",
- "created-at": "string",
- "forward-number": "string",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "phone-number": "string",
- "recording-enabled": true,
- "recording-message": "string",
- "wait-message": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-settings"
}, - "meta": { }
}
/v1/voice-settings/{id}/run-task/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
method required | string Value: "refresh_queue_entries" |
kwargs | object |
Responses
Request samples
- Payload
{- "kwargs": { },
- "method": "refresh_queue_entries"
}
Response samples
- 201
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "error-message": "string",
- "kwargs": { },
- "method": "string",
- "result": { },
- "setting": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "state": "completed"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-tasks"
}, - "meta": { }
}
Returns surveys
Returns surveys
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
filter[states] | Array of strings Items Enum: "completed" "created" "failed" "running" |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "state": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-surveys"
}
], - "meta": { }
}
Creates a new survey
Creates a new survey
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "spec": { }
}, - "type": "voice-surveys"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "state": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-surveys"
}, - "meta": { }
}
Returns specific survey
Returns specific survey
path Parameters
id required | string Resource identifier |
query Parameters
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "state": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-surveys"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "error-message": "string",
- "kwargs": { },
- "method": "string",
- "result": { },
- "setting": {
- "id": "11111111-1111-1111-1111-111111111111"
}, - "state": "completed"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "voice-tasks"
}, - "meta": { }
}
/v2/video-channels/{id}/finalize-encounter/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
service-type-id | string <uuid> |
Responses
Request samples
- Payload
{- "service-type-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "appless": true,
- "appointment": {
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "join-start": "string",
- "start": "string"
}, - "channel-state": "open",
- "compositions": [
- {
- "created-at": "string",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "processing-pct": 100,
- "processing-status": "completed",
- "size": 0,
- "status": "failed"
}
], - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "encounter-id": "11111111-1111-1111-1111-111111111111",
- "max-participants": 0,
- "note": "string",
- "observation-id": "11111111-1111-1111-1111-111111111111",
- "organization-display-name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "participants": [
- {
- "account-type": "provider",
- "audio-state": "muted",
- "disconnected": true,
- "encounter-id": "string",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "note": "string",
- "photo": "string",
- "status": "string",
- "user": {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "id": "11111111-1111-1111-1111-111111111111",
- "phone-verified": true,
- "registration-invite": "accepted",
- "state": "archived"
}
}
], - "recorded": true,
- "scheduler-id": "11111111-1111-1111-1111-111111111111",
- "subject-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "video-channels"
}, - "meta": { }
}