PUT
/
agents
/
{id}
curl --request PUT \
  --url https://api.meuassistente.rdstationmentoria.com.br/rest/agents/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": null,
  "avatar": null,
  "color": "#ff5722",
  "welcome": null,
  "instructions": null,
  "off": null,
  "references": false,
  "purpose": "leads",
  "freedom": "restricted",
  "behavior_type": "basic",
  "status": "draft",
  "fields": [
    "name",
    "email"
  ],
  "left": false,
  "forceLeadIdentification": false,
  "kbs": [],
  "destinations": [],
  "customFields": [],
  "behavior": {
    "answerLength": "short",
    "personality": "personal",
    "engagement": "active"
  },
  "agentPlugins": []
}'
"<any>"

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json

Response

200
application/json

Successful response

The response is of type any.

PUT
/
agents
/
{id}
curl --request PUT \
  --url https://api.meuassistente.rdstationmentoria.com.br/rest/agents/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": null,
  "avatar": null,
  "color": "#ff5722",
  "welcome": null,
  "instructions": null,
  "off": null,
  "references": false,
  "purpose": "leads",
  "freedom": "restricted",
  "behavior_type": "basic",
  "status": "draft",
  "fields": [
    "name",
    "email"
  ],
  "left": false,
  "forceLeadIdentification": false,
  "kbs": [],
  "destinations": [],
  "customFields": [],
  "behavior": {
    "answerLength": "short",
    "personality": "personal",
    "engagement": "active"
  },
  "agentPlugins": []
}'
"<any>"

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json

Response

200
application/json

Successful response

The response is of type any.