Skip to main content
GET
/
v1.0
/
users
/
{userId}
Get a team member by user ID (deprecated)
curl --request GET \
  --url https://api.lofty.com/v1.0/users/{userId} \
  --header 'Authorization: <authorization>'
{
  "id": 11,
  "teamId": 12345,
  "invitorUserId": 100001,
  "memberUserId": 100234,
  "role": 0,
  "roleName": "Agent",
  "firstLetter": "A",
  "email": "alice@example.com",
  "firstName": "Alice",
  "lastName": "Johnson",
  "phoneNumber": "+14155550199",
  "status": 1,
  "virtualNumber": "+14155550100",
  "newLeadCount": 5,
  "assignedLeadCount": 42,
  "isAdmin": false,
  "agentInfo": {
    "licenseId": "<string>",
    "position": "<string>",
    "companyName": "<string>",
    "companyAddress": "<string>",
    "mlsAgentId": "<string>",
    "agentPid": "<string>"
  },
  "timeZoneId": "America/Los_Angeles",
  "groupId": 12345,
  "groupName": "North Austin Office",
  "group": {
    "id": 123,
    "teamId": 123,
    "parentId": 123,
    "websiteOwnerId": 123,
    "name": "<string>",
    "type": 123,
    "phone": "<string>",
    "phoneCode": "<string>",
    "phoneCountry": "<string>",
    "email": "<string>",
    "city": "<string>",
    "state": "<string>",
    "zipcode": "<string>",
    "streetAddress": "<string>",
    "webSiteUrl": "<string>",
    "createTime": "2023-11-07T05:31:56Z",
    "updateTime": "2023-11-07T05:31:56Z",
    "path": "<string>",
    "showInSite": true,
    "defaultFlag": true,
    "allowManageSub": true,
    "agentCount": 123,
    "boundNumber": "<string>",
    "status": "ACTIVE",
    "layer": 123,
    "childPath": "<string>"
  },
  "accountStatus": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://developer.lofty.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
required

Bearer [access_token]

Path Parameters

userId
integer<int64>
required

User ID of the team member to retrieve.

Required range: x >= 1

Response

Team member retrieved successfully.

id
integer<int64>

Team-member record ID.

Example:

11

teamId
integer<int64>

ID of the team this member belongs to.

Example:

12345

invitorUserId
integer<int64>

User ID of the member who invited this member.

Example:

100001

memberUserId
integer<int64>

User ID of the team member.

Example:

100234

role
integer<int32>

Numeric role code.

Example:

0

roleName
string

Human-readable role name.

Example:

"Agent"

firstLetter
string

First letter of the member's name, used for alphabetic grouping.

Example:

"A"

email
string

Email address of the member.

Example:

"alice@example.com"

firstName
string

Given name of the member.

Example:

"Alice"

lastName
string

Family name of the member.

Example:

"Johnson"

phoneNumber
string

Phone number of the member.

Example:

"+14155550199"

status
integer<int32>

Numeric status code of the member.

Example:

1

virtualNumber
string

Virtual number assigned to the member for dialer features. Empty string when no virtual number is assigned.

Example:

"+14155550100"

newLeadCount
integer<int32>

Number of new (unassigned) leads routable to this member.

Example:

5

assignedLeadCount
integer<int32>

Number of leads currently assigned to this member.

Example:

42

isAdmin
boolean

Whether the member is an administrator of the team.

Example:

false

agentInfo
object

Additional agent profile details.

timeZoneId
string

IANA time zone identifier for the member.

Example:

"America/Los_Angeles"

groupId
integer<int64>

ID of the office / group this member belongs to.

Example:

12345

groupName
string

Name of the office / group this member belongs to.

Example:

"North Austin Office"

group
object
accountStatus
string