cURL
curl --request GET \ --url https://api.example.com/v2/databases/{database}/me \ --cookie nile-auth.session-token=
{ "id": "<string>", "tenants": [ "<string>" ], "email": "<string>", "name": "<string>", "givenName": "<string>", "familyName": "<string>", "picture": "<string>", "emailVerified": "2023-11-07T05:31:56Z", "created": "2023-11-07T05:31:56Z", "updated": "2023-11-07T05:31:56Z" }
Returns information about the principal associated with the session provided
Session token stored in a cookie after user signs in, prefixed with __Secure if on https
Identified user
Was this page helpful?