> ## 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.

# Create an agent



## OpenAPI

````yaml /api-reference/v2/openapi.json post /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:
    post:
      tags:
        - agents
      summary: Create an agent
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  format: uuid
                  description: >-
                    Optional primary key to create the agent with — by
                    convention the person's Microsoft Entra object id (OID), so
                    `agents.id` matches their sign-in identity. Staff/internal
                    apps only (403 `AGENT_ID_NOT_ALLOWED` for partners); 409
                    `AGENT_ID_EXISTS` when taken. Omit to get a server-generated
                    UUID. Create-only (not accepted by PATCH).
                firstName:
                  type: string
                  minLength: 1
                lastName:
                  type: string
                  minLength: 1
                primaryOfficeId:
                  type: string
                  format: uuid
                displayName:
                  type: string
                  nullable: true
                primaryEmailAddress:
                  type: string
                  minLength: 1
                signInUpn:
                  type: string
                  format: email
                  nullable: true
                permissionLevel:
                  type: string
                  minLength: 1
                agentUuid:
                  type: string
                  nullable: true
                sourceAgentId:
                  type: string
                  nullable: true
                externalPartnerIds:
                  type: array
                  items:
                    type: object
                    properties:
                      partnerName:
                        type: string
                      partnerId:
                        type: string
                    required:
                      - partnerName
                      - partnerId
                    additionalProperties: false
                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
                  pattern: ^\d{4}-\d{2}-\d{2}$
                  nullable: true
                licenseRenewalDate:
                  type: string
                  pattern: ^\d{4}-\d{2}-\d{2}$
                  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
                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
                  minLength: 1
                  maxLength: 50
                  nullable: true
                emergencyContactName:
                  type: string
                  nullable: true
                emergencyContactPhone:
                  type: string
                  nullable: true
                dietaryRestrictions:
                  type: string
                  nullable: true
                childrenAndPets:
                  type: string
                  nullable: true
                birthday:
                  type: string
                  pattern: ^\d{4}-\d{2}-\d{2}$
                  nullable: true
                namePronunciation:
                  type: string
                  nullable: true
                hireDate:
                  type: string
                  pattern: ^\d{4}-\d{2}-\d{2}$
                  nullable: true
                importantDates:
                  type: array
                  items:
                    type: object
                    properties:
                      label:
                        type: string
                        minLength: 1
                        maxLength: 60
                      date:
                        type: string
                        pattern: ^\d{4}-\d{2}-\d{2}$
                    required:
                      - label
                      - date
                    additionalProperties: false
                  maxItems: 50
                priorBrokerage:
                  type: string
                  nullable: true
                agentSubscriptions:
                  type: array
                  items:
                    type: string
                internalNotes:
                  type: string
                  nullable: true
                officeWoboOptOut:
                  type: boolean
                  description: >-
                    The agent opts their own account out of Office WOBO:
                    office-derived delegate access (`via.office`) never reaches
                    them while true. Person-to-person grants are unaffected.
                    `officeWoboOptedOutAt` is server-stamped when it becomes
                    true and cleared when false. Internal (not visible to
                    partners).
                notificationPreferences:
                  type: object
                  properties:
                    newLeads:
                      type: boolean
                    showingRequests:
                      type: boolean
                    channel:
                      type: string
                      enum:
                        - email
                        - sms
                        - none
                  additionalProperties: true
                  nullable: true
                reactivationHistory:
                  type: array
                  items:
                    type: object
                    properties:
                      reactivatedAt:
                        type: number
                      deactivatedAt:
                        type: number
                      reactivatedBy:
                        type: string
                        nullable: true
                    required:
                      - reactivatedAt
                      - deactivatedAt
                    additionalProperties: false
              required:
                - firstName
                - lastName
                - primaryOfficeId
                - primaryEmailAddress
                - permissionLevel
              additionalProperties: false
      responses:
        '201':
          description: Default Response
          content:
            application/json:
              schema:
                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
                required:
                  - id
                  - agentUuid
                  - sourceAgentId
                  - firstName
                  - lastName
                  - displayName
                  - externalPartnerIds
                  - primaryOfficeId
                  - primaryEmailAddress
                  - signInUpn
                  - secondaryEmailAddress
                  - leadRoutingEmailAddress
                  - emailAddresses
                  - emailAliases
                  - mainPhoneNumber
                  - mobilePhoneNumber
                  - altPhoneNumber
                  - faxPhoneNumber
                  - mlsAgentId
                  - license
                  - licenseState
                  - mlsName
                  - mlsAbbreviation
                  - availableMls
                  - licenseStartDate
                  - licenseRenewalDate
                  - title
                  - designations
                  - bio
                  - languages
                  - serviceAreaZipCodes
                  - areasOfService
                  - profileImageUrl
                  - profileThumbUrl
                  - profileImageUrls
                  - social
                  - homePage
                  - websiteBaseUrl
                  - permissionLevel
                  - viewLevel
                  - role
                  - hasProductAccess
                  - productAccess
                  - profileVisibleOnline
                  - includeInApi
                  - tags
                  - directoryCategory
                  - region
                  - createdAt
                  - deactivatedAt
                  - tosAcceptedAt
                  - officeWoboOptOut
                  - officeWoboOptedOutAt
                  - lastUpdatedAt
                  - updatedAt
                  - reactivationHistory
                  - companyId
                  - facebookAccountId
                  - alternateInternalOfficeId
                  - primaryOffice
                  - secondaryOffices
                  - brokerage
                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.