Clerk

Identity Secret key

Manage users, organizations, sessions and invitations in Clerk from any Windmill script, flow or app.

Set up in 3 steps

1

Copy your secret key

In the Clerk dashboard, open API Keys and reveal the secret key for the instance you want — development and production have different ones.

2

Add the resource in Windmill

Open Resources, add a resource of type clerk, and paste the key.

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.

Verify the proxy configuration for your domain

Script clerk Verified

Verify the password of a user

Script clerk Verified

Verify a session

Script clerk Verified

Verify a client

Script clerk Verified

Verify a TOTP or backup code for a user

Script clerk Verified

Upload a logo for the organization

Script clerk Verified

Update production instance domain

Script clerk Verified

Update instance settings

Script clerk Verified

Update instance restrictions

Script clerk Verified

Update instance organization settings

Script clerk Verified

Update an organization membership

Script clerk Verified

Update an organization domain.

Script clerk Verified

Update an organization

Script clerk Verified

Update an email address

Script clerk Verified

Update an OAuth application

Script clerk Verified

Update a user

Script clerk Verified

Update a template for a given type and slug

Script clerk Verified

Update a sign-up

Script clerk Verified

Update a phone number

Script clerk Verified

Update a domain

Script clerk Verified

Update a SAML Connection

Script clerk Verified

Update a JWT template

Script clerk Verified

Unlock a user

Script clerk Verified

Unban a user

Script clerk Verified

Toggle the delivery by Clerk for a template of a given type and slug

Script clerk Verified

Set user profile image

Script clerk Verified

Rotate the client secret of the given OAuth application

Script clerk Verified

Revokes an invitation

Script clerk Verified

Revoke the given sign-in token

Script clerk Verified

Revoke actor token

Script clerk Verified

Resource type

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

View raw schema →
FieldTypeRequiredWhat it is
apiKeystringYesSecret Key found in configure tab of the instance.

Questions

Secret key or publishable key?

The secret key. The publishable one is for the browser and cannot reach this API.

Development or production?

The key decides, and the two instances hold different users. Keep a resource for each and switch the one a flow points at.

Is my key stored on the hub?

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