Scopes
Scopes define access to certain resources. Your app will ask users for access to those resources during the installation. Depending on the functionality of the app you're building, you'll need to configure different scopes in Developer Console. To check which scopes your app needs, refer to method descriptions.
ro
means read onlyrw
means read/writerc
means read/create- all
rw
scopes contain ro
privileges - all
access
scopes contain my
privileges - all
all
scopes contain access
privileges and my
privileges
Scope | Product | Role | Role Type | Description |
---|
accounts--my:ro | Accounts | member | primary | Read permission for my account |
accounts--my:rw | Accounts | member | primary | Read and modify permission for my account |
accounts--all:ro | Accounts | member | primary | Read permission for all accounts in an organization |
accounts--all:rw | Accounts | administrator | primary | Read and modify permission for all accounts |
accounts--all:rc | Accounts | member | primary | Create and read accounts (mofidication is denied) |
Scope | Product | Role | Role Type | Description |
---|
accounts.roles--all:ro | Accounts | member | primary | Read all accounts roles |
accounts.roles--all:rw | Accounts | administrator | primary | Read and modify all accounts roles |
Scope | Product | Role | Role Type | Description |
---|
sessions--my:ro | Accounts | member | primary | Read my sessions |
sessions--my:rw | Accounts | member | primary | Read and modify my sessions |
Scope | Product | Role | Role Type | Description |
---|
organization--my:rw | Accounts | owner | primary | Read and modify organization settings |
Scope | Product | Role | Role Type | Description |
---|
agents--my:rw | LiveChat | normal | secondary | Write permission for my profile configuration |
agents--my:ro | LiveChat | normal | secondary | Read permission for my profile configuration |
agents--all:rw | LiveChat | administrator | secondary | Write permission for all agents profiles configuration |
agents--all:ro | LiveChat | administrator | secondary | Read permission for all agents profiles configuration |
access_rules:ro | LiveChat | administrator | secondary | Read permission for auto chat scopes configuration |
access_rules:rw | LiveChat | administrator | secondary | Read/write permission for auto chat scopes configuration |
Scope | Product | Role | Role Type | Description |
---|
accounts--all:rc | Accounts | member | primary | Create and read accounts (mofidication is denied) |
Scope | Product | Role | Role Type | Description |
---|
agents-bot--my:ro | LiveChat | administrator | secondary | Read permission for bot agents configuration (only my bot agents) |
agents-bot--my:rw | LiveChat | administrator | secondary | Read/write permission for bot agents configuration (only my bot agents) |
agents-bot--all:ro | LiveChat | normal | secondary | Read permission for bot agents configuration (all in license) |
agents-bot--all:rw | LiveChat | administrator | secondary | Read/write permission for bot agents configuration (all in license, delete only) |
Scope | Product | Role | Role Type | Description |
---|
groups--my:rw | LiveChat | administrator | secondary | Write/read permission for groups I'm a member of |
groups--my:ro | LiveChat | normal | secondary | Read permission for groups I'm a member of |
groups--all:rw | LiveChat | administrator | secondary | Write/read permission for all groups within a license |
groups--all:ro | LiveChat | normal | secondary | Read permission for all groups within a license |
Scope | Product | Role | Role Type | Description |
---|
chats--all:ro | LiveChat | administrator | secondary | Read permission for conversation and meta data of all license chats |
chats--access:ro | LiveChat | normal | secondary | Read permission for conversation and meta data of chats with requester access |
chats--my:ro | LiveChat | normal | secondary | Read permission for conversation and meta data of the chats with requester presence |
chats.conversation--all:rw | LiveChat | administrator | secondary | Write permission for conversation data of all license chats and Read permission for conversation and meta data of all license chats (chats--all:ro) |
chats.conversation--access:rw | LiveChat | normal | secondary | Write permission for conversation data of chats with requester access and Read permission for conversation and meta data of chats with requester access (chats--access:ro) |
chats.conversation--my:rw | LiveChat | normal | secondary | Read/write permission for conversation data of chats with requester presence and Read permission for conversation and meta data of the chats with requester presence (chats--my:ro) |
chats--all:rw | LiveChat | administrator | secondary | Read/write permission for conversation and meta data of all license chats |
chats--access:rw | LiveChat | normal | secondary | Read/write permission for conversation and meta data of chats with requester access |
chats--my:rw | LiveChat | normal | secondary | Read/write permission for conversation and meta data of chats with requester presence |
- chats conversation data applies to:
- chat events
- chat properties
- thread properties
- chats meta data applies to:
NOTICE: currently chats.conversation--all:rw
allows joining chats too because you have to join the chat to be able to write to it
Scope | Product | Role | Role Type | Description |
---|
customers.ban:rw | LiveChat | normal | secondary | Permission for banning customers |
customers:own | LiveChat | administrator | secondary | Permission for owning and managing customer identities. It allows for acquiring a customer token (for both existing and new customers) and using it to call the Customer Chat API as a customer. |
customers:ro | LiveChat | normal | secondary | Read permission for customers |
customers:rw | LiveChat | normal | secondary | Read/write permission for existing customers. It also allows for creating new customers via the Agent Chat API. |
Scope | Product | Role | Role Type | Description |
---|
multicast:rw | LiveChat | normal | secondary | Permission for multicast data to agents or customers |
Scope | Product | Role | Role Type | Description |
---|
properties--my:ro | LiveChat | administrator | secondary | Read permission for chat/thread/events properties configuration (only in my namespace) |
properties--my:rw | LiveChat | administrator | secondary | Read/write permission for chat/thread/events properties configuration (only in my namespace) |
properties--all:ro | LiveChat | administrator | secondary | Read permission for chat/thread/events properties configuration (all in license) |
properties--configuration:rw | LiveChat | administrator | secondary | Read/write permission for license/group/chat/thread/event properties configuration (for all integrations owned by my license) |
Scope | Product | Role | Role Type | Description |
---|
webhooks--my:ro | LiveChat | administrator | secondary | Read permission for webhooks configuration (only my webhooks) |
webhooks--my:rw | LiveChat | administrator | secondary | Read/write permission for webhooks configuration (only my webhooks) |
webhooks--all:ro | LiveChat | administrator | secondary | Read permission for webhooks configuration (all in license) |
webhooks--all:rw | LiveChat | administrator | secondary | Read/write permission for webhooks configuration (all in license, delete only) |
webhooks.state:ro | LiveChat | administrator | secondary | Read permission for the webhook state (only my webhooks) |
webhooks.state:rw | LiveChat | administrator | secondary | Read/write permission for enabling/disabling webhooks (only my webhooks) |
webhooks.configuration:rw | LiveChat | administrator | secondary | Read/write permission for adding and updating the webhook configuration |
This chart shows every possible chats scenarios:
- chats without my access and without my presence (
chats -A -P
) - chats with my access but without my presence (
chats +A -P
) - chats with my presence but without my access (
chats -A +P
) - chats with my access and with my presence (
chats +A +P
)
The table shows scopes dependency of accessing chat:
| chats -A -P | chats +A -P | chats -A +P | chats +A +P |
---|
all | ✓ | ✓ | ✓ | ✓ |
access | - | ✓ | ✓ | ✓ |
my | - | - | ✓ | ✓ |
The table shows scopes dependency of accessing chat parts:
| meta data | conversation data |
---|
chats-*:rw | rw | rw |
chats.conversation-*:rw | ro | rw |
chats-*:ro | ro | ro |