Skip to content
AlterEstate

List users

GEThttps://secure.alterestate.com/api/v1/agents/

Returns your agency’s active users (agents) that are shown on the website, with contact details, team, division and number of listings.


Authentication

Send aetoken: your_public_token. Public token. Settings → Public API Token (administrators only).


Query parameters

full_namestring
Matches first or last name.Example: John
positionstring
Exact position, for example Real estate agent.
divisionnumber
Division ID.

Example request

GET
curl --request GET \
  --url 'https://secure.alterestate.com/api/v1/agents/' \
  --header 'aetoken: your_public_token' \
  --header 'Accept: application/json'

Example response

200 OK
[
  {
    "id": 67,
    "uid": "ABCDEFGHJKLM",
    "slug": "john-doe",
    "first_name": "John",
    "last_name": "Doe",
    "full_name": "John Doe",
    "email": "johndoe@agency.com",
    "phone": "+14070000000",
    "priority": 0,
    "position": "Real estate agent",
    "avatar": "https://d2p0bx8wfdkjkb.cloudfront.net/static/user-67/avatar.png",
    "division": "Santo Domingo",
    "facebook_username": "agencydr",
    "instagram_username": "agency",
    "rate": null,
    "team": "Downtown team",
    "user_type": "1",
    "company": "Demo Realty",
    "bio": "<p>Specialist in Naco and Piantini.</p>",
    "properties": 67,
    "company_domain": "demo.alterestate.com"
  }
]
500 Server Error
{
  "detail": "A server error occurred."
}

Response fields

FieldDescription
uidUser identifier. Use it in related (Create a lead) and agents (List properties).
slugPublic profile slug.
full_name, email, phoneContact details. phone uses E.164.
position, team, divisionRole and organization inside the agency.
priorityDisplay order set by the agency. Results are sorted by it.
avatar, bioProfile photo URL and biography. bio may contain HTML; sanitize it before rendering.
facebook_username, instagram_usernameSocial profiles, when set.
rateAverage rating from testimonials, or null.
propertiesNumber of listings assigned to the user.
company, company_domainAgency name and website domain.

Notes

  • Only active users with Show on website enabled are returned.
  • Results are a plain array, not paginated.
  • Franchises configured to share agents return users from every agency in the organization.

Status codes

StatusMeaning
200The request succeeded.
400A parameter or the body is invalid. The response names the field.
401The token is missing or invalid.
404The resource or route does not exist.
429Too many requests. Wait and retry.
500Server error while processing the request.

Frequently asked questions

Does the AlterEstate users endpoint return inactive users?

No. GET /api/v1/agents/ only returns active users who are shown on the agency website.

Where do I get the public token for the users endpoint?

An administrator copies it from Settings → Public API Token in the AlterEstate dashboard, and you send it in the aetoken header.

Last updated . Questions? Emailengineering@alterestate.com.