curl --request GET \
--url https://api.yourjobsearchgenius.ai/v1/customers/{_id} \
--header 'Authorization: Bearer <token>'{
"data": {
"_id": "507f1f77bcf86cd799439011",
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"accountStatus": "active",
"onboardingCompleted": true,
"createdAt": "2024-01-01T00:00:00Z",
"subscriptionId": "sub_123456789",
"subscriptionStatus": "active",
"autoLogin": {
"autoLoginUrl": "https://app.yourjobsearchgenius.ai/auto-login?code=abc123",
"autoLoginCode": "abc123"
},
"engagementStats": {
"resumesCount": 5,
"interviewsCount": 8,
"jobTracking": {
"totalJobs": 30,
"statusBreakdown": {
"applied": 15,
"interviewing": 5,
"offered": 2,
"rejected": 8
}
},
"mockInterviews": {
"totalInterviews": 8,
"interviews": [
{
"_id": "507f1f77bcf86cd799439013",
"title": "Software Engineer Interview",
"stageType": "technical",
"difficulty": "medium",
"isCompleted": true,
"createdAt": "2024-01-10T14:30:00Z",
"takeCount": 3,
"averageScore": 82.3,
"allTakes": [
{
"_id": "507f1f77bcf86cd799439012",
"title": "Software Engineer Interview",
"stageType": "technical",
"difficulty": "medium",
"isCompleted": true,
"createdAt": "2024-01-10T14:30:00Z",
"score": 85.5
}
]
}
]
},
"offerNegotiationsCount": 2,
"contactsCount": 12,
"coverLettersCount": 7
},
"lastLoginDate": "2024-01-15T10:30:00Z",
"subscriptionPackageName": "Premium Plan",
"subscriptionFrequency": "monthly",
"subscriptionCurrentPeriodEnd": "2024-02-01T00:00:00Z"
},
"success": true
}Retrieves detailed information about a specific customer including engagement statistics.
curl --request GET \
--url https://api.yourjobsearchgenius.ai/v1/customers/{_id} \
--header 'Authorization: Bearer <token>'{
"data": {
"_id": "507f1f77bcf86cd799439011",
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"accountStatus": "active",
"onboardingCompleted": true,
"createdAt": "2024-01-01T00:00:00Z",
"subscriptionId": "sub_123456789",
"subscriptionStatus": "active",
"autoLogin": {
"autoLoginUrl": "https://app.yourjobsearchgenius.ai/auto-login?code=abc123",
"autoLoginCode": "abc123"
},
"engagementStats": {
"resumesCount": 5,
"interviewsCount": 8,
"jobTracking": {
"totalJobs": 30,
"statusBreakdown": {
"applied": 15,
"interviewing": 5,
"offered": 2,
"rejected": 8
}
},
"mockInterviews": {
"totalInterviews": 8,
"interviews": [
{
"_id": "507f1f77bcf86cd799439013",
"title": "Software Engineer Interview",
"stageType": "technical",
"difficulty": "medium",
"isCompleted": true,
"createdAt": "2024-01-10T14:30:00Z",
"takeCount": 3,
"averageScore": 82.3,
"allTakes": [
{
"_id": "507f1f77bcf86cd799439012",
"title": "Software Engineer Interview",
"stageType": "technical",
"difficulty": "medium",
"isCompleted": true,
"createdAt": "2024-01-10T14:30:00Z",
"score": 85.5
}
]
}
]
},
"offerNegotiationsCount": 2,
"contactsCount": 12,
"coverLettersCount": 7
},
"lastLoginDate": "2024-01-15T10:30:00Z",
"subscriptionPackageName": "Premium Plan",
"subscriptionFrequency": "monthly",
"subscriptionCurrentPeriodEnd": "2024-02-01T00:00:00Z"
},
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The customer's unique identifier
"507f1f77bcf86cd799439011"
Customer details response
Show child attributes
ID of the customer (MongoDB ObjectId)
"507f1f77bcf86cd799439011"
The first name of the customer.
"John"
The last name of the customer.
"Doe"
Email address of the customer.
Current status of the customer account
active, inactive "active"
Whether the customer has completed onboarding
true
Date and time when the customer account was created
"2024-01-01T00:00:00Z"
Subscription ID in our system
"sub_123456789"
Current status of the customer's subscription
active, inactive, cancelled, expired "active"
Show child attributes
Total number of resumes
5
Total number of interviews
8
Show child attributes
Total number of tracked jobs
30
Show child attributes
Number of jobs applied to
15
Number of jobs in interviewing stage
5
Number of job offers received
2
Number of job rejections
8
Show child attributes
Total number of mock interviews
8
Array of mock interview objects
Show child attributes
ID of the mock interview
"507f1f77bcf86cd799439013"
Title of the interview
"Software Engineer Interview"
Type of interview stage
"technical"
Difficulty level of the interview
"medium"
Whether the interview is completed
true
Date when the interview was created
"2024-01-10T14:30:00Z"
Number of times this interview was taken
3
Average score across all takes
82.3
Array of all interview takes
Show child attributes
ID of the interview take
"507f1f77bcf86cd799439012"
Title of the interview
"Software Engineer Interview"
Type of interview stage
"technical"
Difficulty level of the interview
"medium"
Whether the interview is completed
true
Date when the interview was created
"2024-01-10T14:30:00Z"
Score achieved in this take
85.5
Total number of offer negotiations
2
Total number of contacts
12
Total number of cover letters
7
Date and time of the customer's last login
"2024-01-15T10:30:00Z"
Name of the subscription package
"Premium Plan"
Billing frequency of the subscription
monthly, yearly, weekly, daily "monthly"
End date of the current subscription period
"2024-02-01T00:00:00Z"
Indicates if the request was successful
true