List users
https://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.
For portal integrations, contact information depends on each company’s configuration and what it chooses to share. Confirm the agency’s display preferences and handle unavailable names, email addresses or phone numbers. For the contact shown on a specific listing, use that listing’s detail response.
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
curl --request GET \
--url 'https://secure.alterestate.com/api/v1/agents/' \
--header 'aetoken: your_public_token' \
--header 'Accept: application/json'Example response
[
{
"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"
}
]{
"detail": "A server error occurred."
}Response fields
| Field | Description |
|---|---|
| uid | User identifier. Use it in related (Create a lead) and agents (List properties). |
| slug | Public profile slug. |
| full_name, email, phone | Contact details. phone uses E.164. |
| position, team, division | Role and organization inside the agency. |
| priority | Display order set by the agency. Results are sorted by it. |
| avatar, bio | Profile photo URL and biography. bio may contain HTML; sanitize it before rendering. |
| facebook_username, instagram_username | Social profiles, when set. |
| rate | Average rating from testimonials, or null. |
| properties | Number of listings assigned to the user. |
| company, company_domain | Agency 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
| Status | Meaning |
|---|---|
| 200 | The request succeeded. |
| 400 | A parameter or the body is invalid. The response names the field. |
| 404 | The aetoken is missing or invalid, or the resource does not exist. A missing or invalid aetoken returns {"data": "None", "error": "Not found.", "status": "404"}. |
| 429 | Too many requests. Wait and retry. |
| 500 | Server 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? Emaildev@alterestate.com.