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

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

GET /me
curl \
 -X GET https://rest.api.24sevenoffice.com/v1/me \
 -H "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"
}