POST
/
accounts
curl --request POST \
  --url https://api.contas.rdstationmentoria.com.br/rest/accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "platform": "rd",
  "platformId": "<string>",
  "description": null,
  "credentials": {}
}'
{
  "id": "<string>",
  "platform": "rd",
  "platformId": "<string>",
  "description": null,
  "createdBy": null,
  "updatedBy": null,
  "createdAt": "2025-07-04T18:19:21.195Z",
  "updatedAt": "2025-07-04T18:19:21.195Z",
  "workspaceId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Successful response

The response is of type object.

POST
/
accounts
curl --request POST \
  --url https://api.contas.rdstationmentoria.com.br/rest/accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "platform": "rd",
  "platformId": "<string>",
  "description": null,
  "credentials": {}
}'
{
  "id": "<string>",
  "platform": "rd",
  "platformId": "<string>",
  "description": null,
  "createdBy": null,
  "updatedBy": null,
  "createdAt": "2025-07-04T18:19:21.195Z",
  "updatedAt": "2025-07-04T18:19:21.195Z",
  "workspaceId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Successful response

The response is of type object.