API DocumentationCampaigns

Get Campaign Calls

Get all calls for a specific campaign.

Args: campaign_id: The ID of the campaign to get calls for status: Filter by call status (scheduled, in-progress, completed, failed) sort_by: Field to sort by. Options: created_at, updated_at, status sort_direction: Direction to sort. Options: asc (ascending), desc (descending)

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

In: header

Path Parameters

campaign_idCampaign Id

Query Parameters

status?Status
sort_by?Sort By
Default"created_at"
sort_direction?Sort Direction
Default"desc"
page?Page
Default1
Range1 <= value
page_size?Page Size

Response Body

curl -X GET "https://api.voxxi.ai/v1/campaigns/0/calls?status=string&sort_by=created_at&sort_direction=desc&page=1&page_size=1"
{
  "items": [
    {
      "id": "string",
      "recording_url": "string",
      "prospect_name": "string",
      "prospect_phone": "string",
      "duration": 0,
      "status": "scheduled",
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z"
    }
  ],
  "count": 0
}
{
  "detail": "string"
}
{
  "detail": "string"
}
{
  "detail": "string"
}
{
  "detail": [
    {
      "type": "string",
      "loc": [
        "string"
      ],
      "msg": "string",
      "ctx": {}
    }
  ]
}
{
  "detail": "string"
}