cURL
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" }
Update a agent
All requests to the ChatDash API must be validated with the agency API Key found on your agency profile
The ID of the agent
OK
The response is of type object.
object