Skip to content

Who am I — the signed-in user

GET
/v1/me
curl --request GET \
--url https://beta-api.plune.ai/v1/me \
--cookie plune_session=<plune_session>

The current session user (id, email, role, display name, language, theme). The dashboard reads it to show the account and, when you sign in, to open in the language and the theme you chose in another browser.

The signed-in user

Media type application/json
object
userId
required
string format: uuid
email
required
string format: email
name
required

The display name (B8-team T3) — what every screen shows where a row names this person, in place of the address. null until given on the Account page.

string
nullable <= 100 characters
locale
required

The language the person chose for the dashboard (#1016), kept with the account so another browser opens in it. null until they choose one: the browser’s own preference stands in, and nothing is written on its behalf.

string
nullable
Allowed values: en uk
theme
required

The theme the person chose for the dashboard (#1016), kept with the account like locale. null until they choose one.

string
nullable
Allowed values: dark light
role
required

What this account is allowed to be, e.g. user or owner. Open-ended: new roles appear without a client release.

string
Example
{
"userId": "u-shop",
"email": "[email protected]",
"role": "user",
"name": "Olena Kovalenko",
"locale": "uk",
"theme": "light"
}

No / invalid session

Session valid but the user no longer exists

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}