> ## Documentation Index
> Fetch the complete documentation index at: https://docs.windermere.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List agents



## OpenAPI

````yaml /api-reference/v2/openapi.json get /agents
openapi: 3.0.3
info:
  title: Windermere Atlas API
  description: V2 data API — Project Atlas
  version: 2.0.0
servers:
  - url: https://api.windermere.com/v2/api
security:
  - bearerAuth: []
tags:
  - name: agents
    description: Agent profile read endpoints
  - name: offices
    description: Office read endpoints
  - name: teams
    description: Team read endpoints
  - name: listings
    description: Listings (RESO Data Dictionary Property records; active + sold)
  - name: reso
    description: >-
      RESO Web API Core (OData 4.0) facade over listings — Property, Media,
      OpenHouse, Lookup
  - name: brokerages
    description: Brokerage read endpoints
  - name: regions
    description: Region read endpoints
  - name: dnc
    description: Do-not-contact list read endpoints
  - name: directory
    description: Denormalized public directory (partner-safe)
  - name: webhooks
    description: Partner webhook subscriptions (partner-only)
  - name: health
    description: Liveness and readiness probes
paths:
  /agents:
    get:
      tags:
        - agents
      summary: List agents
      parameters:
        - schema:
            type: integer
            minimum: 1
            maximum: 200
          in: query
          name: limit
          required: false
        - schema:
            type: string
          in: query
          name: cursor
          required: false
        - schema:
            type: string
            format: date-time
          in: query
          name: updatedSince
          required: false
        - schema:
            anyOf:
              - type: boolean
              - type: string
                enum:
                  - 'true'
                  - 'false'
            default: false
          in: query
          name: includeInactive
          required: false
        - schema:
            type: string
          in: query
          name: fields
          required: false
        - schema:
            type: string
            maxLength: 120
          in: query
          name: q
          required: false
          description: >-
            Free-text search (case-insensitive). Whitespace splits the value
            into tokens; a row matches when EVERY token matches at least one of
            these fields (substring): firstName, lastName, primaryEmailAddress,
            mlsAgentId, primaryOffice.name, primaryOffice.commonName,
            secondaryOffices[].name, secondaryOffices[].commonName. Tokens are
            ANDed, fields are ORed — e.g. ?q=jane smith. Combines with all other
            filters.
        - schema:
            type: string
          in: query
          name: sort
          required: false
        - schema:
            type: string
          in: query
          name: include
          required: false
        - schema:
            type: integer
            minimum: 1
          in: query
          name: page
          required: false
        - schema:
            type: integer
            minimum: 1
            maximum: 200
          in: query
          name: pageSize
          required: false
        - schema:
            anyOf:
              - type: boolean
              - type: string
                enum:
                  - 'true'
                  - 'false'
            default: false
          in: query
          name: withTotal
          required: false
        - schema:
            type: string
            format: uuid
          in: query
          name: officeId
          required: false
        - schema:
            type: string
            format: uuid
          in: query
          name: secondaryOfficeId
          required: false
        - schema:
            type: string
            format: uuid
          in: query
          name: regionId
          required: false
        - schema:
            type: string
          in: query
          name: permissionLevel
          required: false
        - schema:
            type: string
            enum:
              - windermere
              - brokerage
          in: query
          name: smsConsent
          required: false
        - schema:
            anyOf:
              - type: boolean
              - type: string
                enum:
                  - 'true'
                  - 'false'
          in: query
          name: officeWoboOptOut
          required: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                anyOf:
                  - type: object
                    properties:
                      data:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            agentUuid:
                              type: string
                              nullable: true
                            sourceAgentId:
                              type: string
                              nullable: true
                            firstName:
                              type: string
                            lastName:
                              type: string
                            displayName:
                              type: string
                              nullable: true
                            externalPartnerIds:
                              type: array
                              items:
                                type: object
                                properties:
                                  partnerName:
                                    type: string
                                  partnerId:
                                    type: string
                                required:
                                  - partnerName
                                  - partnerId
                                additionalProperties: false
                              description: >-
                                Partner-system identifiers. Filtered by:
                                partnerIdsFilter (staff see all; partners see
                                entries matching their canonical partner_name
                                and any granted_names).
                            primaryOfficeId:
                              type: string
                              format: uuid
                            primaryEmailAddress:
                              type: string
                              nullable: true
                            signInUpn:
                              type: string
                              nullable: true
                            secondaryEmailAddress:
                              type: string
                              nullable: true
                            leadRoutingEmailAddress:
                              type: string
                              nullable: true
                            emailAddresses:
                              type: object
                              properties:
                                primary:
                                  type: string
                                  nullable: true
                                display:
                                  type: string
                                  nullable: true
                                alternate:
                                  type: string
                                  nullable: true
                                moxiSync:
                                  type: string
                                  nullable: true
                                zillow:
                                  type: string
                                  nullable: true
                                leadRouting:
                                  type: string
                                  nullable: true
                              additionalProperties:
                                type: string
                                nullable: true
                            emailAliases:
                              type: array
                              items:
                                type: string
                            mainPhoneNumber:
                              type: string
                              nullable: true
                            mobilePhoneNumber:
                              type: string
                              nullable: true
                            altPhoneNumber:
                              type: string
                              nullable: true
                            faxPhoneNumber:
                              type: string
                              nullable: true
                            mlsAgentId:
                              type: string
                              nullable: true
                            license:
                              type: string
                              nullable: true
                            licenseState:
                              type: string
                              nullable: true
                            mlsName:
                              type: string
                              nullable: true
                            mlsAbbreviation:
                              type: string
                              nullable: true
                            availableMls:
                              type: array
                              items:
                                type: object
                                properties:
                                  name:
                                    type: string
                                  displayName:
                                    type: string
                                    nullable: true
                                  mlsAbbreviation:
                                    type: string
                                    nullable: true
                                  agentId:
                                    type: string
                                    nullable: true
                                required:
                                  - name
                                additionalProperties: false
                            licenseStartDate:
                              type: string
                              nullable: true
                            licenseRenewalDate:
                              type: string
                              nullable: true
                            title:
                              type: string
                              nullable: true
                            designations:
                              type: string
                              nullable: true
                            bio:
                              type: string
                              nullable: true
                            languages:
                              type: array
                              items:
                                type: string
                            serviceAreaZipCodes:
                              type: array
                              items:
                                type: string
                            areasOfService:
                              type: string
                              nullable: true
                            profileImageUrl:
                              type: string
                              nullable: true
                            profileThumbUrl:
                              type: string
                              nullable: true
                            profileImageUrls:
                              type: object
                              additionalProperties:
                                type: string
                            social:
                              type: object
                              additionalProperties:
                                type: string
                                nullable: true
                            homePage:
                              type: string
                              nullable: true
                            websiteBaseUrl:
                              type: string
                              nullable: true
                            permissionLevel:
                              type: string
                            viewLevel:
                              type: string
                              nullable: true
                            role:
                              type: string
                              nullable: true
                            hasProductAccess:
                              type: boolean
                            productAccess:
                              type: object
                              additionalProperties: {}
                            profileVisibleOnline:
                              type: boolean
                            includeInApi:
                              type: boolean
                            tags:
                              type: array
                              items:
                                type: string
                            directoryCategory:
                              type: string
                              nullable: true
                            region:
                              type: object
                              properties:
                                id:
                                  type: string
                                  format: uuid
                                name:
                                  type: string
                              required:
                                - id
                                - name
                              additionalProperties: false
                              nullable: true
                            changeLogSummary:
                              type: array
                              items:
                                type: object
                                properties:
                                  changedAt:
                                    type: string
                                  actorId:
                                    type: string
                                  fieldPath:
                                    type: string
                                  oldValue: {}
                                  newValue: {}
                                required:
                                  - changedAt
                                  - actorId
                                  - fieldPath
                                additionalProperties: false
                              description: >-
                                Requires scope: agents.audit.read (staff trusted
                                by default).
                            emergencyContactName:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            emergencyContactPhone:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            dietaryRestrictions:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            childrenAndPets:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            birthday:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            namePronunciation:
                              type: string
                              nullable: true
                            hireDate:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            importantDates:
                              type: array
                              items:
                                type: object
                                properties:
                                  label:
                                    type: string
                                  date:
                                    type: string
                                required:
                                  - label
                                  - date
                                additionalProperties: false
                              description: >-
                                Additional labelled dates (e.g. a role-change
                                start). Requires scope: agents.read.internal
                                (staff trusted by default).
                            archetype:
                              type: object
                              properties:
                                name:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                                businessApproach:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                                goalOrientation:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                                techReadiness:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                                confidence:
                                  type: string
                                  enum:
                                    - HIGH
                                    - MEDIUM
                                    - LOW
                                    - INSUFFICIENT_DATA
                                managerFit:
                                  type: string
                                  enum:
                                    - FITS
                                    - PARTIAL
                                assessedAt:
                                  type: string
                                  format: date-time
                                assessedByAgentId:
                                  type: string
                                  format: uuid
                                  nullable: true
                                  default: null
                                source:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                                recordId:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                                questionnaireVersion:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                                scoringVersion:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                              required:
                                - confidence
                                - managerFit
                                - assessedAt
                              additionalProperties: false
                              nullable: true
                              description: >-
                                Current Business Boost archetype (MCP-written).
                                Staff-only, never shown to the agent: returned
                                ONLY when explicitly projected with
                                `includeInternal=true&fields=archetype`.
                                Partners need agents.read.internal.
                            priorBrokerage:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            agentSubscriptions:
                              type: array
                              items:
                                type: string
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            internalNotes:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            notificationPreferences:
                              type: object
                              properties:
                                newLeads:
                                  type: boolean
                                showingRequests:
                                  type: boolean
                                channel:
                                  type: string
                                  enum:
                                    - email
                                    - sms
                                    - none
                              additionalProperties: true
                              nullable: true
                            createdAt:
                              type: string
                              format: date-time
                            deactivatedAt:
                              type: string
                              format: date-time
                              nullable: true
                            tosAcceptedAt:
                              type: string
                              format: date-time
                              nullable: true
                            officeWoboOptOut:
                              type: boolean
                            officeWoboOptedOutAt:
                              type: string
                              format: date-time
                              nullable: true
                            smsConsent:
                              type: object
                              properties:
                                windermere:
                                  type: object
                                  properties:
                                    granted:
                                      type: boolean
                                    at:
                                      type: string
                                      format: date-time
                                    textVersion:
                                      type: string
                                  required:
                                    - granted
                                    - at
                                    - textVersion
                                  additionalProperties: false
                                  nullable: true
                                brokerage:
                                  type: object
                                  properties:
                                    granted:
                                      type: boolean
                                    at:
                                      type: string
                                      format: date-time
                                    textVersion:
                                      type: string
                                  required:
                                    - granted
                                    - at
                                    - textVersion
                                  additionalProperties: false
                                  nullable: true
                              required:
                                - windermere
                                - brokerage
                              additionalProperties: false
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal for
                                partners (staff trusted by default).
                            lastUpdatedAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            reactivationHistory:
                              type: array
                              items:
                                type: object
                                properties:
                                  reactivatedAt:
                                    type: number
                                  deactivatedAt:
                                    type: number
                                  reactivatedBy:
                                    type: string
                                    nullable: true
                                required:
                                  - reactivatedAt
                                  - deactivatedAt
                                additionalProperties: false
                            companyId:
                              type: string
                              nullable: true
                            facebookAccountId:
                              type: string
                              nullable: true
                            alternateInternalOfficeId:
                              type: string
                              nullable: true
                            primaryOffice:
                              type: object
                              properties:
                                id:
                                  type: string
                                  format: uuid
                                name:
                                  type: string
                                commonName:
                                  type: string
                                  nullable: true
                              required:
                                - id
                                - name
                                - commonName
                              additionalProperties: false
                              nullable: true
                            secondaryOffices:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    format: uuid
                                  name:
                                    type: string
                                  commonName:
                                    type: string
                                    nullable: true
                                  displayInDirectory:
                                    type: boolean
                                required:
                                  - id
                                  - name
                                  - commonName
                                  - displayInDirectory
                                additionalProperties: false
                            brokerage:
                              type: object
                              properties:
                                id:
                                  type: string
                                  format: uuid
                                name:
                                  type: string
                              required:
                                - id
                                - name
                              additionalProperties: false
                              nullable: true
                            teams:
                              type: array
                              items:
                                type: object
                                properties:
                                  teamId:
                                    type: string
                                    format: uuid
                                  name:
                                    type: string
                                  role:
                                    type: string
                                  memberCount:
                                    type: integer
                                    minimum: 0
                                required:
                                  - teamId
                                  - name
                                  - role
                                  - memberCount
                                additionalProperties: false
                            delegateAccess:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    format: uuid
                                  name:
                                    type: string
                                  status:
                                    type: string
                                    enum:
                                      - active
                                      - pending
                                  via:
                                    anyOf:
                                      - type: object
                                        properties:
                                          grant:
                                            type: object
                                            properties:
                                              grantId:
                                                type: string
                                                format: uuid
                                            required:
                                              - grantId
                                            additionalProperties: false
                                        required:
                                          - grant
                                        additionalProperties: false
                                      - type: object
                                        properties:
                                          office:
                                            type: object
                                            properties:
                                              id:
                                                type: string
                                                format: uuid
                                              name:
                                                type: string
                                            required:
                                              - id
                                              - name
                                            additionalProperties: false
                                        required:
                                          - office
                                        additionalProperties: false
                                required:
                                  - id
                                  - name
                                  - status
                                  - via
                                additionalProperties: false
                            officeWoboAccessors:
                              type: array
                              items:
                                type: object
                                properties:
                                  agentId:
                                    type: string
                                    format: uuid
                                  name:
                                    type: string
                                  email:
                                    type: string
                                    nullable: true
                                  permissionLevel:
                                    type: string
                                  bucket:
                                    type: string
                                    enum:
                                      - staff
                                      - manager
                                      - owner
                                  via:
                                    type: string
                                    enum:
                                      - primary
                                      - secondary
                                  office:
                                    type: object
                                    properties:
                                      id:
                                        type: string
                                        format: uuid
                                      name:
                                        type: string
                                    required:
                                      - id
                                      - name
                                    additionalProperties: false
                                required:
                                  - agentId
                                  - name
                                  - email
                                  - permissionLevel
                                  - bucket
                                  - via
                                  - office
                                additionalProperties: false
                          additionalProperties: false
                      nextCursor:
                        type: string
                        nullable: true
                      totalCount:
                        type: integer
                        nullable: true
                    required:
                      - data
                      - nextCursor
                      - totalCount
                    additionalProperties: false
                  - type: object
                    properties:
                      data:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            agentUuid:
                              type: string
                              nullable: true
                            sourceAgentId:
                              type: string
                              nullable: true
                            firstName:
                              type: string
                            lastName:
                              type: string
                            displayName:
                              type: string
                              nullable: true
                            externalPartnerIds:
                              type: array
                              items:
                                type: object
                                properties:
                                  partnerName:
                                    type: string
                                  partnerId:
                                    type: string
                                required:
                                  - partnerName
                                  - partnerId
                                additionalProperties: false
                              description: >-
                                Partner-system identifiers. Filtered by:
                                partnerIdsFilter (staff see all; partners see
                                entries matching their canonical partner_name
                                and any granted_names).
                            primaryOfficeId:
                              type: string
                              format: uuid
                            primaryEmailAddress:
                              type: string
                              nullable: true
                            signInUpn:
                              type: string
                              nullable: true
                            secondaryEmailAddress:
                              type: string
                              nullable: true
                            leadRoutingEmailAddress:
                              type: string
                              nullable: true
                            emailAddresses:
                              type: object
                              properties:
                                primary:
                                  type: string
                                  nullable: true
                                display:
                                  type: string
                                  nullable: true
                                alternate:
                                  type: string
                                  nullable: true
                                moxiSync:
                                  type: string
                                  nullable: true
                                zillow:
                                  type: string
                                  nullable: true
                                leadRouting:
                                  type: string
                                  nullable: true
                              additionalProperties:
                                type: string
                                nullable: true
                            emailAliases:
                              type: array
                              items:
                                type: string
                            mainPhoneNumber:
                              type: string
                              nullable: true
                            mobilePhoneNumber:
                              type: string
                              nullable: true
                            altPhoneNumber:
                              type: string
                              nullable: true
                            faxPhoneNumber:
                              type: string
                              nullable: true
                            mlsAgentId:
                              type: string
                              nullable: true
                            license:
                              type: string
                              nullable: true
                            licenseState:
                              type: string
                              nullable: true
                            mlsName:
                              type: string
                              nullable: true
                            mlsAbbreviation:
                              type: string
                              nullable: true
                            availableMls:
                              type: array
                              items:
                                type: object
                                properties:
                                  name:
                                    type: string
                                  displayName:
                                    type: string
                                    nullable: true
                                  mlsAbbreviation:
                                    type: string
                                    nullable: true
                                  agentId:
                                    type: string
                                    nullable: true
                                required:
                                  - name
                                additionalProperties: false
                            licenseStartDate:
                              type: string
                              nullable: true
                            licenseRenewalDate:
                              type: string
                              nullable: true
                            title:
                              type: string
                              nullable: true
                            designations:
                              type: string
                              nullable: true
                            bio:
                              type: string
                              nullable: true
                            languages:
                              type: array
                              items:
                                type: string
                            serviceAreaZipCodes:
                              type: array
                              items:
                                type: string
                            areasOfService:
                              type: string
                              nullable: true
                            profileImageUrl:
                              type: string
                              nullable: true
                            profileThumbUrl:
                              type: string
                              nullable: true
                            profileImageUrls:
                              type: object
                              additionalProperties:
                                type: string
                            social:
                              type: object
                              additionalProperties:
                                type: string
                                nullable: true
                            homePage:
                              type: string
                              nullable: true
                            websiteBaseUrl:
                              type: string
                              nullable: true
                            permissionLevel:
                              type: string
                            viewLevel:
                              type: string
                              nullable: true
                            role:
                              type: string
                              nullable: true
                            hasProductAccess:
                              type: boolean
                            productAccess:
                              type: object
                              additionalProperties: {}
                            profileVisibleOnline:
                              type: boolean
                            includeInApi:
                              type: boolean
                            tags:
                              type: array
                              items:
                                type: string
                            directoryCategory:
                              type: string
                              nullable: true
                            region:
                              type: object
                              properties:
                                id:
                                  type: string
                                  format: uuid
                                name:
                                  type: string
                              required:
                                - id
                                - name
                              additionalProperties: false
                              nullable: true
                            changeLogSummary:
                              type: array
                              items:
                                type: object
                                properties:
                                  changedAt:
                                    type: string
                                  actorId:
                                    type: string
                                  fieldPath:
                                    type: string
                                  oldValue: {}
                                  newValue: {}
                                required:
                                  - changedAt
                                  - actorId
                                  - fieldPath
                                additionalProperties: false
                              description: >-
                                Requires scope: agents.audit.read (staff trusted
                                by default).
                            emergencyContactName:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            emergencyContactPhone:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            dietaryRestrictions:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            childrenAndPets:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            birthday:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            namePronunciation:
                              type: string
                              nullable: true
                            hireDate:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            importantDates:
                              type: array
                              items:
                                type: object
                                properties:
                                  label:
                                    type: string
                                  date:
                                    type: string
                                required:
                                  - label
                                  - date
                                additionalProperties: false
                              description: >-
                                Additional labelled dates (e.g. a role-change
                                start). Requires scope: agents.read.internal
                                (staff trusted by default).
                            archetype:
                              type: object
                              properties:
                                name:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                                businessApproach:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                                goalOrientation:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                                techReadiness:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                                confidence:
                                  type: string
                                  enum:
                                    - HIGH
                                    - MEDIUM
                                    - LOW
                                    - INSUFFICIENT_DATA
                                managerFit:
                                  type: string
                                  enum:
                                    - FITS
                                    - PARTIAL
                                assessedAt:
                                  type: string
                                  format: date-time
                                assessedByAgentId:
                                  type: string
                                  format: uuid
                                  nullable: true
                                  default: null
                                source:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                                recordId:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                                questionnaireVersion:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                                scoringVersion:
                                  type: string
                                  minLength: 1
                                  nullable: true
                                  default: null
                              required:
                                - confidence
                                - managerFit
                                - assessedAt
                              additionalProperties: false
                              nullable: true
                              description: >-
                                Current Business Boost archetype (MCP-written).
                                Staff-only, never shown to the agent: returned
                                ONLY when explicitly projected with
                                `includeInternal=true&fields=archetype`.
                                Partners need agents.read.internal.
                            priorBrokerage:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            agentSubscriptions:
                              type: array
                              items:
                                type: string
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            internalNotes:
                              type: string
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal (staff
                                trusted by default).
                            notificationPreferences:
                              type: object
                              properties:
                                newLeads:
                                  type: boolean
                                showingRequests:
                                  type: boolean
                                channel:
                                  type: string
                                  enum:
                                    - email
                                    - sms
                                    - none
                              additionalProperties: true
                              nullable: true
                            createdAt:
                              type: string
                              format: date-time
                            deactivatedAt:
                              type: string
                              format: date-time
                              nullable: true
                            tosAcceptedAt:
                              type: string
                              format: date-time
                              nullable: true
                            officeWoboOptOut:
                              type: boolean
                            officeWoboOptedOutAt:
                              type: string
                              format: date-time
                              nullable: true
                            smsConsent:
                              type: object
                              properties:
                                windermere:
                                  type: object
                                  properties:
                                    granted:
                                      type: boolean
                                    at:
                                      type: string
                                      format: date-time
                                    textVersion:
                                      type: string
                                  required:
                                    - granted
                                    - at
                                    - textVersion
                                  additionalProperties: false
                                  nullable: true
                                brokerage:
                                  type: object
                                  properties:
                                    granted:
                                      type: boolean
                                    at:
                                      type: string
                                      format: date-time
                                    textVersion:
                                      type: string
                                  required:
                                    - granted
                                    - at
                                    - textVersion
                                  additionalProperties: false
                                  nullable: true
                              required:
                                - windermere
                                - brokerage
                              additionalProperties: false
                              nullable: true
                              description: >-
                                Requires scope: agents.read.internal for
                                partners (staff trusted by default).
                            lastUpdatedAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                            reactivationHistory:
                              type: array
                              items:
                                type: object
                                properties:
                                  reactivatedAt:
                                    type: number
                                  deactivatedAt:
                                    type: number
                                  reactivatedBy:
                                    type: string
                                    nullable: true
                                required:
                                  - reactivatedAt
                                  - deactivatedAt
                                additionalProperties: false
                            companyId:
                              type: string
                              nullable: true
                            facebookAccountId:
                              type: string
                              nullable: true
                            alternateInternalOfficeId:
                              type: string
                              nullable: true
                            primaryOffice:
                              type: object
                              properties:
                                id:
                                  type: string
                                  format: uuid
                                name:
                                  type: string
                                commonName:
                                  type: string
                                  nullable: true
                              required:
                                - id
                                - name
                                - commonName
                              additionalProperties: false
                              nullable: true
                            secondaryOffices:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    format: uuid
                                  name:
                                    type: string
                                  commonName:
                                    type: string
                                    nullable: true
                                  displayInDirectory:
                                    type: boolean
                                required:
                                  - id
                                  - name
                                  - commonName
                                  - displayInDirectory
                                additionalProperties: false
                            brokerage:
                              type: object
                              properties:
                                id:
                                  type: string
                                  format: uuid
                                name:
                                  type: string
                              required:
                                - id
                                - name
                              additionalProperties: false
                              nullable: true
                            teams:
                              type: array
                              items:
                                type: object
                                properties:
                                  teamId:
                                    type: string
                                    format: uuid
                                  name:
                                    type: string
                                  role:
                                    type: string
                                  memberCount:
                                    type: integer
                                    minimum: 0
                                required:
                                  - teamId
                                  - name
                                  - role
                                  - memberCount
                                additionalProperties: false
                            delegateAccess:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    format: uuid
                                  name:
                                    type: string
                                  status:
                                    type: string
                                    enum:
                                      - active
                                      - pending
                                  via:
                                    anyOf:
                                      - type: object
                                        properties:
                                          grant:
                                            type: object
                                            properties:
                                              grantId:
                                                type: string
                                                format: uuid
                                            required:
                                              - grantId
                                            additionalProperties: false
                                        required:
                                          - grant
                                        additionalProperties: false
                                      - type: object
                                        properties:
                                          office:
                                            type: object
                                            properties:
                                              id:
                                                type: string
                                                format: uuid
                                              name:
                                                type: string
                                            required:
                                              - id
                                              - name
                                            additionalProperties: false
                                        required:
                                          - office
                                        additionalProperties: false
                                required:
                                  - id
                                  - name
                                  - status
                                  - via
                                additionalProperties: false
                            officeWoboAccessors:
                              type: array
                              items:
                                type: object
                                properties:
                                  agentId:
                                    type: string
                                    format: uuid
                                  name:
                                    type: string
                                  email:
                                    type: string
                                    nullable: true
                                  permissionLevel:
                                    type: string
                                  bucket:
                                    type: string
                                    enum:
                                      - staff
                                      - manager
                                      - owner
                                  via:
                                    type: string
                                    enum:
                                      - primary
                                      - secondary
                                  office:
                                    type: object
                                    properties:
                                      id:
                                        type: string
                                        format: uuid
                                      name:
                                        type: string
                                    required:
                                      - id
                                      - name
                                    additionalProperties: false
                                required:
                                  - agentId
                                  - name
                                  - email
                                  - permissionLevel
                                  - bucket
                                  - via
                                  - office
                                additionalProperties: false
                          additionalProperties: false
                      page:
                        type: integer
                      pageSize:
                        type: integer
                      totalCount:
                        type: integer
                      totalPages:
                        type: integer
                    required:
                      - data
                      - page
                      - pageSize
                      - totalCount
                      - totalPages
                    additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Microsoft Entra ID JWT (staff) or OAuth2 client-credentials token issued
        by APIM (partners).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.