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.
Note:
Make sure the admin setting 'API Authentication' is set to 'BASIC_AUTH', If you are using this API.
Header parameters
Parameter | Description |
---|---|
apiKey* | Your CloudAgent account API Key |
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" |