Skip to main content
POST
/
persona
Create a new persona
curl --request POST \
  --url https://api.closebot.com/persona \
  --header 'Content-Type: application/json' \
  --header 'X-CB-KEY: <api-key>' \
  --data '
{
  "personaName": "<string>",
  "description": "<string>",
  "voiceStyles": "<string>",
  "howToRespond": "<string>",
  "typoPercent": 123,
  "breakupLargeMessagePercent": 123,
  "responseTime": "<string>",
  "responseDelay": 123,
  "aiProviderPreferences": [
    "<string>"
  ],
  "color": "<string>",
  "imageData": "<string>"
}
'

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Body

The persona input.

personaName
string | null

The name of the persona

description
string | null

The description of the persona

voiceStyles
string | null

The voice styles of the persona

howToRespond
string | null

The how to respond of the persona

typoPercent
integer<int32>

The typo percent of the persona

breakupLargeMessagePercent
integer<int32>

The breakup large message percent of the persona

responseTime
string | null

The response time of the persona

responseDelay
integer<int32>

The response delay of the persona

aiProviderPreferences
string[] | null

The AI provider preferences of the persona

color
string | null

The color of the persona

imageData
string | null

The image data of the persona

Response

200

Success