curl --request GET \
--url https://pria.praxislxp.com/api/admin/user/{userId} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"rt_voice": "<string>",
"use_location": true,
"pin_ui": true,
"dark_mode": true,
"max_dialogues": 123,
"_id": "<string>",
"email": "<string>",
"fname": "<string>",
"lname": "<string>",
"picture": "<string>",
"password": "<string>",
"accountType": "<string>",
"permissions": [
"<string>"
],
"customerId": "<string>",
"lxp_user_id": "<string>",
"lxp_user_type": 123,
"lxp_partner_id": "<string>",
"lxp_partner_name": "<string>",
"lxp_role_id": 123,
"lxp_role_name": "<string>",
"credits": 123,
"creditsUsed": 123,
"plan": "<string>",
"status": "<string>",
"trial_end": "2023-11-07T05:31:56Z",
"trial_used": true,
"current_period_end": "2023-11-07T05:31:56Z",
"cancel_at_period_end": true,
"referralId": "<string>",
"referrerPaid": true,
"institution": {
"_id": "<string>",
"name": "<string>",
"picture": "<string>",
"credits": 123,
"creditsUsed": 123,
"creditsAwarded": 123,
"status": "active",
"publicId": "<string>",
"publicAuthorizedUrls": [
"<string>"
],
"ainame": "<string>",
"contactEmail": "<string>",
"poolCredits": true,
"created": "2023-11-07T05:31:56Z",
"conversationModel": "<string>",
"account": {
"_id": "<string>",
"name": "<string>"
},
"maxCompletionTokens": 123,
"creditsTotal": 123,
"creditsUsagePct": 123,
"id": "<string>",
"displayAgentDetails": true
},
"resetCodeId": "<string>",
"direct": true,
"invoices_urls": [
"<string>"
],
"remember_history_count": 123,
"browser_voice": "<string>",
"created": "2023-11-07T05:31:56Z",
"__v": 123
}
}
Retrieves detailed information about a specific user. Requires admin privileges.
curl --request GET \
--url https://pria.praxislxp.com/api/admin/user/{userId} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"rt_voice": "<string>",
"use_location": true,
"pin_ui": true,
"dark_mode": true,
"max_dialogues": 123,
"_id": "<string>",
"email": "<string>",
"fname": "<string>",
"lname": "<string>",
"picture": "<string>",
"password": "<string>",
"accountType": "<string>",
"permissions": [
"<string>"
],
"customerId": "<string>",
"lxp_user_id": "<string>",
"lxp_user_type": 123,
"lxp_partner_id": "<string>",
"lxp_partner_name": "<string>",
"lxp_role_id": 123,
"lxp_role_name": "<string>",
"credits": 123,
"creditsUsed": 123,
"plan": "<string>",
"status": "<string>",
"trial_end": "2023-11-07T05:31:56Z",
"trial_used": true,
"current_period_end": "2023-11-07T05:31:56Z",
"cancel_at_period_end": true,
"referralId": "<string>",
"referrerPaid": true,
"institution": {
"_id": "<string>",
"name": "<string>",
"picture": "<string>",
"credits": 123,
"creditsUsed": 123,
"creditsAwarded": 123,
"status": "active",
"publicId": "<string>",
"publicAuthorizedUrls": [
"<string>"
],
"ainame": "<string>",
"contactEmail": "<string>",
"poolCredits": true,
"created": "2023-11-07T05:31:56Z",
"conversationModel": "<string>",
"account": {
"_id": "<string>",
"name": "<string>"
},
"maxCompletionTokens": 123,
"creditsTotal": 123,
"creditsUsagePct": 123,
"id": "<string>",
"displayAgentDetails": true
},
"resetCodeId": "<string>",
"direct": true,
"invoices_urls": [
"<string>"
],
"remember_history_count": 123,
"browser_voice": "<string>",
"created": "2023-11-07T05:31:56Z",
"__v": 123
}
}
JWT token passed in x-access-token header
The user ID to retrieve
User details retrieved successfully
The response is of type object
.
Was this page helpful?