Português (BR)
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" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object