Skip to main content
GET
/
api
/
v1
/
me
Get authenticated user + workspace context
curl --request GET \
  --url https://app.sajn.se/api/v1/me \
  --header 'authorization: <authorization>'
{
  "userId": "<string>",
  "email": "<string>",
  "name": "<string>",
  "workspace": {
    "id": "<string>",
    "slug": "<string>",
    "name": "<string>"
  },
  "organization": {
    "id": "<string>",
    "name": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.sajn.se/llms.txt

Use this file to discover all available pages before exploring further.

Headers

authorization
string
required

Bearer token for API authentication

Response

Authenticated user + workspace context

Authenticated user + workspace context

userId
string
required
email
string
required
name
string | null
required
workspace
object
required
organization
object
required