cwcc-provision-client
This is a JavaScript library for performing REST operations against the Cisco Webex Contact Center platform. Tested against the R10 version/release.
Usage
Check the test folder for examples of how to use this library. Here is an example:
// import this libraryconst Client = // this is the login name for administration on the tenantconst fromAddress = 'admin@mytenant.com'// this is the API token you get from https://portal.ccone.net/portal/home.htmlconst apiKey = 'your+token+here'// your tenant IDconst tenantId = '1000000'// base REST URL for productionconst baseUrl = 'https://rest.ccone.net/aws'// base REST URL for sandbox// const baseUrl = 'https://rest-sbxa.ccone.net/aws/api/' // construct usable client objectconst client = fromAddress apiKey tenantId baseUrl // get list of teamsclientteam
Reference
REST API guide: https://rest-sbxa.ccone.net/rest-api-doc/