Skip to content
Pixmato
Esc
↑↓navigate↵open⌘Jpreview
On this page

Current Workspace

Get the current dashboard user and workspace.

Return the signed-in dashboard user and workspace context.

Endpoint

GET https://api.pixmato.com/v1/me

Request

curl "https://api.pixmato.com/v1/me" \
  -H "Cookie: __Secure-better-auth.session_token=..."

Response

{
  "user": {
    "id": "usr_01JY7R8Q7S2K3B4A5C6D7E8F9G",
    "email": "[email protected]",
    "name": "Designer"
  },
  "workspace": {
    "id": "ws_01JY7R8Q7S2K3B4A5C6D7E8F9G",
    "name": "Acme Studio",
    "slug": "acme-studio"
  }
}

Was this page helpful?