Create Destination-Service Group

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Response Format

ParameterTypeDescription
codeNumberRefer to Success and Error Code
idStringID of the created destination
📘

Notices

  • If necessary, you can get the staff ID from the staff contact list retrieved by Open API.
    For details about using Open API to retrieve the staff contact list, refer to Get Staff contact list.

  • You are suggested to get the supported language and location list before entering the value of supportLanguages and supportLocations to ensure the language and location you enter are supported.

  • For details about using Open API to get the supported language and location list, refer to Get Supported Language List and Get Supported Location List

Path Params
string
required

App ID

Body Params
string

The Service Group Name. The maximum limit is 40 characters.

supportLanguages (Required)
array of strings

A list of the language the staff will use to engage with the customer or visitor. It supports multiple languages codes. ("*" = support all languages in the request body)

supportLanguages (Required)
supportLocations (Required)
array of strings

A list of the location the service group will support. The format: countries/regions + states. It supports multiple location. ("*" = support all countries/regions in the request body)

supportLocations (Required)
types (Required)
array of strings

A list of the destination type. Supported type: PHONE / STAFF / TRUNK (All capital letters)

types (Required)
phoneTargets
array of strings

A list of PSTN Phone Number with country code. Required when you select the PHONE type

phoneTargets
staffTargets
array of strings

A list of Staff ID. Required when you select the STAFF type.

staffTargets
trunkTargets
array of strings

A list of Sip Trunk Number with country code. Required when you select the SIP TRUNK type.

trunkTargets
Headers
string

Bearer AppToken

Responses

Language
LoadingLoading…
Response
Choose an example:
application/json