> ## 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 the per-office roles held at an office

> Every `agent_office_roles` row for the office (one per agent), with the agent's name, primary office, primary email and `deactivatedAt` — including agents whose primary and additional offices are elsewhere. Active agents only unless `includeInactive=true`. Optional exact-match `role=` filter, repeatable (`role=staff&role=manager`). Unpaginated. 404 when the office doesn't exist. The by-office counterpart of `GET /agents/{agent_id}/office-roles`.



## OpenAPI

````yaml /api-reference/v2/openapi.json get /offices/{office_id}/office-roles
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:
  /offices/{office_id}/office-roles:
    get:
      tags:
        - offices
      summary: List the per-office roles held at an office
      description: >-
        Every `agent_office_roles` row for the office (one per agent), with the
        agent's name, primary office, primary email and `deactivatedAt` —
        including agents whose primary and additional offices are elsewhere.
        Active agents only unless `includeInactive=true`. Optional exact-match
        `role=` filter, repeatable (`role=staff&role=manager`). Unpaginated. 404
        when the office doesn't exist. The by-office counterpart of `GET
        /agents/{agent_id}/office-roles`.
      parameters:
        - schema:
            anyOf:
              - type: boolean
              - type: string
                enum:
                  - 'true'
                  - 'false'
            default: false
          in: query
          name: includeInactive
          required: false
        - schema:
            anyOf:
              - type: string
                minLength: 1
              - type: array
                items:
                  type: string
                  minLength: 1
          in: query
          name: role
          required: false
        - schema:
            type: string
            format: uuid
          in: path
          name: office_id
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        agentId:
                          type: string
                          format: uuid
                        role:
                          type: string
                        firstName:
                          type: string
                          nullable: true
                        lastName:
                          type: string
                          nullable: true
                        primaryOfficeId:
                          type: string
                          format: uuid
                          nullable: true
                        primaryEmailAddress:
                          type: string
                          nullable: true
                        deactivatedAt:
                          type: string
                          format: date-time
                          nullable: true
                      required:
                        - agentId
                        - role
                        - firstName
                        - lastName
                        - primaryOfficeId
                        - primaryEmailAddress
                        - deactivatedAt
                      additionalProperties: false
                required:
                  - data
                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.