Skip to main content
GET
/
api
/
v1
/
organization
Get the authenticated organization
curl --request GET \
  --url https://app.sajn.se/api/v1/organization \
  --header 'authorization: <authorization>'
{
  "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": "<unknown>",
  "updatedAt": "<unknown>"
}

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

200

id
string
required
name
string
required
orgName
string | null
required
orgNumber
string | null
required
country
string | null
required
email
string | null
required
phone
string | null
required
website
string | null
required
addressLine1
string | null
required
addressLine2
string | null
required
city
string | null
required
zipCode
string | null
required
vatNumber
string | null
required
logo
string | null
required
branding
object
required
createdAt
any
required
updatedAt
any
required