Skip to content
GET /unified/user-directory/me

Query Parameters

Refer Specifying query parameters in Truto APIs

Show Truto-specific parameters
integrated_account_idstring · uuid
required·

The ID of the integrated account to use for the request.

Example: 62f44730-dd91-461e-bd6a-aedd9e0ad79d
truto_response_formatstring

The format of the response.

  • unified returns the response with unified mappings applied.
  • raw returns the unprocessed, raw response from the remote API.
  • normalized applies the unified mappings and returns the data in a normalized format.
  • stream returns the response as a stream, which is ideal for transmitting large datasets, files, or binary data. Using streaming mode helps to efficiently handle large payloads or real-time data flows without requiring the entire data to be buffered in memory.

Defaults to unified.

Example: unified
Possible values:
unifiedrawnormalizedstream
truto_key_bystring

By default the result attribute is an array of objects. This parameter allows you to specify a field in each result objects to use as key, which transforms the result array into an object with the array items keyed by the field. This is useful for when you want to use the result as a lookup table.

Example: id
truto_ignore_limitboolean

Ignores the limit query parameter.

truto_ignore_remote_databoolean

Excludes the remote_data attribute from the response.

truto_exclude_fieldsstring[]

Array of fields to exclude from the response.

Example: truto_exclude_fields[]=id&truto_exclude_fields[]=name
remote_queryRecord<string, any>

Query parameters to pass to the underlying API without any transformations. Refer this guide to see how to structure the query parameters.

Example: remote_query[foo]=bar

Response Body

next_cursorstring

The cursor to use for the next page of results. Pass this value as next_cursor in the query parameter in the next request to get the next page of results.

resultobject[]

List of Me

idstring
required·

The unique identifier for a user

64 supported
Accelo
supported
Affinity
supported
Asana
supported
Asset Panda
supported
BlackLine
supported
Buildkite
supported
Checkr
supported
ClickUp
supported
Concord
supported
Confluence
supported
Confluence On Prem
supported
Contentful Content Management
supported
DevRev
supported
Discord
supported
Dropbox - Business
supported
Dropbox - Personal
supported
Egnyte
supported
FloQast
supported
Google CloudSQL
supported
GitHub
supported
GitLab
supported
Gmail
supported
Google
supported
Google Calendar
supported
Google Cloud
supported
Google Drive
supported
Harness
supported
Harvest
supported
Hootsuite
supported
HubSpot
supported
Intercom
supported
Jira
supported
Jostle SCIM
supported
juniper-mist
supported
Lattice
supported
Linear
supported
Microsoft 365
supported
Missive
supported
Monday.com
supported
MongoDB Atlas Admin
supported
Microsoft Teams
supported
Notion
supported
OneDrive
supported
Outlook Mail
supported
Outlook Calendar
supported
Pipedrive
supported
Pivotal Tracker
supported
Podio
supported
Pylon
supported
Qualtrics CoreXM
supported
Rootly
supported
Salesforce
supported
SharePoint
supported
Shortcut
supported
Slack
supported
SonarQube Cloud
supported
SonarQube Server
supported
Teamwork Desk
supported
Teamwork Project Management
supported
Teamwork Spaces
supported
Workato
supported
Zoho CRM
supported
Zoho Desk
supported
Zoho Recruit
supported
activated_atstring · date-time

The date and time the user was activated

2 supported
Lattice
supported
Podio
supported
avatarstring

The avatar of the user

28 supported
Apify
supported
Asana
supported
Asset Panda
supported
Buildkite
supported
ClickUp
supported
Confluence
supported
Contentful Content Management
supported
Discord
supported
GitLab
supported
Gmail
supported
Google
supported
Google Calendar
supported
Google Drive
supported
Harvest
supported
Intercom
supported
Jira
supported
Jostle SCIM
supported
Missive
supported
Notion
supported
Pipedrive
supported
Salesforce
supported
Slack
supported
SonarQube Cloud
supported
Teamwork Desk
supported
Teamwork Project Management
supported
Teamwork Spaces
supported
Workato
supported
Zoho Desk
supported
biostring

The bio of the user

5 supported
GitLab
supported
Hootsuite
supported
Slack
supported
Workato
supported
Zoho Desk
supported
created_atstring · date-time

The date and time the user was created

27 supported
Asset Panda
supported
BlackLine
supported
Buildkite
supported
Checkr
supported
Concord
supported
Contentful Content Management
supported
DevRev
supported
GitHub
supported
GitLab
supported
Harness
supported
Harvest
supported
Hootsuite
supported
Jostle SCIM
supported
Lattice
supported
Linear
supported
Monday.com
supported
Pipedrive
supported
Pivotal Tracker
supported
Podio
supported
Rootly
supported
Salesforce
supported
SonarQube Cloud
supported
SonarQube Server
supported
Teamwork Desk
supported
Teamwork Project Management
supported
Workato
supported
Zoho CRM
supported
emailsobject[]

