Customer Users
Get Customer User By ID
Forgot Password
Bulk Imports
Customer Users
Business
Business Details
Customer Users
Get Customer User By ID
Fetch details of a specific user associated with a customer.
GET
/
customers
/
{customerID}
/
users
/
{userID}
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": "dummy.customer.user@email.com",
"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": "INVITED",
"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"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Was this page helpful?
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": "dummy.customer.user@email.com",
"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": "INVITED",
"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"
}
}
}