campaigns

Generate Campaign

Compile a campaign plan from the org's context.

Returns 422 when there is not enough context to ground a plan — that is a real answer, not a failure: a campaign compiled from nothing is guesswork.

post/api/campaigns/generate

Request

  • Base URL: https://voyant.io (the document declares no server; this is the origin it was published from)
  • URL: https://voyant.io/api/campaigns/generate
  • Auth: HTTP bearer

Request body

objectivestring required
goalstring
start_datestring date required
end_datestring date required
channelsstring[]
persona_idsstring[]
product_idstring nullable
mql_targetinteger
budgetnumber
notesstring nullable

Response

Successful Response

idstring required
namestring required
objectivestring required
goalstring required
statusstring required
start_datestring date required
end_datestring date required
mql_targetinteger required
budgetnumber required
channelsstring[]
deliverable_countinteger
created_atstring date-time required
narrativestring nullable
unsupported_claimsstring[]
generation_metaobject

Changes

No recorded changes to this operation across all 1 revision of this API.