Skip to main content
POST
Generate a batch now

Authorizations

Authorization
string
header
required

API key from Settings → API & agents (as_live_…)

Body

application/json
count
integer

Defaults to the plan's batch size (30)

Required range: 1 <= x <= 30
market
enum<string>

Global plan only for non-US

Available options:
US,
GB,
DE,
FR,
JP,
KR,
BR,
SE,
ES,
IT,
PL

Response

The finished batch with ads

id
string<uuid>
market
string
Example:

"US"

status
enum<string>
Available options:
pending,
generating,
auditing,
fixing,
packaging,
delivered,
failed
targetCount
integer
createdAt
string<date-time>
deliveredAt
string<date-time> | null
metaCampaignId
string | null
url
string
ads
object[]