post https://{domainname}/ca_apis/PhoneManualDialSkillWise
Skillwise Phone Manual dial Offline (Click2Call) API is used to make outbound calls through any web application, as we perform in the agent toolbar manually. Agents don’t need to login into the CloudAgent toolbar to access these offline calls. Agent numbers are assigned as offline(hunting)phone numbers to skills by admin. Calls route to agent’s phone numbers(hunting) through appropriate skills when this API is used.
To use this API with the help of a token, follow these steps:
- Generate the Token: Use the 'Generate Token' API to obtain an authentication token.
- Enter the Token ID: Navigate to the right section of this page, under the 'AUTHORIZATION' tab. Here, input the generated token ID.
- With the token entered, pass the below header and body parameters:
Header parameters
Parameter | Description |
---|---|
Content-Type | application/json |
Body Params
{
"userName": "xxxxxxx",
"custNumber": "xxxxx",
"campaignName": "xxxxxxxxx",
"did": "xxxxxxxxxxx",
"uui": "xxxxxxx",
"skillName": "xxxxxxxxx"
}
Possible responses
Success response | "message": "89XXUCIDXXX" "status": "queued" |
Invalid apiKey | "message": "Authentication failed." "status": "error" |
Invalid skill | "message": "Invalid skill" "status": "error" |
Invalid username | "message": "Authentication failed." "status": "error" |
Invalid DID | "message": "Something went wrong. Please contact admin!" "status": "error" |