POST
/
v0
/
chatbots
/
{chatbotId}
/
settings
/
personas
/
{personaId}
/
assign
curl --request POST \
  --url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/personas/{personaId}/assign \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Assigned persona to the chatbot successfully",
  "data": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatbotId
string
required

Id of the chatbot

personaId
string
required

Id of the chatbot persona

Response

200
application/json
OK

Success Response

success
boolean

Indicates whether this is success response or error response

message
string

Overall message regarding the operation performed

data
object | null

Data returned from the server