GET
/api/me/emailAuthenticatedscope:emailMy email address
Only tokens whose scope claim includes email may read the address; tokens without a scope claim are refused with 403 insufficient_scope.
operationId
get_api_me_emailAccountAuthentication & permissionsAuthenticated
Any authenticated user
- Accepted credentials
- Access token (Bearer)
Authorization: Bearer <JWT> - Access token (cookie)
cookie "access_token_<api_server_id>"
- Access token (Bearer)
- Who may call
- Any authenticated user
- Required scopes
- emailRead your email address
The token's
scopeclaim must include every scope listed; administrators get no bypass.
Responses
application/json
| Property | Type | Description |
|---|---|---|
| email* | string | null | null |
JSONExample
"email""string"
Example request
bashcurl
curl -X GET 'https://example-nextjs-resource-server.schemavaults.com/api/me/email' \
-H 'Authorization: Bearer <access_token>'