Skip to main content
POST
Create a campaign

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.

Body

application/x-www-form-urlencoded
campaign_name
string
required

Human-readable campaign name. Required on create.

description
string

Free-text description of the campaign or channel.

campaign_type
string

Campaign type: shortlink or dynamic_link, governing which link type its channels accept. Defaults to shortlink.

Response

Success.

data
object

The endpoint's payload.