Skip to main content
POST
Generate a content piece from an opportunity's brief.

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Path Parameters

opportunityId
string
required

Body

application/json

Generation options

Options for generating a content piece from an opportunity's brief

companyId
string
required

Company ID that owns the opportunity

brandImageId
string

Brand image set for visuals

brandVoiceId
string

Brand voice to write in

contentType
string
default:blog_post

Content type to generate, e.g. "blog_post" or "linkedin_post". Defaults to "blog_post".

funnelStage
enum<string>

Override the funnel stage. One of: tofu, mofu, bofu. Defaults to the opportunity's own stage.

Available options:
tofu,
mofu,
bofu
icpId
string

ICP to write for. Defaults to the parent project's ICP.

publishDate
string<date-time>

Scheduled publish date for the generated piece

Response

Generation started in the background

Acknowledgement that content generation started in the background

message
string

Status message

success
boolean

Whether generation was started