Skip to main content
GET
Campaign analytics summary

Authorizations

X-API-Key
string
header
required

Your API key, for example dlk_live_.... Create one in the dashboard under Settings → API Keys. Keys are shown once at creation and stored only as a hash, so they cannot be recovered.

Query Parameters

name
string
required

The resource identifier.

date_from
string
required

Start of the window, YYYY-MM-DD. Clamped to your plan's retention floor.

date_to
string
required

End of the window, YYYY-MM-DD.

channels
string

Comma-separated channel names to filter the campaign analytics by.

granularity
string
default:day

Bucket size: minute, hour, day, month or year. Inferred from the window when omitted.

Response

Success.

data
object

The endpoint's payload.