User Detail
Retrieve details for a single team user or invitation.
GET
/api/v1/team-users/{id}Description
Fetches profile and invitation details.
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer <access_token> | Yes |
| Content-Type | application/json | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Pass the full value from the API response in path parameters. |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| activeinvite | number | No | 1 = look up active user first. |
Response
Top-level Fields
| Field | Type | Description |
|---|---|---|
| is_invitations_flag | boolean | True when user is an invitation record. |
| user | object | User or invitation details. See fields below. |
user Fields
| Field | Type | Description |
|---|---|---|
| user.id | string | null | User ID when the invitee has a registered account; null for pending invites. |
| user.email | string | User or invitee email address. |
| user.name | string | null | Display name when known. |
| user.country | string | Country code. |
| user.role | number | Corporate role: 1=Department head, 2=Manager, 3=Requester. |
| user.role_name | string | Human-readable role label. |
| user.account_status | string | Active, Inactive, or Pending. |
| user.is_blocked | number | 1 when the account is blocked/deactivated; 0 otherwise. |
| user.is_default_user | boolean | True for the company's default Unduit admin user. |
Related Endpoints
Did this page help you?
Request
curl -X GET https://uat.unduit.com/api-exposed/api/v1/team-users/9119562-42 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json"Success Response
{
"is_invitations_flag": false,
"user": {
"id": "9119562-42",
"email": "jane.smith@acme.com",
"name": "Jane Smith",
"country": "US",
"role": 3,
"role_name": "Requester",
"account_status": "Active",
"is_blocked": 0,
"is_default_user": false
}
}