How to get user info? tried `/rc/api/v1/"user-id-here"`

the above api return dummy response

    "user": {
        "_id": "",
        "createdAt": "2021-09-09T02:13:14.638Z",
        "name": "Rocket.Cat",
        "username": "",
        "status": "online",
        "utcOffset": 0,
        "active": true,
        "type": "bot",
        "roles": [
        "avatarETag": null,
        "canViewAllInfo": true
    "success": true

for any user

@dudanogueira can you please help

Hi! Sorry for the late response.

You are almost there:

curl -H “X-Auth-Token: V6RTUimYNgyroMFfY1zlUm2HHmke7Vj0WA99ODAOiu8”
-H “X-User-Id: avmX38wqkezv55obK”

check the casing for the query parameter userId

for reference:

when I call it with userId i get following even for admin user

    "success": false,
    "error": "Cannot set property 'canViewAllInfo' of undefined"

Can you reproduce this with the curl command I mentioned?

Have you tried this curl example?

can we get users from their email?

also, can we log in from the email id which we register?

Please, check this document on how to query our APIs:

Yes, you can: