Skip to main content
POST
Generate lead magnet

Authorizations

Authorization
string
header
required

Bearer citedy_agent_* key

Body

application/json
topic
string
required
Required string length: 3 - 200
type
enum<string>
required
Available options:
checklist,
swipe_file,
framework
niche
string
Maximum string length: 100
language
enum<string>
default:en
Available options:
en,
pt,
de,
es,
fr,
it
platform
enum<string>
default:twitter
Available options:
twitter,
linkedin
generate_images
boolean
default:false
auto_publish
boolean
default:false

Response

Generation queued. Poll GET /api/agent/lead-magnets/{id} with the same Authorization: Bearer <AGENT_API_KEY> header for status.

id
string<uuid>
required
status
enum<string>
required
Available options:
generating
type
string
required
topic
string
required
credits_charged
number
required
auto_publish
boolean
required