Back to Pipedrive OauthGet current user data
Returns data about an authorized user within the company with bound company data: company ID, company name, and domain. Note that the locale
property means 'Date/number format' in the Pipedrive account settings, not the chosen language.
Output
title: getCurrentUserResponse200
type: object
properties:
success:
type: boolean
description: If the response is successful or not
data:
type: object
properties:
id:
type: integer
description: The user ID
name:
type: string
description: The user name
default_currency:
type: string
description: The user default currency
locale:
type: string
description: The user locale
lang:
type: integer
description: The user language ID
email:
type: string
description: The user email
phone:
type: string
nullable: true
description: The user phone
activated:
type: boolean
description: Boolean that indicates whether the user is activated
last_login:
type: string
description: 'The last login date and time of the user. Format: YYYY-MM-DD HH:MM:SS'
created:
type: string
description: 'The creation date and time of the user. Format: YYYY-MM-DD HH:MM:SS'
modified:
type: string
nullable: true
description: >-
The last modification date and time of the user. Format: YYYY-MM-DD
HH:MM:SS
has_created_company:
type: boolean
description: Boolean that indicates whether the user has created a company
access:
type: array
items:
type: object
properties:
app:
type: string
enum:
- sales
- projects
- campaigns
- global
- account_settings
admin:
type: boolean
permission_set_id:
type: string
active_flag:
type: boolean
description: Boolean that indicates whether the user is activated
timezone_name:
type: string
description: The user timezone name
timezone_offset:
type: string
description: The user timezone offset
role_id:
type: integer
description: The ID of the user role
icon_url:
type: string
nullable: true
description: The user icon URL
is_you:
type: boolean
description: >-
Boolean that indicates if the requested user is the same which is
logged in (in this case, always true)
company_id:
type: integer
description: The user company ID
company_name:
type: string
description: The user company name
company_domain:
type: string
description: The user company domain
company_country:
type: string
description: The user company country
company_industry:
type: string
description: The user company industry
language:
type: object
description: The user language details
properties:
language_code:
type: string
description: The language code. E.g. en
country_code:
type: string
description: The country code. E.g. US