The emails of the user

58 supported
Accelo
supported
Affinity
supported
Asana
supported
Asset Panda
supported
BlackLine
supported
Buildkite
supported
Checkr
supported
ClickUp
supported
Concord
supported
Confluence
supported
Contentful Content Management
supported
DevRev
supported
Discord
supported
Dropbox - Business
supported
Dropbox - Personal
supported
Egnyte
supported
Google CloudSQL
supported
GitHub
supported
GitLab
supported
Gmail
supported
Google
supported
Google Calendar
supported
Google Cloud
supported
Google Drive
supported
Harness
supported
Harvest
supported
Hootsuite
supported
HubSpot
supported
Intercom
supported
Jira
supported
Jostle SCIM
supported
juniper-mist
supported
Lattice
supported
Linear
supported
Microsoft 365
supported
Missive
supported
Microsoft Teams
supported
Notion
supported
OneDrive
supported
Outlook Mail
supported
Outlook Calendar
supported
Pipedrive
supported
Pivotal Tracker
supported
Podio
supported
Qualtrics CoreXM
supported
Rootly
supported
Salesforce
supported
SharePoint
supported
Slack
supported
SonarQube Cloud
supported
SonarQube Server
supported
Teamwork Desk
supported
Teamwork Project Management
supported
Teamwork Spaces
supported
Workato
supported
Zoho CRM
supported
Zoho Desk
supported
Zoho Recruit
supported
3 properties
emailstring

The email address

is_primaryboolean

Whether the email address is primary

typestring

The type of email address

external_idstring

The external identifier for a user. This is set when the SCIM API is being used.

4 supported
Jostle SCIM
supported
Lattice
supported
SonarQube Cloud
supported
SonarQube Server
supported
first_namestring

The first name of the user

35 supported
Accelo
supported
Affinity
supported
Asset Panda
supported
BlackLine
supported
Contentful Content Management
supported
Dropbox - Business
supported
Dropbox - Personal
supported
Egnyte
supported
Google CloudSQL
supported
Gmail
supported
Google
supported
Google Calendar
supported
Google Cloud
supported
Google Drive
supported
Harness
supported
Harvest
supported
HubSpot
supported
Jostle SCIM
supported
juniper-mist
supported
Microsoft 365
supported
Microsoft Teams
supported
OneDrive
supported
Outlook Mail
supported
Outlook Calendar
supported
Qualtrics CoreXM
supported
Rootly
supported
Salesforce
supported
SharePoint
supported
Slack
supported
Teamwork Desk
supported
Teamwork Project Management
supported
Teamwork Spaces
supported
Zoho CRM
supported
Zoho Desk
supported
Zoho Recruit
supported
groupsobject[]

The groups of the user

6 supported
Dropbox - Personal
supported
Intercom
supported
Jostle SCIM
supported
SonarQube Cloud
supported
SonarQube Server
supported
Zoho Desk
supported
3 properties
idstring

The unique identifier for a group

namestring

The name of the group

organizationstring

The unique identifier of the organization to which the group belongs

identifiersRecord<string, any>

The identifiers of the user.

is_2fa_enabledboolean

Whether the user has 2FA enabled

7 supported
Contentful Content Management
supported
Discord
supported
GitHub
supported
GitLab
supported
Harness
supported
Pivotal Tracker
supported
Teamwork Project Management
supported
is_email_verifiedboolean

Whether the user's email has been verified

13 supported
Contentful Content Management
supported
Discord
supported
Dropbox - Business
supported
Dropbox - Personal
supported
Gmail
supported
Google
supported
Google Calendar
supported
Google Drive
supported
Harness
supported
Intercom
supported
Monday.com
supported
Salesforce
supported
Slack
supported
languagesstring[]

The languages preferred by the user

20 supported
Discord
supported
Dropbox - Business
supported
Dropbox - Personal
supported
Gmail
supported
Google
supported
Google Calendar
supported
Google Drive
supported
Hootsuite
supported
Jostle SCIM
supported
Microsoft 365
supported
Microsoft Teams
supported
OneDrive
supported
Outlook Mail
supported
Outlook Calendar
supported
Podio
supported
Salesforce
supported
SharePoint
supported
Zoho CRM
supported
Zoho Desk
supported
Zoho Recruit
supported
last_active_atstring · date-time

The date and time the user was last active

