DatoCMS

Productivity API token

Create and update DatoCMS records, models and fields from any Windmill script, flow or app.

Set up in 3 steps

1

Copy a full-access API token

On the project page, open Project settings, then API tokens, and copy the full-access token — the read-only one cannot write.

2

Add the resource in Windmill

Open Resources, add a resource of type datocms, and paste the token.

3

Run your first script

Fork any script below and read before writing anything.

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

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

View raw schema →
FieldTypeRequiredWhat it is
apiKeystringYesAPI key obtained from the DatoCMS dashboard

Questions

Which token do I need?

The Content Management one, with full access. The read-only and the GraphQL delivery tokens serve published content and cannot change anything.

Which project does it act on?

The one the token belongs to — DatoCMS issues tokens per project. Managing several means a resource per project.

Is my key stored on the hub?

Never. It lives only in your own Windmill workspace, encrypted at rest.