Appearance
Current User
GET
/v2/meTry it
Response
json
{
"id": 12345,
"email": "user@example.com",
"name": "John Doe",
"languageCode": "en",
"verified": true,
"organizationIds": [100, 200],
"organizationRoles": {
"100": {
"id": "admin",
"name": "Admin",
"isAdmin": true,
"canUpdate": true,
"canInvite": true,
"canUpdateMentions": true
}
}
}Response Fields
| Field | Type | Description |
|---|---|---|
id | integer (int64) | Unique identifier for the user |
email | string | The user's email address |
name | string | The user's display name |
accessToken | string | The user's current access token |
createdTime | integer (int64) | Timestamp of when the user account was created |
lastLoginTime | integer (int64) | Timestamp of the user's most recent login |
languageCode | string | The user's preferred language code (e.g. en, hr) |
verified | boolean | Whether the user's email has been verified |
organizationIds | array of integer (int64) | List of organization IDs the user belongs to |
organizationRoles | object | Map of organization ID to the user's role in that organization |
Organization Role Object
| Field | Type | Description |
|---|---|---|
id | string | Role identifier (e.g. admin) |
name | string | Human-readable role name |
isAdmin | boolean | Whether this role has admin privileges |
canUpdate | boolean | Whether this role can update organization settings |
canInvite | boolean | Whether this role can invite new members |
canUpdateMentions | boolean | Whether this role can update mentions |