GET
/api/me/notesAuthenticatedscope:example:notes.readMy notes
Only access tokens granted the example:notes.read API scope may read the caller's notes; any other token is refused with 403 insufficient_scope.
operationId
get_api_me_notesAccountAuthentication & 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
- example:notes.readRead your notes
The token's
scopeclaim must include every scope listed; administrators get no bypass.
Responses
application/json
| Property | Type | Description |
|---|---|---|
| uid* | string | |
| notes* | string[] |
JSONExample
"uid""string"
"notes"
"string"
Example request
bashcurl
curl -X GET 'https://example-nextjs-resource-server.schemavaults.com/api/me/notes' \
-H 'Authorization: Bearer <access_token>'