Codat

Finance Encoded API key

Pull 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

1

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.

2

Add the resource in Windmill

Open Resources, add a resource of type codat, and paste that string into encodedKey.

3

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.

Resource type

codat — the shape of the credential every script on this page expects.

View raw schema →
FieldTypeRequiredWhat it is
encodedKeystringYesEncoded 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.