PUT
/
chatbots
/
{chatbotId}
curl --request PUT \
  --url https://api.chat-dash.com/v1/public/chatbots/{chatbotId} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "apiId": "<string>",
  "apiKey": "<string>",
  "platformCredentials": {},
  "usingExternalWidget": false
}'
{
  "message": "Chatbot updated successfully"
}

Headers

Authorization
string
required

All requests to the ChatDash API must be validated with the agency API Key found on your agency profile

Path Parameters

chatbotId
string
required

The ID of the chatbot

Body

application/json

Response

200
application/json

OK

The response is of type object.