Skip to main content
Use the Windmill API to read employee profiles, manage your org chart, configure employee field sources, work with groups and group categories, read and upload employee stats, and send activities from your own systems. Requests and responses use JSON. The endpoint reference is generated from Windmill’s public OpenAPI document.

Make your first request

You’ll need a Windmill workspace membership, an API key, and curl.
1

Create a read key

Open Settings → API keys, choose Create API key, and select Read access. Copy the key when it’s shown. Follow Authentication for permissions and secure storage.
2

Identify your workspace

In your Dashboard URL, copy the workspace slug after /s/. For example, /s/example-workspace/home uses example-workspace. You can use this slug for your first call. For a durable integration, use the stable company ID: call Get token information and copy company.id. See Making requests.
3

Search current employees

Set the variables below in your shell, replacing the placeholders locally. Employee searches use POST with JSON, even though they only read data.
A successful request returns HTTP 200 with employees and pagination directly, without a data wrapper. An empty workspace returns:
For a populated response, see Making requests. If pagination.hasMore is true, request the next page. If the request fails, use the error troubleshooting guide.

Build your integration

For an application that connects on behalf of a user, use OAuth. Before running a sync, review pagination, rate limits, and safe retries. Track API changes in the API changelog.