POST /public/v1/writing-styles

Create a new writing style (status: PENDING). Populate dos and donts now or later via PATCH /public/v1/writing-styles/:id. A writing style needs rules before it can be linked to a campaign.

Required: workspaceId, name

Optional: dos, donts, connectInstructions, inmailInstructions, qna, templateName, templateFollowUpConfig, accessScope

accessScope:

  • OWNER (default) — private to the authenticated user
  • WORKSPACE — shared across the workspace; only ADMIN or OWNER members can set this
POST /public/v1/writing-styles
API key in header x-api-key

Body

required application/json
workspaceId string · min length: 1 required

ID of the workspace to create the writing style in.

name string · min length: 1· max length: 255 required

Display name for the writing style.

dos array of string

List of things the AI should do when writing in this style.

donts array of string

List of things the AI should avoid when writing in this style.

connectInstructions string

Type any custom instructions here — tone preferences, message length guidelines, personalization rules, or any other direction for how your connect sequences should be written.

inmailInstructions string

Type any custom instructions here — tone preferences, message length guidelines, personalization rules, or any other direction for how your InMail sequences should be written.

qna array of object

Optional Q&A pairs that give the AI additional context about your tone and preferences.

templateName string

Optional template label (e.g. "Executive", "Startup") used to categorise the style.

Responses