Skip to main content
POST

Authorizations

Authorization
string
header
required

Org-scoped Norbelys API key. Create one in Settings → API keys and send it as Authorization: Bearer ak_….

Headers

Idempotency-Key
string

Opt-in idempotency for a safely retried write: reuse the same key to replay the original result for 24h instead of re-executing. Recommended on every POST.

Maximum string length: 255

Body

application/json
ids
string[]
required

The campaign ids to act on (1–200 per call).

Required array length: 1 - 200 elements
Example:
action
enum<string>

Lifecycle verb to apply to every listed campaign. Omit when sending a patch.

Available options:
archive,
pause,
restore,
resume
Example:

"archive"

patch
object

Settings to set on EVERY listed campaign (pacing, window, tracking, auto-pause guards). Omit when sending an action.

Response

OK

errors
ProgramBulkError · object[]
required

Per-campaign failures — every other campaign still applied.

object
any
required

Always "bulk_result". Identifies the result type.

programs
Program · object[]
required

The resulting campaigns.

updated
integer
required

How many campaigns were changed.

Required range: x >= 0
Example:

17