devguard
Whoami

The authenticated user and their organization memberships.

GET
/whoami/

Authorization

Authorization
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/whoami/"
{  "user": {    "id": "string",    "email": "string",    "name": "string"  },  "organizations": [    {      "organizationId": "string",      "role": "string",      "name": "string",      "slug": "string"    }  ]}

How is this guide?