Available Campaigns (Basic authentication)

This API is used to retrieve all the campaign information. The information that can be retrieved is the CampaignId, Campaign name, Username, Position (whether in a ready state or not), DID, and Campaign type (Inbound, Preview, Chat, IVR, Progressive, and Predictive), etc.

👍

Note:

Make sure the admin setting 'API Authentication' is set to 'BASIC_AUTH', If you are using this API.

📘

APIs Domain Name

For domestic ccaas - enter the domain: in1-ccaas-api.ozonetel.com

For international ccaas - enter the domain: api.ccaas.ozonetel.com

For Partners - enter the respective URL

Header parameters

ParameterDescription
apiKey*Your CloudAgent account API Key
Content-Typeapplication/json

Body Params

{  
  "userName":"Test"
}

Possible responses

Success response

{
  "message": [
    {
            "UserName": "xxx",                  
            "Position": "RUNNING",
            "DynamicDID": null,
            "Campaign": "TestCampaign",
            "CampaignID": xxx,
            "FallBackDID": null,
            "FallbackDynamicDID": null,
            "DID": "+15xxxxxx2",
            "CampaignType": "InBound"
    },
    {
            "UserName": "xxxx",
            "Position": "RUNNING",
            "DynamicDID": null,
            "Campaign": "chat",
            "CampaignID": 121,
            "FallBackDID": null,
            "FallbackDynamicDID": null,
            "DID": "94xxxxx2",
            "CampaignType": "Chat"
    }
  ],
  "status": "success"
}

Invalid apikey/username

{
  "status": "false",
  "message": "Invalid User Details",
  "data": null
}
Language
URL
Click Try It! to start a request and see the response here!