POST
/
agents
/
{agentId}
/
channels
curl --request POST \
  --url https://api.meuassistente.rdstationmentoria.com.br/rest/agents/{agentId}/channels \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "platform": "widget",
  "credentials": {}
}'
{
  "id": "<string>",
  "agentId": "<string>",
  "credentials": {},
  "platform": "widget",
  "workspaceId": "<string>",
  "createdBy": "<string>",
  "updatedBy": "<string>",
  "createdAt": "2025-07-04T18:19:22.545Z",
  "updatedAt": "2025-07-04T18:19:22.545Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

agentId
string
required

Body

application/json

Response

200
application/json

Successful response

The response is of type object.

POST
/
agents
/
{agentId}
/
channels
curl --request POST \
  --url https://api.meuassistente.rdstationmentoria.com.br/rest/agents/{agentId}/channels \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "platform": "widget",
  "credentials": {}
}'
{
  "id": "<string>",
  "agentId": "<string>",
  "credentials": {},
  "platform": "widget",
  "workspaceId": "<string>",
  "createdBy": "<string>",
  "updatedBy": "<string>",
  "createdAt": "2025-07-04T18:19:22.545Z",
  "updatedAt": "2025-07-04T18:19:22.545Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

agentId
string
required

Body

application/json

Response

200
application/json

Successful response

The response is of type object.