Permissions API

circle-exclamation

List permissions

List permissions

get

List of available permissions for the external network at "CONNECT-DOMAIN"

Authorizations
AuthorizationstringRequired

HTTP header

Responses
chevron-right
200

List of permissions found

application/json
get
/api/v1/customer/permissions

List advisor's permissions

List advisor's permissions (recommended)

get

List the permissions granted to an advisor on an external network.

Authorizations
AuthorizationstringRequired

HTTP header

Path parameters
advisorSymphonyIdstringRequired

Advisor's Symphony user ID

Example: 1234567890
externalNetworkstringRequired

The external network: WECHAT or WHATSAPP or SMS or SMS-DIRECT or LINE

Example: WHATSAPP
Responses
chevron-right
200

List of advisor's permissions

application/json
get
/api/v2/customer/advisors/{advisorSymphonyId}/externalNetwork/{externalNetwork}/permissions

List EMP permissions

List EMP Permissions

get

List all permissions available for the external network at "CONNECT-DOMAIN" For each permission, returns id, name and whether they are set by default or not

Authorizations
AuthorizationstringRequired

HTTP header

Path parameters
externalNetworkstringRequired

The external network.

Example: WHATSAPP
Responses
chevron-right
200

List of EMP permissions found

application/json
get
/api/v1/customer/externalNetwork/{externalNetwork}/permissions
200

List of EMP permissions found

Add permission to an advisor

Add permission to an advisor (recommended)

post

Grant permission to an advisor.
Refer to the Permissions table on the Authentication page for the default permissions.
For multi-company contacts, the contacts must be from the same network, e.g. all from WeChat or all from WhatsApp. Cross-network rooms are not authorized.

Authorizations
AuthorizationstringRequired

HTTP header

Path parameters
advisorSymphonyIdstringRequired

Advisor's Symphony user ID

Example: 1234567890
externalNetworkstringRequired

The external network

Body
permissionNamestringRequiredExample: create:room
Responses
chevron-right
200

Permission successfully added to the advisor

application/json
post
/api/v2/customer/advisors/{advisorSymphonyId}/externalNetwork/{externalNetwork}/permissions

Add permission to multiple advisors

Add a permission to multiple advisors (recommended)

post

Grant permission to multiple advisors.

Authorizations
AuthorizationstringRequired

HTTP header

Body
advisorSymphonyIdsstring[]RequiredExample: 1234567890
externalNetworkstringRequired

External network: WECHAT or WHATSAPP or SMS or SMS-DIRECT or LINE

Example: WHATSAPP
permissionNamestringRequiredExample: create:room
Responses
chevron-right
200

Permission successfully added to the advisor

application/json
post
/api/v2/customer/advisors/permissions

Remove permission

Remove permission (recommended)

delete

Remove a permission from an advisor.

Authorizations
AuthorizationstringRequired

HTTP header

Path parameters
advisorSymphonyIdstringRequired

Advisor's Symphony user ID

externalNetworkstringRequired

The external network

permissionNamestringRequired

permissionName to remove

Responses
delete
/api/v2/customer/advisors/{advisorSymphonyId}/externalNetwork/{externalNetwork}/permissions/{permissionName}

No content

Last updated