Get Campaign Status (Token authentication)

This API is used to know the status of the campaign, in other words, it can be used to retrieve the position of the campaign, whether the campaign is running or not or in a ready position or not.

To use this API with the help of a token, follow these steps:

  1. Generate the Token: Use the 'Generate Token' API to obtain an authentication token.
  2. Enter the Token ID: Navigate to the right section of this page, under the 'AUTHORIZATION' tab. Here, input the generated token ID.
  3. With the token entered, pass the below header and body parameters:

Body Params

{
"userName":"account user name",
"campaignName":"name"
}

Headers

ParameterDescription
Content-Typeapplication/json

Possible responses

Success response"status": "success",
"message": [
{
"CampaignID": "256",
"CampaignName": "Preview_naw",
"UserName": "qa_testing",
"Position": "READY"
},
{
"CampaignID": "260",
"CampaignName": "test_chat1",
"UserName": "qa_testing",
"Position": "READY"
},
{
"CampaignID": "261",
"CampaignName": "ivr_test",
"UserName": "qa_testing",
"Position": "READY"
},
{
"CampaignID": "263",
"CampaignName": "hari_prog_none",
"UserName": "qa_testing",
"Position": "COMPLETED"
}
Error"status": "failure"
"message": "All parameters are mandatory"
Invalid user_name"status": "failure",
"message": "no record found"
Language
Credentials
Bearer
URL
Click Try It! to start a request and see the response here!