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
- SchemaVaults access token (Bearer)
Authorization: Bearer <JWT> - SchemaVaults access token (cookie)
cookie "access_token_<api_server_id>"
- SchemaVaults access token (Bearer)
- Who may call
- Any authenticated user
- Required scopes
- email
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>'