Skip to main content
POST
/
api
/
client
/
v2
/
style
Create Style
curl --request POST \
  --url https://prod-nginx-v2.goextrovert.com/webgateway/api/client/v2/style \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "isLearningModeEnabled": true,
  "styleInstructionsForComments": "<string>",
  "styleInstructionsForDm": "<string>"
}
'
{
  "status": "success",
  "data": {
    "id": "8d256aa6-9b12-49a7-93ee-bf41634b5b60"
  },
  "message": "Operation completed successfully"
}

Authorizations

X-API-Key
string
header
required

API Key for authentication

Body

application/json
name
string
required

Short human-readable Style name (e.g., 'Founder voice', 'Casual replies').

Minimum string length: 1
userId
string<uuid>
required

ID of the user that will own the new Style. Usually the current user.

isLearningModeEnabled
boolean
required

Whether the Style should start in learning mode. When true, the backend auto-saves as CommentExamples only those comments the user both approved AND edited before approval (untouched auto-approved comments are NOT saved). Only comments are learned — DMs are never auto-saved. Auto-saved entries share a 20-slot cap with manually-added CommentExamples. When false, no auto-learning happens. Required.

styleInstructionsForComments
string

Free-form plain-text style instructions for comment generation (tone, structure, do/don't). Used only when generating comments, not DMs. Optional.

styleInstructionsForDm
string

Free-form plain-text style instructions for direct-message generation (tone, structure, do/don't). Used only when generating DMs, not comments. Optional.

Response

status
enum<string>
required

Response status

Available options:
success
data
object
required
message
string
required

Success message

Example:

"Operation completed successfully"