Members
Team Members
Returns members of the caller’s team, optionally filtered by office / group IDs, with pagination metadata.
Notes:
- limit must not exceed the configured maximum; oversized values return 400 LIMIT_PARAM_OVERSIZE.
- offset < 0 is silently reset to 0.
- total in _metadata reflects the full result size before pagination.
- When groupIds is omitted, all members visible to the caller are returned.
GET
/
v1.0
/
members
Team Members
curl --request GET \
--url https://api.lofty.com/v1.0/members \
--header 'Authorization: <authorization>'import requests
url = "https://api.lofty.com/v1.0/members"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.lofty.com/v1.0/members', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lofty.com/v1.0/members",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lofty.com/v1.0/members"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.lofty.com/v1.0/members")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lofty.com/v1.0/members")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"get_metadata": {
"collection": "note",
"limit": 10,
"offset": 0,
"total": 50,
"scrollId": "<string>"
},
"members": [
{
"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>",
"layer": 123,
"childPath": "<string>"
},
"accountStatus": "<string>"
}
]
}"<string>""<string>""<string>""<string>"Headers
Bearer [access_token]
Query Parameters
Office / group IDs to filter members by. When omitted, all visible members are returned.
Zero-based index of the first entry to return. Values < 0 are silently reset to 0.
Required range:
x >= 0Number of entries to return per page.
Required range:
x >= 1⌘I
Team Members
curl --request GET \
--url https://api.lofty.com/v1.0/members \
--header 'Authorization: <authorization>'import requests
url = "https://api.lofty.com/v1.0/members"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.lofty.com/v1.0/members', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lofty.com/v1.0/members",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lofty.com/v1.0/members"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.lofty.com/v1.0/members")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lofty.com/v1.0/members")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"get_metadata": {
"collection": "note",
"limit": 10,
"offset": 0,
"total": 50,
"scrollId": "<string>"
},
"members": [
{
"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>",
"layer": 123,
"childPath": "<string>"
},
"accountStatus": "<string>"
}
]
}"<string>""<string>""<string>""<string>"