Misc
Get current authenticated principal
Returns the user, workspace, and credential represented by the current token.
GET
/v1/meReturns the user, workspace, and credential represented by the current token.
AuthorizationBearer <token>
OAuth2 authentication
In: header
Scope: workspace:admin, offline_access
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/me"{ "data": { "user": { "id": "string", "email": "user@example.com", "name": "string" }, "workspace": { "id": "string", "name": "string" }, "credential": { "type": "oauth", "id": "string", "name": "string" } }}