Entitlements API

circle-exclamation

List entitlements

List entitlements (recommended)

get

List the available entitlements.

Authorizations
AuthorizationstringRequired

HTTP header

Responses
chevron-right
200

List of found entitlements

application/json
get
/api/v2/customer/entitlements

Add entitlement

Add entitlement (recommended)

post

Entitle a Symphony user to use the external network.

Authorizations
AuthorizationstringRequired

HTTP header

Body
advisorEmailAddressstringOptionalExample: [email protected]
externalNetworkstringRequired

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

Example: WHATSAPP
symphonyIdstringOptionalExample: 12345678912365
advisorPhoneNumberstring · phoneOptional

Required for the advisor to access SMS Direct In-Network and supported for SMS Direct Second-Number. Supported for the advisor to access WhatsApp Direct. However, note that the advisor’s phone number is not applicable for onboarding the advisor to other external networks (WeChat, WhatsApp, SMS or LINE).

permissionsstring[]Optional
federationGroupIdstringOptionalExample: federationGroupId
Responses
post
/api/v2/customer/entitlements

List entitled advisors

List entitled advisors

get

List all entitled advisors on a given external network.

Authorizations
AuthorizationstringRequired

HTTP header

Path parameters
externalNetworkstringRequired

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

Example: WHATSAPP
Query parameters
beforestringOptional

The before cursor for pagination

afterstringOptional

The after cursor for pagination

listPermissionsbooleanOptional

Boolean query parameter that indicates whether the search API will return the list of permissions per advisor return, or not

Default: falseExample: true
Responses
chevron-right
200

List of found entitled advisors.

application/json
get
/api/v1/customer/entitlements/externalNetwork/{externalNetwork}/advisors

Get an advisor's entitlement

Get an advisor's entitlement (recommended)

get

Check if a given advisor is entitled for a given external network. Advisors can be identified using their email address or their Symphony user ID (if both are provided, the Symphony user ID will take precedence)

Authorizations
AuthorizationstringRequired

HTTP header

Query parameters
advisorEmailAddressstringOptional

Symphony user email address

Example: [email protected]
advisorSymphonyIdstringOptional

Symphony user ID

Example: 12345678912365
externalNetworkstringRequired

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

Example: WHATSAPP
Responses
chevron-right
200

Advisor data (if an entitled advisor has been found)

application/json
get
/api/v2/customer/advisor/entitlements

Remove entitlement

Remove entitlement (recommended)

delete

Removes a given advisor's entitlement for a given external network. Advisors can be identified using their email address or their Symphony user ID (if both are provided, the Symphony user ID will take precedence)

Authorizations
AuthorizationstringRequired

HTTP header

Query parameters
advisorEmailAddressstringOptional

Advisor's email address

Example: [email protected]
advisorSymphonyIdstringOptional

Symphony user ID

Example: 12345678912365
externalNetworkstringRequired

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

Example: WHATSAPP
Responses
chevron-right
200

The entitlement has been successfully removed.

No content

delete
/api/v2/customer/advisor/entitlements

No content

Last updated