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

# Introduction

> Get started with version 2 of the Windermere API: base URL, authentication, scopes, and errors.

> [!NOTE]
>
> If you don't have a Windermere API developer account yet, email [api@windermere.com](mailto:api@windermere.com) to request one.

Version 2 of the Windermere API gives you read access to Windermere agents, offices, teams, brokerages, and regions, plus active and sold listings.
It also includes a public agent directory, a RESO Web API (OData) feed for MLS-style integrations, and webhook subscriptions.

## Base URL

```text theme={null}
https://api.windermere.com/v2/api
```

## Authentication

V2 uses OAuth 2.0 bearer tokens. The V1 `x-api-key` header isn't accepted.

**1. Request API credentials**

Email [api@windermere.com](mailto:api@windermere.com) to request access. Windermere issues you a client ID and client secret, with the scopes your integration needs.

**2. Get an access token**

Exchange your credentials for an access token with the OAuth 2.0 client credentials grant:

```bash theme={null}
curl -X POST https://api.windermere.com/v2/api/token \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "grant_type=client_credentials" \
  -d "client_id=<client-id>" \
  -d "client_secret=<client-secret>" \
  -d "scope=api://wre-atlas-api/.default"
```

The response contains your token:

```json theme={null}
{ "access_token": "eyJ...", "token_type": "Bearer", "expires_in": 3599 }
```

Tokens last about an hour. When a request returns `401`, get a new token and retry.

**3. Call the API**

Send the token in the `Authorization` header on every request:

```bash theme={null}
curl "https://api.windermere.com/v2/api/agents?limit=25" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```

> [!WARNING]
>
> Keep your client secret on your server. Never send it to a browser or mobile app.

## Scopes

Each endpoint requires a scope. Windermere assigns scopes to your credentials, and they're carried on every token you request.
If your token is missing the scope an endpoint needs, the request fails with `403`.

| Scope | Grants |
| - | - |
| `agents.read` | Read agents |
| `offices.read` | Read offices |
| `teams.read` | Read teams |
| `brokerages.read` | Read brokerages |
| `regions.read` | Read regions |
| `listings.read` | Read active and sold listings, and the RESO Web API |
| `directory.read.public` | Read the public agent directory |
| `agents.partner-id.write` | Set your own partner ID on an agent |
| `offices.partner-id.write` | Set your own partner ID on an office |

By default, partner credentials can read data and set their own partner IDs. Other write endpoints, such as creating or updating agents and offices, require write scopes like `agents.write` and `offices.write`. Windermere grants these case by case.

To add a scope, email [api@windermere.com](mailto:api@windermere.com), then request a new token.

## Errors

| Status | Meaning |
| - | - |
| `400` | The request is invalid, for example an unknown `sort` field, a malformed cursor, or a bad date. The response body names the problem. |
| `401` | The token is missing, malformed, or expired. Get a new token. |
| `403` | The token is valid but lacks the scope this operation requires. |
| `404` | The record doesn't exist or isn't visible to you. |
| `409` | The request conflicts with existing data, for example a partner ID that matches more than one record. |

## Changes from V1

* **Authentication:** bearer tokens replace the `x-api-key` header.
* **Base URL:** V2 requests go to `https://api.windermere.com/v2/api`.
* **Pagination:** list endpoints use cursor pagination by default. See [Query resources](https://docs.windermere.com/api-reference/v2/guides/querying-resources.md).

V1 remains available. Use the version switcher to view the V1 reference.

## Next steps

> [card] [Query resources](https://docs.windermere.com/api-reference/v2/guides/querying-resources.md)
>
> Paginate, search, filter, sort, and cache.

> [card] [Listings](https://docs.windermere.com/api-reference/v2/guides/listings.md)
>
> Pull active and sold listings and keep them in sync.

> [card] [RESO Web API](https://docs.windermere.com/api-reference/v2/guides/reso-web-api.md)
>
> Replicate listings over OData.

> [card] [Partner IDs](https://docs.windermere.com/api-reference/v2/guides/partner-ids.md)
>
> Store your own IDs on agents and offices.


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