This endpoints returns all user fields (Default and Custom) for a single user.Authorization#
Found in the platform under community settings > API keys.
Permission: Get User Data
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
Request Code Samples
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"
}'
Responses
application/json {
"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": {}
}
}
Modified at 2025-08-27 07:37:12