Content Generation

Update content-generation settings

Partially updates the organization's content-generation settings and returns the updated settings. Enabling auto-publish requires at least one configured publisher (422 otherwise). Requires the GEO product.

patch/org/content-generation

Request

  • Base URL
    https://apiv2.senso.ai/api/v1
  • Auth
    API key in header X-API-Key

Request body

enable_content_generationboolean

Turns content generation on or off. Unlike content_auto_publish this has no publisher requirement — it can be enabled with no destination configured.

content_auto_publishboolean

Whether generated content is published automatically. Setting it to true requires at least one configured publisher (422 otherwise).

content_scheduleinteger[]

The weekdays to run on (each 0–6, 0 = Sunday).

selected_content_type_idstring uuid nullable

The content type to use for generation. Send null to clear the selection.

Response

The updated settings.

org_idstring uuid required
enable_content_generationboolean required
content_auto_publishboolean required
content_scheduleinteger[] nullable required

The weekdays generation runs on (0 = Sunday … 6 = Saturday). Null when no schedule is set.

selected_content_type_idstring uuid

The content type used for generation, if one is selected.

Changes

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