Skip to main content
Use this endpoint to fetch the complete profile of a specific team member on your Shogun account. You identify the member by their user_id and receive their name, email, current role assignment, activation status, and login history.

Endpoint

POST /api/v1/auth/web/get_member_detail

Authentication

This endpoint requires a valid Dashboard JWT. Pass the token in the Authorization header:
Authorization: Bearer <access_token>

Request Body

user_id
string (UUID)
required
The unique identifier of the team member whose details you want to retrieve. You can obtain member IDs from the Fetch Members endpoint.

Response

{
  "status": true,
  "response_code": "00",
  "message": "Team member detail fetched successfully",
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "email": "jane.doe@example.com",
    "first_name": "Jane",
    "last_name": "Doe",
    "user_role_id": "r1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "is_active": true,
    "last_login": "2026-04-15T09:30:00Z",
    "date_joined": "2026-01-10T08:00:00Z"
  }
}
FieldTypeDescription
idUUIDUnique identifier for the team member
emailstringEmail address of the team member
first_namestringMember’s first name
last_namestringMember’s last name
user_role_idUUIDID of the role currently assigned to the member
is_activebooleanWhether the member’s account is currently active
last_logindatetimeTimestamp of the member’s most recent login (null if never logged in)
date_joineddatetimeTimestamp of when the member joined the account

Example

curl -X POST https://baasapi.payrepmfb.com/api/v1/auth/web/get_member_detail \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "user_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }'