Skip to main content
POST
Save Unpublished Ad Actions

Authorizations

x-api-key
string
header
required

A server-side Bily API key created under Settings > AI tools > Access keys. Select the intended workspace before creating it.

Headers

x-bily-organization-id
string

An organization ID returned by GET /context or GET /organizations. Omit it when a scoped key supplies the organization. Otherwise provide it when no organization is selected.

Example:

"org_01J8W7T9G3E6ZQ4M2K5N8P1R0S"

Path Parameters

resourceUrl
string
required

Exact workspace URL returned by GET /context.

Body

application/json
idempotencyKey
string
required
Required string length: 1 - 200
actions
object[]
required
Required array length: 1 - 100 elements
title
string
Maximum string length: 160
reviewRows
object[]
Maximum array length: 100
warnings
string[]
Maximum array length: 100
stopOnFailure
boolean

Response

Request completed. Inspect the returned state and any verification fields.

draft
object
required