POST

Trigger Content Plan Generation Flow


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates and starts a content plan flow for a site.

Generation runs asynchronously and takes several minutes. This method returns a contentPlanFlowId as soon as the flow is created, before any content is generated. Poll Get Content Plan Flow with that ID to follow the flow's progress.

A successful response means the flow was created, not that generation succeeded. Check status rather than relying on the response alone.

Some flows advance automatically. For a flow at KEYWORD_RESEARCH, use Get Site Keyword Research to check its matching research. After research SUCCESS, re-read the flow and call Create Content Plan once only if it still waits at KEYWORD_RESEARCH with the same research ID. Skip Create if the flow is already at CONTENT_PLAN or SUCCESS.

A failed flow is retried automatically, and each retry creates a separate flow with its own ID. The original flow keeps its FAIL status, so call Get Content Plan Flow without an ID to retrieve the site's most recent successful flow.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permission Scopes
Manage SEO Settings
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/seo-content-plan-service/v1/content-plan-flows/trigger

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?