marketing-docs

Generate Gtm Document

Reject new GTM generation while the feature is unavailable.

post/api/marketing-docs/gtm/generate

Request

  • Base URL: https://api.usepomo.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.usepomo.ai/api/marketing-docs/gtm/generate
  • Auth: HTTP bearer

Request body

company_profile_idstring uuid required
product_offering_idsstring[] nullable
audiencestring nullable
goalstring nullable
tonestring nullable
expected_lengthstring nullable
notesstring nullable
titlestring nullable
attachmentsobject[] nullable

Response

Successful Response

job_idstring required

Unique job identifier

statusstring required

Initial job status (typically 'running')

stream_urlstring required

SSE endpoint for real-time progress

poll_urlstring required

HTTP endpoint for polling status

Example response

{
  "job_id": "987fcdeb-51a2-43f7-9876-543210987654",
  "poll_url": "/api/chat/agentic/jobs/987fcdeb-51a2-43f7-9876-543210987654",
  "status": "running",
  "stream_url": "/api/chat/agentic/jobs/987fcdeb-51a2-43f7-9876-543210987654/stream"
}

Changes

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