Codat
Finance Encoded API keyPull accounting, banking and commerce data from the platforms your customers have connected through Codat, from any Windmill script, flow or app.
Set up in 3 steps
Copy the auth header value
In the Codat portal, open Developers then API keys. Codat shows the ready-made Authorization header — take the base64 string after the word Basic, not the raw key.
Add the resource in Windmill
Open Resources, add a resource of type codat, and paste that string into encodedKey.
Run your first script
Fork any script below and read before writing anything. There are hundreds here, so search by the verb you need.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Upload transfer attachment
Upload invoice attachment
Upload files for a company
Upload direct cost attachment
Upload data
Upload bill credit note attachment
Upload bill attachment
Upload attachment
Update the visible accounts on sync flow
Update source account
Update profile
Update preferences for text fields on sync flow
Update expense transactions
Update data connection
Update company
Update authorization
Update all sync settings
Unlink connection
Sync range
Sync new
Start upload session
Set upload configuration
Set configuration
Set company configuration
Set CORS settings (old)
Set CORS settings
Rotate Zapier key
Retrieve sync flow url
Retrieve preferences for text fields on sync flow
Retrieve config preferences set for a company
Resource type
codat — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| encodedKey | string | Yes | Encoded API key retrieved from the dashboard. |
Questions
Why encodedKey and not the key itself?
Codat authenticates over HTTP Basic, and this field holds the already base64-encoded value the portal gives you. Pasting the raw key fails.
A company returns no data
Codat reads through connections your customers authorised. If the company has no linked connection, or it has expired, there is nothing to read.
Is my key stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.