Get authenticated user + workspace context
Returns the authenticated user, the workspace the request acts in (the Sajn-Workspace header, or the token's default workspace), and the parent organization. Used by Zapier and other integrations to verify the connection and label it for users.
AuthorizationBearer <token>API key, e.g. Authorization: Bearer sajn_svc_.... Not scope-limited: acts with its owner's workspace role.
Sajn-Version?stringAPI version for this request. Without it, the request uses the organization's default version; an organization without a default is pinned to the latest version by its first request.
"2026-09""2026-10"Sajn-Workspace?stringID of the workspace this request acts in, from GET /api/v1/workspaces. Without it, an API key acts in its default workspace. The token's user must be a member of the workspace; an OAuth token only accepts the workspace it was granted for. A workspace that doesn't exist or can't be reached returns 403 WORKSPACE_ACCESS_DENIED.
Authenticated user + workspace context
application/json- response
Authenticated user + workspace context
id*stringUser ID
email*stringname*string|nullworkspace*organization*curl -X GET 'https://app.sajn.se/api/v1/me'{ "id": "cm4k2x9p10002abcd1234efgh", "email": "alex@example.com", "name": "Alex Berg", "workspace": { "id": "cm4k2x9p10001abcd1234efgh", "slug": "hr", "name": "HR" }, "organization": { "id": "cm4k2x9p10000abcd1234efgh", "name": "Exempelbolaget AB" }}Was this page helpful?