Make your first request
You’ll need a Windmill workspace membership, an API key, andcurl.
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.200 with employees and pagination directly, without a data wrapper. An empty workspace returns:
pagination.hasMore is true, request the next page. If the request fails, use the error troubleshooting guide.
Build your integration
- Search employee profiles and get an employee to read org-chart data.
- Create an employee or update a profile with a read/write key and the required workspace permissions.
- List available field sources before configuring ownership. The field-source guide explains the product concept.
- List groups to discover the groups your credentials can access.
- Search stat definitions to find the stats you can read, then search employee stat series for a date range. To add your own data, create a custom stat definition and upload its values. The stats reference lists every stat Windmill tracks.
- Create or replace activities to send events from your own systems, such as scored sales calls, so Windy can use them as evidence. Then search activities to read them back. The activities overview explains types, resends, and access.