4 supported
GitLab
supported
Linear
supported
Salesforce
supported
Workato
supported
last_login_atstring · date-time

The date and time the user was last logged in

5 supported
GitLab
supported
Pipedrive
supported
SonarQube Cloud
supported
SonarQube Server
supported
Teamwork Project Management
supported
last_namestring

The last name of the user

35 supported
Accelo
supported
Affinity
supported
Asset Panda
supported
BlackLine
supported
Contentful Content Management
supported
Dropbox - Business
supported
Dropbox - Personal
supported
Egnyte
supported
Google CloudSQL
supported
Gmail
supported
Google
supported
Google Calendar
supported
Google Cloud
supported
Google Drive
supported
Harness
supported
Harvest
supported
HubSpot
supported
Jostle SCIM
supported
juniper-mist
supported
Microsoft 365
supported
Microsoft Teams
supported
OneDrive
supported
Outlook Mail
supported
Outlook Calendar
supported
Qualtrics CoreXM
supported
Rootly
supported
Salesforce
supported
SharePoint
supported
Slack
supported
Teamwork Desk
supported
Teamwork Project Management
supported
Teamwork Spaces
supported
Zoho CRM
supported
Zoho Desk
supported
Zoho Recruit
supported
licensesobject[]

The licenses of the user or the products the user has access to

1 supported
Pipedrive
supported
4 properties
idstring

The unique identifier for a license

last_active_atstring · date-time

The date and time the user was last active for the license

namestring

The name of the license

organizationstring

The unique identifier of the organization to which the license belongs

namestring

The name of the user

60 supported
Accelo
supported
Affinity
supported
Apify
supported
Asana
supported
Asset Panda
supported
BlackLine
supported
Buildkite
supported
Checkr
supported
Concord
supported
Confluence
supported
Confluence On Prem
supported
Contentful Content Management
supported
DevRev
supported
Discord
supported
Dropbox - Business
supported
Dropbox - Personal
supported
Google CloudSQL
supported
GitHub
supported
GitLab
supported
Gmail
supported
Google
supported
Google Calendar
supported
Google Cloud
supported
Google Drive
supported
Harness
supported
Harvest
supported
Hootsuite
supported
Intercom
supported
Jira
supported
Jostle SCIM
supported
juniper-mist
supported
Lattice
supported
Linear
supported
Microsoft 365
supported
Missive
supported
Monday.com
supported
MongoDB Atlas Admin
supported
Microsoft Teams
supported
Notion
supported
OneDrive
supported
Outlook Mail
supported
Outlook Calendar
supported
Pipedrive
supported
Pivotal Tracker
supported
Pylon
supported
Qualtrics CoreXM
supported
Rootly
supported
Salesforce
supported
SharePoint
supported
Shortcut
supported
Slack
supported
SonarQube Cloud
supported
SonarQube Server
supported
Teamwork Desk
supported
Teamwork Project Management
supported
Teamwork Spaces
supported
Workato
supported
Zoho CRM
supported
Zoho Desk
supported
Zoho Recruit
supported
organizationsobject[]

The organizations of the user

9 supported
Asana
supported
Asset Panda
supported
Checkr
supported
Concord
supported
juniper-mist
supported
Linear
supported
Monday.com
supported
Teamwork Project Management
supported
Teamwork Spaces
supported
2 properties
idstring

The unique identifier for an organization

namestring

The name of the organization

phonesobject[]

The phones of the user

23 supported
Accelo
supported
Asset Panda
supported
BlackLine
supported
Checkr
supported
Concord
supported
DevRev
supported
Harvest
supported
Jostle SCIM
supported
Microsoft 365
supported
Microsoft Teams
supported
OneDrive
supported
Outlook Mail
supported
Outlook Calendar
supported
Pipedrive
supported
Rootly
supported
Salesforce
supported
SharePoint
supported
Slack
supported
Teamwork Project Management
supported
Workato
supported
Zoho CRM
supported
Zoho Desk
supported
Zoho Recruit
supported
3 properties
extensionstring

The extension of the phone number

numberstring

The phone number

typestring

The type of phone number

remote_dataRecord<string, any>

Raw data returned from the remote API call.

rolesobject[]

The roles of the user

19 supported
Accelo
supported
Asset Panda
supported
BlackLine
supported
Harness
supported
Harvest
supported
HubSpot
supported
Jostle SCIM
supported
juniper-mist
supported
Lattice
supported
Monday.com
supported
MongoDB Atlas Admin
supported
Pivotal Tracker
supported
Slack
supported
Teamwork Desk
supported
Teamwork Project Management
supported
Teamwork Spaces
supported
Zoho CRM
supported
Zoho Desk
supported
Zoho Recruit
supported
5 properties
groupstring

