Session User
Returns the userId of the calling user.
Header parameters
sessionTokenstringRequired
Session authentication token.
Responses
200
OK
application/json
400
Client error, see response body for further details.
application/json
401
Unauthorized: Invalid session token.
application/json
403
Forbidden: Caller lacks necessary entitlement.
application/json
500
Server error, see response body for further details.
application/json
get
/v2/sessioninfoWhen calling this as an OBO-enabled endpoint:
Use the OBO User Authenticate token for
sessionToken.An OBO application must include the Primary User Identity (GET_BASIC_USER_INFO) permission, along with all other required authentication and permissions. See App Authenticate and OBO-Enabled Endpoints.
See Bot Permissions for a list of roles and associated privileges.
Last updated
Was this helpful?