curl --request GET \
--url https://api.joinworth.com/auth/api/v1/customers/{customerID}/users/{userID} \
--header 'Authorization: Bearer <token>'{
"status": "success",
"message": "Success",
"data": {
"id": "94520740-d63c-4e02-85ca-c4e138801e73",
"first_name": "Sandbox",
"last_name": "CRO",
"email": "[email protected]",
"mobile": null,
"is_email_verified": false,
"is_first_login": true,
"created_at": "2024-02-12T14:16:49.053328",
"created_by": "b03d6f6a-063b-4e71-8195-9f6f590a6257",
"updated_at": "2024-02-12T14:16:49.053328",
"updated_by": "b03d6f6a-063b-4e71-8195-9f6f590a6257",
"status": "ACTIVE",
"company_details": {
"id": "2e6438cb-ec3f-4e94-b5c9-8c058d2efaf1",
"name": "Sandbox",
"contact_number": null,
"is_active": true,
"created_at": "2024-02-12T09:26:48.247698",
"created_by": "9e18e65b-8ab5-48fd-87ad-3b586146a00f",
"updated_at": "2024-02-12T09:26:48.247698",
"updated_by": "9e18e65b-8ab5-48fd-87ad-3b586146a00f"
},
"subrole": {
"id": "f1fa445c-743b-4a0e-ad54-bb9294c41005",
"code": "cro",
"label": "CRO",
"role_id": 2,
"display_name": "CRO"
}
}
}Fetch details of a specific user associated with a customer.
curl --request GET \
--url https://api.joinworth.com/auth/api/v1/customers/{customerID}/users/{userID} \
--header 'Authorization: Bearer <token>'{
"status": "success",
"message": "Success",
"data": {
"id": "94520740-d63c-4e02-85ca-c4e138801e73",
"first_name": "Sandbox",
"last_name": "CRO",
"email": "[email protected]",
"mobile": null,
"is_email_verified": false,
"is_first_login": true,
"created_at": "2024-02-12T14:16:49.053328",
"created_by": "b03d6f6a-063b-4e71-8195-9f6f590a6257",
"updated_at": "2024-02-12T14:16:49.053328",
"updated_by": "b03d6f6a-063b-4e71-8195-9f6f590a6257",
"status": "ACTIVE",
"company_details": {
"id": "2e6438cb-ec3f-4e94-b5c9-8c058d2efaf1",
"name": "Sandbox",
"contact_number": null,
"is_active": true,
"created_at": "2024-02-12T09:26:48.247698",
"created_by": "9e18e65b-8ab5-48fd-87ad-3b586146a00f",
"updated_at": "2024-02-12T09:26:48.247698",
"updated_by": "9e18e65b-8ab5-48fd-87ad-3b586146a00f"
},
"subrole": {
"id": "f1fa445c-743b-4a0e-ad54-bb9294c41005",
"code": "cro",
"label": "CRO",
"role_id": 2,
"display_name": "CRO"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
Show child attributes
Unique identifier for the user
"94520740-d63c-4e02-85ca-c4e138801e73"
First name of the user
Last name of the user
Email address of the user
Mobile phone number of the user, if provided
Whether the email address of the user has been verified
True if the user has not yet completed their first login flow
Timestamp when the user was created
ID of the actor who created this user
Timestamp of the last update to this user
ID of the actor who last updated this user
Active/Inactive state of user
ACTIVE, INACTIVE The company record of the customer associated with this user
Show child attributes
Unique identifier for the company
Company name
Company contact phone, if available
Whether the company account is active
Timestamp when the company was created
ID of who created the company record
Timestamp of last company record update
ID of who last updated the company record
The assigned subrole of the user
Show child attributes
Was this page helpful?