Read profile

GET /me

Read information about the current profile. This endpoint is only available for access tokens that have the identityId claim.

24SevenOffice is a multi-tenant application, where a personal login gives access to more than one organization and its people.

Hence, there exist "identity", "organization" and the organization’s "people".

Identity → *Organization → *Person


Identity An identity is a personal user who logs into 24SevenOffice. An identity will have one or more unique identifiers for the personal user, such as an email or a phone number An identity may or may not have access to one or more organizations through a person.

24SevenOffice has a global identity pool where an identity may have access to all organizations available in 24SevenOffice.

Headers

  • Authorization string Required

    Authorization header

Query parameters

  • thumb boolean

    A flag variable to include a thumbnail image in the response.

    Default value is false.

  • bigthumb boolean

    A flag variable to include a larger thumbnail image in the response.

    Default value is false.

  • maxAge integer(int32)

    Maximum age of the cached profile data in seconds.

Responses

  • 200 application/json

    Success

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string
    • Access-Control-Allow-Credentials string
    • X-Trace-Id string
    Hide response attributes Show response attributes object
    • id string(uuid)

      The unique identifier for the profile.

    • firstName string | null

      The first name of the user.

    • lastName string | null

      The last name of the user.

    • timeZone string | null

      The time zone of the user.

    • countryCode string | null

      The two-letter country code for the user, as in ISO 3166-1 alpha-2 standard.

    • language string | null

      The language preference of the user.

    • culture string | null

      The culture setting of the user.

GET /me
curl \
 --request GET 'https://rest.api.24sevenoffice.com/v1/me' \
 --header "Authorization: string"
Response examples (200)
# Headers
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string

# Payload
{
  "id": "123e4567-e89b-12d3-a456-426614174001",
  "firstName": "John",
  "lastName": "Doe",
  "timeZone": "Europe/Oslo",
  "countryCode": "NO",
  "language": "en",
  "culture": "en-US"
}