Campaign
Brief

Generate a campaign brief and create Google Doc

Generates a comprehensive campaign brief using OpenAI and creates a Google Doc with the content. Supports multiple channels per campaign with channel-specific requirements.

post/api/campaign/generate-brief

Request

  • Base URL: https://api.kolect.com
  • URL: https://api.kolect.com/api/campaign/generate-brief
  • Auth: HTTP bearer

Request body

campaign_idstring uuid required

The unique identifier of the campaign

Example request

{
  "campaign_id": "123e4567-e89b-12d3-a456-426614174000"
}

Response

Campaign brief generated successfully

briefstring

The generated campaign brief content with channel-specific requirements

googleDocUrlstring uri

URL to the created Google Doc

folderIdstring

Google Drive folder ID where the document is stored

Example response

{
  "brief": "# Campaign Brief: Summer Product Launch\n\n## 1. Campaign Overview\n...\n## 2. Content Requirements by Channel\n### TikTok Requirements\n...",
  "googleDocUrl": "https://docs.google.com/document/d/1ABC123DEF456GHI789JKL/edit",
  "folderId": "1XYZ789ABC123DEF456GHI"
}

Changes

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