​

Retrieve current user

GET
https://example.kaiten.ru/api/latest/users/current
Responses

200
DescriptionResponse typeExample
SuccessObject
Open
Response Attributes
NameTypeDescription
id

integer

User id
full_name

string

User full name
email

string

User email
username

string

Username for mentions and login
avatar_initials_url

string

Default user avatar
avatar_uploaded_url

null | string

User uploaded avatar url
initials

string

User initials
avatar_type

enum

1 – gravatar, 2 – initials, 3 - uploaded
lng

string

Language
timezone

string

Time zone
theme

string

light - light color theme, dark - dark color theme, auto - color theme based on OS settings
updated

string

Last update timestamp
created

string

Create date
activated

boolean

User activated flag
ui_version

integer

1 - old ui. 2 - new ui
company_id

integer

Company id
telegram_id

integer

Telegram id
telegram_settings

object

Telegram settings
user_id

integer

User id
default_space_id

null | integer

Default space
permissions

integer

Effective numeric company permissions, including group grants. Named-only permissions such as mcpConnections are available in named_permissions.
role

enum

User role in company: 1 - owner, 2 - user, 3 - deactivated
email_frequency

enum

1 - never, 2 – instantly
email_settings

object

Schema
Email settings
slack_id

null || integer

User slack id
slack_settings

null || object

Slack settings
notification_settings

null || object

Schema
Per-event notification settings. The fields below are examples. Meeting recording and transcription notifications each default to inner, mobile_app and email when their key is absent. An empty array disables that event. Delivery requires the channel to be enabled on the installation and in notification_enabled_channels. The slack, telegram and max_messenger channels require a connected account, mobile_app requires a logged-in device, and email requires an unblocked address.
notification_enabled_channels

array

List of enabled channels for notifications
slack_private_channel_id

null | integer

User slack private channel id
telegram_sd_bot_enabled

boolean

Telegram bot enable flag
invite_last_sent_at

string

Last invite date
apps_permissions

string

0 - no access, 1 - full access to Kaiten, access to service desk denied. 2 - guest access to Kaiten, access to service desk denied. 4 - access only to service desk. 5 - full access to Kaiten and service desk. 6 - guest access to Kaiten, access to service desk
external

boolean

Is user external
last_request_date

null | string

Date of last request
last_request_method

null | string

Type of last request
has_password

boolean

Has user password flag
named_permissions

object

Schema
The map contains every permission name supported by the server; ungranted permissions are false. Contains effective permissions in the current company, including active group and default-group grants. Owners have all supported permissions. The MCP field below is one example; see the named company permissions reference linked above. Named-only permissions have no bit in the integer permissions mask.
own_named_permissions

object

Schema
The map contains every permission name supported by the server; ungranted permissions are false. Contains permissions granted directly to the user in the current company, without group grants. Owners have all supported permissions. The MCP field below is one example; see the named company permissions reference linked above.
401
DescriptionResponse typeExample
Invalid tokenString
Open
403
DescriptionResponse typeExample
ForbidenResponse body does not exist
404
DescriptionResponse typeExample
Not foundResponse body does not exist
logo
Kaiten
If you have any questions or need help with integration feel free to write us at support@kaiten.ru
  1  curl --request GET \
  2       --url 'https://example.kaiten.ru/api/latest/users/current' \
  3       --header 'Accept: application/json' \
  4       --header 'Content-Type: application/json'
  5      

Response

ClickTry It!to start a request and see the response here!