Session User

Returns the userId of the calling user.

Get information about the current user's session.

get
Header parameters
sessionTokenstringRequired

Session authentication token.

Responses
chevron-right
200

OK

application/json

User record version 2

idinteger · int64OptionalExample: 7696581394433
emailAddressstring · emailOptionalExample: [email protected]
firstNamestringOptionalExample: Symphony
lastNamestringOptionalExample: Admin
displayNamestringOptionalExample: Symphony Admin
titlestringOptionalExample: Administrator
companystringOptionalExample: Acme
usernamestringOptionalExample: [email protected]
locationstringOptionalExample: California
accountTypestring · enumOptionalExample: NORMALPossible values:
workPhoneNumberstringOptional

Note: only available if the application has the extended user or contact permission

Example: +33901020304
mobilePhoneNumberstringOptional

Note: only available if the application has the extended user or contact permission

Example: +33601020304
jobFunctionstringOptional

Note: only available if the application has the extended user or contact permission

Example: Sales
departmentstringOptional

Note: only available if the application has the extended user or contact permission

Example: APIs
divisionstringOptional

Note: only available if the application has the extended user or contact permission

Example: Partnerships
rolesstring[]OptionalExample: ["INDIVIDUAL","SUPER_ADMINISTRATOR"]
get
/v2/sessioninfo

When calling this as an OBO-enabled endpoint:

See Bot Permissionsarrow-up-right for a list of roles and associated privileges.

Last updated

Was this helpful?