curl --request POST \
--url https://api.meuassistente.rdstationmentoria.com.br/rest/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": null,
"purpose": "leads",
"kbs": [],
"fields": [
"name",
"email"
],
"name": "<string>",
"avatar": null,
"color": "#ff5722",
"status": "draft",
"destinations": [],
"behavior": {
"answerLength": "short",
"personality": "personal",
"engagement": "active"
},
"behavior_type": "basic",
"left": false,
"customFields": []
}'
{
"id": "<string>",
"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,
"workspaceId": "<string>",
"createdAt": "2025-07-04T18:19:22.540Z",
"updatedAt": "2025-07-04T18:19:22.540Z",
"createdBy": "<string>",
"updatedBy": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object
.
curl --request POST \
--url https://api.meuassistente.rdstationmentoria.com.br/rest/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": null,
"purpose": "leads",
"kbs": [],
"fields": [
"name",
"email"
],
"name": "<string>",
"avatar": null,
"color": "#ff5722",
"status": "draft",
"destinations": [],
"behavior": {
"answerLength": "short",
"personality": "personal",
"engagement": "active"
},
"behavior_type": "basic",
"left": false,
"customFields": []
}'
{
"id": "<string>",
"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,
"workspaceId": "<string>",
"createdAt": "2025-07-04T18:19:22.540Z",
"updatedAt": "2025-07-04T18:19:22.540Z",
"createdBy": "<string>",
"updatedBy": "<string>"
}
curl --request POST \
--url https://api.meuassistente.rdstationmentoria.com.br/rest/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": null,
"purpose": "leads",
"kbs": [],
"fields": [
"name",
"email"
],
"name": "<string>",
"avatar": null,
"color": "#ff5722",
"status": "draft",
"destinations": [],
"behavior": {
"answerLength": "short",
"personality": "personal",
"engagement": "active"
},
"behavior_type": "basic",
"left": false,
"customFields": []
}'
{
"id": "<string>",
"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,
"workspaceId": "<string>",
"createdAt": "2025-07-04T18:19:22.540Z",
"updatedAt": "2025-07-04T18:19:22.540Z",
"createdBy": "<string>",
"updatedBy": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object
.
curl --request POST \
--url https://api.meuassistente.rdstationmentoria.com.br/rest/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": null,
"purpose": "leads",
"kbs": [],
"fields": [
"name",
"email"
],
"name": "<string>",
"avatar": null,
"color": "#ff5722",
"status": "draft",
"destinations": [],
"behavior": {
"answerLength": "short",
"personality": "personal",
"engagement": "active"
},
"behavior_type": "basic",
"left": false,
"customFields": []
}'
{
"id": "<string>",
"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,
"workspaceId": "<string>",
"createdAt": "2025-07-04T18:19:22.540Z",
"updatedAt": "2025-07-04T18:19:22.540Z",
"createdBy": "<string>",
"updatedBy": "<string>"
}