Organizations and users · GraphQL type

WhoamiPayload type

Echos back information describing the current API user, localization, and time zone information.

Time Zone: 1) The Time-Zone request header is used if specified. 2) The time zone configured in the user settings is used if set. 3) UTC is used as the default time zone.

Fields

Field Name Description
user - User! The user you used to authenticate with the API.
effectiveTimeZone - Timezone! Your effective time zone setting.
effectiveTimeZoneShortStandard - String! The short standard representation of your effective time zone setting. E.g. CET.
timeZoneRequestHeader - [String!] The Time-Zone HTTP request header received from your API client. E.g. curl -H "Time-Zone: Europe/Amsterdam".
effectiveLocalTime - Time! The server time translated to your effective time zone.
serverTime - Time! Local time on the server.

Example

Example

{
  "user": User,
  "effectiveTimeZone": "Europe/Amsterdam",
  "effectiveTimeZoneShortStandard": "abc123",
  "timeZoneRequestHeader": ["xyz789"],
  "effectiveLocalTime": "2021-10-07T18:23:25.829Z",
  "serverTime": "2021-10-07T18:23:25.829Z"
}