Skip to main content
New endpointsField changes

Agents V2 — Deactivate / Reactivate

Added two endpoints for managing an agent’s lifecycle without losing their data:
  • POST /v2.0/agents/{agentId}/deactivate — Releases the agent’s license seat and revokes all sessions and access tokens, while leaving their leads, deals, and data untouched. The caller needs MANAGE_TEAM_AGENT (or MANAGE_TEAM_AGENT_DEPARTMENT); the target can’t be the team owner, an office owner, or the caller.
  • POST /v2.0/agents/{agentId}/reactivate — Restores a deactivated agent’s access and re-occupies a seat (fails with SEAT_INSUFFICIENT if none are free).
Both endpoints always return HTTP 200 once authenticated — check the response body’s code field (absent or 0 means success) rather than the status. See Error Codes for the full list of failure codes.

Agents — Multi-license support

Agents can now hold up to 5 real estate license entries instead of one:
  • licenses (array of {label, value}) is now returned on GET /v1.0/me, GET /v1.0/users/{userId}, and GET /v1.0/members (both the paginated list and single-account lookup).
  • licenseId is now deprecated in favor of licenses.

Transactions V2 — Pipeline discovery & type filtering

  • Added GET /v2.0/transactions/pipelines — Returns each transaction type’s (Purchase, Listing, Lease, Other) configured stages, so you can look up valid status values instead of hardcoding team-specific stage names.
  • GET /v2.0/transactions gains a transactionType query parameter to filter by type, or All to return every type in one call. Defaults to Purchase; an unrecognized value now returns 400 (20012 INVALID_PARAMETER).