Authorization: Bearer ********************
{
"idOrEmail": "42"
}
curl --location --request POST 'https://integration.returning.ai/apis/v1/users/info' \
--header 'Authorization: Bearer 60b3ac3ade848b39788384c82491bb908c9c0b05b37692327effe66a75ae3883' \
--header 'Content-Type: application/json' \
--data-raw '{
"idOrEmail": "42"
}'
{
"status": "success",
"data": {
"userId": "123",
"username": "___",
"xp": 123,
"coins": 123,
"roles": [
"@all"
],
"highestRole": "@all",
"firstName": "---",
"lastName": "---",
"xpEarnedToday": 0,
"coinsEarnedToday": 0,
"language": "English",
"totalMessages": 0,
"totalReactions": 0,
"visitCount": 0,
"replySent": 0,
"timeSpent": 0,
"loginStreak": 0,
"customFields": {}
}
}