Skip to main content
POST
Generate Hooks Route

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Generate alternatives for one of the caller's OWN ads.

source
string
required
Allowed value: "own_ad"
ad_id
string<uuid>
required
count
integer
default:5

How many alternative hooks to generate.

Required range: 3 <= x <= 10

Response

Successful Response

The generated set plus enough provenance to render its header.

source
enum<string>
required
Available options:
own_ad,
group_insights
brand_id
string<uuid>
required
hooks
GeneratedHook · object[]
required
generated_at
string<date-time>
required
subject_label
string | null
brand_name
string | null
source_hooks
string[]