EddytorDocs & API
Users

Get current user profile

Returns the consolidated profile of the authenticated user: identity, organisation membership (role + organisation id), and linked OAuth providers. **Required scope:** `users:read`

GET
/v1/users/me

Authorization

BearerAuth
AuthorizationBearer <token>

Security scheme for OpenAPI endpoints. Validates both JWT tokens and API keys.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/users/me"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "email": "string",  "role": "admin",  "scopes": [    "string"  ],  "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",  "workspaceId": "ef0efa32-d1c1-43d4-a5e2-fe7b4f00403c",  "organisations": [    {      "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",      "organisationName": "string",      "role": "admin"    }  ],  "workspaces": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "isDefault": true    }  ],  "providers": [    {      "provider": "azure",      "providerEmail": "string",      "linkedAt": "string"    }  ],  "createdAt": "string"}
Empty
Empty
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}