Skip to main content
GET
Download a campaign report
Requires a Labs super_user OAuth bearer token. Optional ISO 8601 start_date and end_date filter creation time. The response is a text/csv attachment, not JSON. A campaign outside the selected workspace returns 404.

Authorizations

Authorization
string
header
required

Bandwidth Labs OAuth access token. Uses the user's selected workspace; the workspace header is not required. Do not also send an API key. Bearer-only operations may additionally require the Labs super_user role.

Path Parameters

campaign_id
integer
required

Query Parameters

start_date
string<date-time> | null

Filter runs created on or after this datetime (ISO 8601)

end_date
string<date-time> | null

Filter runs created on or before this datetime (ISO 8601)

Response

CSV download

The response is of type string.