Skip to Content

Get the authenticated organization

You're viewing API version 2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.
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>

Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.

Header Parameters

authorization*string

Bearer token for API authentication

Response Body

200

application/json
  1. response
id*string
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
zipCode*string|null
vatNumber*string|null
logo*string|null
branding*|null
createdAt*unknown
updatedAt*unknown
Example Request
curl -X GET 'https://app.sajn.se/api/v1/organization' \  -H 'authorization: string'
Example Response
{  "id": "string",  "name": "string",  "orgName": "string",  "orgNumber": "string",  "country": "string",  "email": "string",  "phone": "string",  "website": "string",  "addressLine1": "string",  "addressLine2": "string",  "city": "string",  "zipCode": "string",  "vatNumber": "string",  "logo": "string",  "branding": {    "enabled": true,    "logo": "string",    "icon": "string",    "url": "string",    "primaryColor": "string",    "secondaryColor": "string"  },  "createdAt": null,  "updatedAt": null}

Was this page helpful?