Returning.AI
Light Mode
Get my user
DevelopingGET
/users/meRequest
Header Params
Authorization
string
optional
Example:
Bearer {{token}}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
meta
object
required
success
boolean
required
message
string
required
devMessage
string
required
body
object
required
id
string
required
name
string
required
email
string
required
displayname
string
required
first
string
required
last
string
required
nicename
string
required
signup_date
string
required
last_login
string
required
createdAt
string
required
updatedAt
string
required
__v
integer
required
isVerified
boolean
required
languageSettings
array [object {11}]
required
Example
{
"meta": {
"success": true,
"message": "User's information",
"devMessage": "User's information"
},
"body": {
"_id": "66a33e5fa41f3ab30088c26e",
"id": "1",
"name": "dennykate",
"email": "dennykate22@gmail.com",
"displayname": "dennykate",
"first": "Denny",
"last": "Kate",
"nicename": "dennykate",
"signup_date": "2024-07-26T06:12:47.240Z",
"last_login": "2024-07-26T10:03:39.981Z",
"createdAt": "2024-07-26T06:12:47.248Z",
"updatedAt": "2024-07-26T10:03:39.981Z",
"__v": 0,
"isVerified": true,
"languageSettings": [
{
"_id": "669e15b582fecc646b48b525",
"serverId": "669b462658695ff095d431af",
"userId": "1",
"supportedLanguages": [
"en",
"de",
"fr"
],
"language": "de",
"createdAt": "2024-07-22T08:17:57.034Z",
"updatedAt": "2024-07-22T08:17:57.034Z",
"__v": 0
},
{
"_id": "66a1a37060040fdad7e86096",
"serverId": "60d0fe4f5311236168a109ca",
"userId": "1",
"communityText": "Welcome to our community!",
"openaiApiKey": "sk-1234567890abcdef",
"aiMessageTranslation": true,
"supportedLanguages": [
"en",
"de",
"fr"
],
"language": "en",
"createdAt": "2024-07-25T00:59:28.925Z",
"updatedAt": "2024-07-25T00:59:28.925Z",
"__v": 0
}
]
}
}
Last modified: 3 months ago