Skip to Content
Organization

Get the authenticated organization

GET
/api/v1/organization

Returns metadata for the organization that owns the API token's workspace — name, address, legal numbers, logo, and branding settings.

Authorization

headerAuthorizationBearer <token>

API key, e.g. Authorization: Bearer sajn_svc_.... Not scope-limited: acts with its owner's workspace role.

Header Parameters

Sajn-Version?string

API 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.

Value in"2026-09""2026-10"
Sajn-Workspace?string

ID 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.

Response Body

200

application/json
  1. response
id*string

The organization ID.

name*string
orgName*string|null
orgNumber*string|null
country*string|null
email*string|null
phone*string|null
website*string|null
addressLine1*string|null
addressLine2*string|null
city*string|null
postalCode*string|null
vatNumber*string|null
logo*string|null
branding*|null
apiVersion*|

Default API version for requests without a Sajn-Version header. Null until the first API request sets it.

language*string

Default language of the organization's documents and emails. A document or a user can set its own.

Value in"sv""en""no""da""fi""de""is""es""fr""it"
currency*string

ISO 4217 code of the currency the organization is billed in. Amounts such as balance in GET /api/v1/limits are in it.

Value in"SEK""NOK""DKK""EUR"
createdAt*string

When the organization was created.

Formatdate-time
updatedAt*string

When the organization was last updated.

Formatdate-time
Example Request
curl -X GET 'https://app.sajn.se/api/v1/organization'
Example Response
{  "id": "cm4k2x9p10000abcd1234efgh",  "name": "Exempelbolaget AB",  "orgName": "Nordljus AB",  "orgNumber": "5566778899",  "country": "SE",  "email": "hr@example.com",  "phone": "+46701740605",  "website": "https://example.com",  "addressLine1": "Exempelgatan 1",  "addressLine2": "",  "city": "Stockholm",  "postalCode": "11122",  "vatNumber": "SE556677889901",  "logo": "https://example.com/logotyp.png",  "branding": {    "enabled": true,    "logo": "https://example.com/logotyp.png",    "icon": "file-text",    "url": "https://example.com/webhooks/sajn",    "primaryColor": "#2563EB",    "secondaryColor": "#0F172A"  },  "apiVersion": "2026-10",  "language": "sv",  "currency": "SEK",  "createdAt": "2026-09-28T09:12:00.000Z",  "updatedAt": "2026-09-28T09:15:00.000Z"}

Was this page helpful?