Skip to main content
POST
Add leads to a campaign

Authorizations

Authorization
string
header
required

A workspace API key from Workspace settings > API keys, sent as Authorization: Bearer cl_api_.... A Read only key can call the GET endpoints; every other method needs a Full access key.

Headers

Idempotency-Key
string

Between 1 and 128 characters. A retry with the same key and body gets the first answer back and writes nothing; the same key with another body is refused with 409.

Required string length: 1 - 128

Path Parameters

campaignId
string
required
Required string length: 1 - 128

Body

application/json
leads
object[]
required
Required array length: 1 - 200 elements

Response

Every lead was already in the campaign.

data
object[]
required