PUT
/
agents
/
{agentId}
Update Agent
curl --request PUT \
  --url https://api.chat-dash.com/v1/public/agents/{agentId} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "apiId": "<string>",
  "apiKey": "<string>",
  "platformCredentials": {},
  "usingExternalWidget": false
}'
{
  "message": "Agent 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

agentId
string
required

The ID of the agent

Body

application/json

Response

200
application/json

OK

The response is of type object.