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 needsMANAGE_TEAM_AGENT(orMANAGE_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 withSEAT_INSUFFICIENTif none are free).
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 onGET /v1.0/me,GET /v1.0/users/{userId}, andGET /v1.0/members(both the paginated list and single-account lookup).licenseIdis now deprecated in favor oflicenses.
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/transactionsgains atransactionTypequery parameter to filter by type, orAllto return every type in one call. Defaults toPurchase; an unrecognized value now returns400(20012 INVALID_PARAMETER).