POST
/
v0
/
chatbots
/
{chatbotId}
/
custom-content
Authorization
Path
Body
curl --request POST \
  --url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/custom-content \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "Sample custom content for the chatbot"
}'
{
  "success": true,
  "message": "Modified custom content of the chatbot successfully",
  "data": {}
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

chatbotId
string
required

Id of the chatbot

Body

application/json
text
string

Custom content that you want to provide to the chatbot

Response

200 - application/json
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