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>"
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type any
.
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>"
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>"
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type any
.
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>"