Cortex API
Search
K

getUserInformation

This method returns basic information about the current user.

Parameters

Name
Type
Required
Description
cortexToken
string
yes
A token returned by authorize

Result

The result is an object containing basic information about the user.
Name
Type
Description
username
string
The EmotivID of the user
firstName
string
The first name of the user
lastName
string
The last name of the user
licenseAgreement
object
An object that contain information about the EULA agreement

Examples

Request
Response
{
"id": 1,
"jsonrpc": "2.0",
"method": "getUserInformation",
"params": {
"cortexToken": "xxx"
}
}
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"username": "jon.snow",
"firstName": "Jon",
"lastName": "Snow",
"licenseAgreement": {
"accepted": true,
"licenseUrl": "https://..."
}
}
}