Pular para o conteúdo principal
GET
/
workspaces
/
current
Obter workspace
curl --request GET \
  --url https://api.contas.rdstationmentoria.com.br/rest/workspaces/current \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "type": "legal_entity",
  "name": "<string>",
  "picture": null,
  "site": null,
  "createdBy": null,
  "updatedBy": null,
  "createdAt": "2025-11-26T20:01:11.910Z",
  "updatedAt": "2025-11-26T20:01:11.910Z"
}

Autorizações

Authorization
string
header
obrigatório

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

Resposta

object | null

Successful response

id
string
obrigatório

Identificador único do workspace

type
enum<string>
obrigatório

Tipo de workspace: pessoa jurídica ou física

Opções disponíveis:
legal_entity,
individual
name
string
obrigatório

Nome do workspace

picture
object

Imagem do workspace (opcional)

site
string | null

Site do workspace (opcional)

createdBy
string | null

ID do usuário que criou o registro

updatedBy
string | null

ID do usuário que atualizou o registro

createdAt
string<date-time>
padrão:2025-11-26T20:01:11.910Z

Data de criação

updatedAt
string<date-time>
padrão:2025-11-26T20:01:11.910Z

Data da última atualização