RyTask docs
REST APIAuth

Current principal — user, org, role, scopes, accessible workspaces (FR-INT-MCP-001)

View as MarkdownOpen in ChatGPTOpen in Claude
GET
/auth/whoami

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://example.com/auth/whoami"
{  "user": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "email": "user@example.com",    "name": "string",    "emailVerified": true  },  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",  "activeWorkspaceId": "4cb09893-6905-47b7-a54d-5292eb9759b5",  "role": "OWNER",  "scopes": [    "string"  ],  "workspaces": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "slug": "string"    }  ]}
Empty