Skip to main content
PATCH
Update a campaign

Authorizations

X-API-Key
string
header
required

An organization API key, prefixed bk_live_. Takes precedence over Authorization when both are sent. The key is bound to one organization, and the scopes it was issued with are enforced per endpoint.

Headers

X-Organization-Id
string<uuid>

Required when authenticating with an access token. Optional with an API key, whose own organization binding is authoritative; a value contradicting it is refused with 403.

Path Parameters

id
string
required

Body

application/json
name
string
Required string length: 1 - 255
channels
enum<string>[]
Minimum array length: 1
Available options:
email,
sms,
whatsapp,
push
tags
string[] | null
brief
object | null
recipients
object
emailContent
object
smsContent
object
whatsappContent
object
pushContent
object
settings
object
abTest
object

Response

success
boolean
required
Example:

true

message
string
required
data
object
required