SmartGare
API referenceEndpoints

Get the current user

Returns the authenticated identity and its effective HTTP capabilities. **Access:** any authenticated user

GET/platform/v1/me

Returns the authenticated identity and its effective HTTP capabilities.

Access: any authenticated user

AuthorizationBearer <token>

In: header

Response Body

*/*

curl -X GET "https://example.com/platform/v1/me"
{  "capabilities": [    "string"  ],  "display_name": "string",  "roles": [    "string"  ],  "user_id": "string",  "username": "string"}