- DarkLight
Rest API Consumer Key and Secret Key
- DarkLight
To send contacts with guard time values down to the exact minute, using the REST API. When the RestAPIEnabled option is enabled in the dialer configuration, contacts are transmitted via the REST API instead of the legacy method. To use this functionality, valid REST API Username (consumer key) and REST API Password (secret key) must be configured.
Note:
The REST API has certain limitations: it supports a maximum of 1,000 contacts per request and allows up to 40 requests per minute.
Perform the following steps:
Go to VCC Admin Console > User > Access Control > Permission.
Select a user and click Edit.
In the Permission tab, under Security, activate the following permissions:
.png?sv=2026-02-06&spr=https&st=2026-06-10T10%3A57%3A25Z&se=2026-06-10T11%3A07%3A25Z&sr=c&sp=r&sig=EN0fZMA75GlUfbmdaVqhBIfV9FkygZqCKOTpIwCIiVY%3D)
Create Application
Edit Application
Go to API Access Control from the VCC portal.
.png?sv=2026-02-06&spr=https&st=2026-06-10T10%3A57%3A25Z&se=2026-06-10T11%3A07%3A25Z&sr=c&sp=r&sig=EN0fZMA75GlUfbmdaVqhBIfV9FkygZqCKOTpIwCIiVY%3D)
Click Create to open the Create API Access Control panel.
In the API Access Control panel, configure the following fields:
Name: Enter a descriptive name for the API access.
Contact Email: Provide a valid contact email.
Duration: Select one of the following:
Never Expires – Grants continuous access without expiration.
Custom – Grants access for a specified duration.
In the Family field, select All APIs Access from the dropdown list.
.png?sv=2026-02-06&spr=https&st=2026-06-10T10%3A57%3A25Z&se=2026-06-10T11%3A07%3A25Z&sr=c&sp=r&sig=EN0fZMA75GlUfbmdaVqhBIfV9FkygZqCKOTpIwCIiVY%3D)
Under Scopes, make sure to select the following permissions:
acl:read
acl:write
agentgrp:read
agentgrp:write
campaigns:read
campaigns:write
ext-routing:write
lists:read
lists:write
ngchat:write
numbers:read
recordings:read
routing-config:read
routing-config:write
skills:read
statistics:read
tasks:read
tasks:write
usermgmt:agent
usermgmt:passwd
userprof:read
userprof:write
users:delete
users:read
users:write
To Generate Consumer Key and Secret:
Select the created or existing API entry.
Go to the Credential tab.
Click Add Credential. The system displays the generated Consumer Key and Secret Key.
Note:
The Secret Key is shown only once. You must copy and store it securely at this point, as it is required for dialer configuration and cannot be retrieved later.
Click the Copy icon to copy the credentials.
Click Close to finish.