Skip to main content
GET
/
users
/
{_id}
cURL
curl --request GET \
  --url https://api.yourjobsearchgenius.ai/v1/users/{_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "_id": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "email": "<string>",
    "uniqueUserId": "<string>",
    "accountStatus": "active",
    "onboardingCompleted": true,
    "lastLoginDate": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "autoLogin": {
      "autoLoginUrl": "<string>",
      "autoLoginCode": "<string>"
    },
    "engagementStats": {
      "resumesCount": 123,
      "interviewsCount": 123,
      "jobTracking": {
        "totalJobs": 123,
        "statusBreakdown": {
          "applied": 123,
          "interviewing": 123,
          "offered": 123,
          "rejected": 123
        }
      },
      "mockInterviews": {
        "totalInterviews": 123,
        "interviews": [
          {
            "_id": "<string>",
            "title": "<string>",
            "stageType": "<string>",
            "difficulty": "<string>",
            "isCompleted": true,
            "createdAt": "2023-11-07T05:31:56Z",
            "takeCount": 123,
            "averageScore": 123,
            "allTakes": [
              {
                "_id": "<string>",
                "title": "<string>",
                "stageType": "<string>",
                "difficulty": "<string>",
                "isCompleted": true,
                "createdAt": "2023-11-07T05:31:56Z",
                "score": 123
              }
            ]
          }
        ]
      },
      "offerNegotiationsCount": 123,
      "contactsCount": 123,
      "coverLettersCount": 123
    }
  },
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

_id
string
required

The user's unique identifier

Example:

"507f1f77bcf86cd799439011"

Response

User details response

data
object
required
success
boolean
required

Indicates if the request was successful