API DocumentationCampaigns

Get Campaign

Get details for a single campaign by ID.

GET
/v1/campaigns/{campaign_id}
AuthorizationBearer <token>

In: header

Path Parameters

campaign_idCampaign Id

Response Body

curl -X GET "https://api.voxxi.ai/v1/campaigns/0"
{
  "id": 0,
  "name": "string",
  "status": "draft",
  "created_at": "2019-08-24T14:15:22Z",
  "agent": {
    "id": 0,
    "name": "string"
  },
  "calls_per_hour": 0,
  "allowed_days": [
    "string"
  ],
  "daily_start_time": "2019-08-24T14:15:22Z",
  "daily_end_time": "2019-08-24T14:15:22Z",
  "timezone": "string"
}
{
  "detail": "string"
}
{
  "detail": "string"
}
{
  "detail": "string"
}
{
  "detail": [
    {
      "type": "string",
      "loc": [
        "string"
      ],
      "msg": "string",
      "ctx": {}
    }
  ]
}
{
  "detail": "string"
}