The role of the user in the group. This is available when the user can have different roles in different groups or teams in an application.

idstring

The unique identifier for a role

namestring

The name of the role

organizationstring

The role of the user in the organization. This is available when the user can have different roles in different organizations in an application.

workspacestring

The role of the user in the workspace. This is available when the user can have different roles in different workspaces in an application.

statusstring

The status of the user. If no clear mapping is available, then the raw value is returned.

Possible values:
activeinactivedeletedinvited
25 supported
Accelo
supported
Asset Panda
supported
BlackLine
supported
Confluence On Prem
supported
DevRev
supported
Dropbox - Business
supported
Dropbox - Personal
supported
GitLab
supported
Harness
supported
Harvest
supported
Hootsuite
supported
Jira
supported
Jostle SCIM
supported
Lattice
supported
Linear
supported
Pipedrive
supported
Podio
supported
Salesforce
supported
Slack
supported
Teamwork Desk
supported
Teamwork Project Management
supported
Teamwork Spaces
supported
Zoho CRM
supported
Zoho Desk
supported
Zoho Recruit
supported
status_changed_atstring · date-time

The date and time the user's status was last changed

timezonestring

The timezone of the user

21 supported
Accelo
supported
Asset Panda
supported
ClickUp
supported
Concord
supported
Confluence
supported
GitLab
supported
Harvest
supported
Hootsuite
supported
Jira
supported
Jostle SCIM
supported
Lattice
supported
Linear
supported
Pipedrive
supported
Pivotal Tracker
supported
Podio
supported
Rootly
supported
Salesforce
supported
Slack
supported
Zoho CRM
supported
Zoho Desk
supported
Zoho Recruit
supported
titlestring

The title of the user

12 supported
BlackLine
supported
GitLab
supported
Intercom
supported
Jostle SCIM
supported
Lattice
supported
Microsoft 365
supported
Microsoft Teams
supported
OneDrive
supported
Outlook Mail
supported
Outlook Calendar
supported
SharePoint
supported
Teamwork Project Management
supported
updated_atstring · date-time

The date and time the user was last updated

18 supported
BlackLine
supported
Contentful Content Management
supported
DevRev
supported
GitHub
supported
Harness
supported
Harvest
supported
Hootsuite
supported
Jostle SCIM
supported
Lattice
supported
Linear
supported
Pipedrive
supported
Pivotal Tracker
supported
Rootly
supported
Salesforce
supported
Slack
supported
Teamwork Desk
supported
Teamwork Project Management
supported
Zoho CRM
supported
urlsobject[]

The URLs of the user

8 supported
Confluence
supported
Dropbox - Business
supported
Dropbox - Personal
supported
GitHub
supported
GitLab
supported
Jostle SCIM
supported
Linear
supported
Salesforce
supported
2 properties
typestring

The type of URL

urlstring

The URL

user_typestring

The type of user

4 supported
Egnyte
supported
Jostle SCIM
supported
Salesforce
supported
Teamwork Project Management
supported
usernamestring

The username of the user

20 supported
Accelo
supported
ClickUp
supported
Confluence On Prem
supported
Discord
supported
Egnyte
supported
GitHub
supported
GitLab
supported
Intercom
supported
Jostle SCIM
supported
Microsoft 365
supported
Microsoft Teams
supported
OneDrive
supported
Outlook Mail
supported
Outlook Calendar
supported
Pivotal Tracker
supported
Qualtrics CoreXM
supported
Salesforce
supported
SharePoint
supported
Slack
supported
Teamwork Project Management
supported
curl -X GET 'https://api.truto.one/unified/user-directory/me?integrated_account_id=<integrated_account_id>' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
const integratedAccountId = '<integrated_account_id>';

const response = await fetch(`https://api.truto.one/unified/user-directory/me?integrated_account_id=${integratedAccountId}`, {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import requests

url = "https://api.truto.one/unified/user-directory/me"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
    "integrated_account_id": "<integrated_account_id>"
}

response = requests.get(url, headers=headers, params=params)
print(response.json())
import Truto from '@truto/truto-ts-sdk';

const truto = new Truto({
  token: '<your_api_token>',
});

const result = await truto.unifiedApi.list(
  'user-directory',
  'me',
  { integrated_account_id: '<integrated_account_id>' }
);

console.log(result);
import asyncio
from truto_python_sdk import TrutoApi

truto_api = TrutoApi(token="<your_api_token>")

async def main():
    async for item in truto_api.unified_api.list(
        "user-directory",
        "me",
        {"integrated_account_id": "<integrated_account_id>"}
    ):
        print(item)

asyncio.run(main())