Skip to main content
Clerk logo

Clerk

Clerk auth: users, organizations, sessions, invitations, JWT templates. Exposes 48 actions covering the API surface an agent needs - read and write.

What it can do

MethodWhat it does
clerk_users_listList all users - GET /users.
clerk_user_getGet one user by ID - GET /users/{id}.
clerk_user_createCreate a new user - POST /users.
clerk_user_updateUpdate a user - PATCH /users/{id}.
clerk_user_banBan a user (prevent login/API access) - POST /users/{id}/ban.
clerk_user_unbanUnban a user (restore access) - DELETE /users/{id}/ban.
clerk_user_lockLock a user account (disable) - POST /users/{id}/lock.
clerk_user_unlockUnlock a user account (enable) - DELETE /users/{id}/lock.
clerk_user_deleteDelete a user - DELETE /users/{id}.
clerk_organizations_listList organizations - GET /organizations.
clerk_organization_getGet one organization - GET /organizations/{id}.
clerk_organization_createCreate an organization - POST /organizations.
clerk_organization_updateUpdate an organization - PATCH /organizations/{id}.
clerk_organization_deleteDelete an organization - DELETE /organizations/{id}.
clerk_org_memberships_listList organization members - GET /organizations/{organization_id}/memberships.
clerk_org_membership_getGet one organization member - GET /organizations/{organization_id}/memberships/{user_id}.
clerk_org_membership_createAdd a user to an organization - POST /organizations/{organization_id}/memberships.
clerk_org_membership_updateUpdate organization member role - PATCH /organizations/{organization_id}/memberships/{user_id}.
clerk_org_membership_deleteRemove a user from organization - DELETE /organizations/{organization_id}/memberships/{user_id}.
clerk_org_invitations_listList organization invitations - GET /organizations/{organization_id}/invitations.
clerk_org_invitation_createCreate an organization invitation - POST /organizations/{organization_id}/invitations.
clerk_org_invitation_revokeRevoke an organization invitation - DELETE /organizations/{organization_id}/invitations/{invitation_id}.
clerk_sessions_listList sessions - GET /sessions.
clerk_session_getGet one session - GET /sessions/{id}.
clerk_session_revokeRevoke a session (force user logout) - POST /sessions/{id}/revoke.
clerk_invitations_listList invitations - GET /invitations.
clerk_invitation_createCreate an invitation - POST /invitations.
clerk_invitation_revokeRevoke an invitation - DELETE /invitations/{id}.
clerk_allowlists_listList allowlisted identifiers - GET /allowlist_identifiers.
clerk_allowlist_createAdd to allowlist - POST /allowlist_identifiers.
clerk_allowlist_deleteRemove from allowlist - DELETE /allowlist_identifiers/{id}.
clerk_blocklists_listList blocklisted identifiers - GET /blocklist_identifiers.
clerk_blocklist_createAdd to blocklist - POST /blocklist_identifiers.
clerk_blocklist_deleteRemove from blocklist - DELETE /blocklist_identifiers/{id}.
clerk_jwt_templates_listList JWT templates - GET /jwt_templates.
clerk_jwt_template_getGet one JWT template - GET /jwt_templates/{id}.
clerk_jwt_template_createCreate a JWT template - POST /jwt_templates.
clerk_jwt_template_updateUpdate a JWT template - PATCH /jwt_templates/{id}.
clerk_jwt_template_deleteDelete a JWT template - DELETE /jwt_templates/{id}.
clerk_domains_listList custom domains - GET /domains.
clerk_domain_getGet one domain - GET /domains/{id}.
clerk_domain_createCreate a custom domain - POST /domains.
clerk_domain_deleteDelete a custom domain - DELETE /domains/{id}.
clerk_clients_listList OAuth clients - GET /oauth_applications.
clerk_client_getGet one OAuth client - GET /oauth_applications/{id}.
clerk_client_createCreate an OAuth client - POST /oauth_applications.
clerk_client_updateUpdate an OAuth client - PATCH /oauth_applications/{id}.
clerk_client_deleteDelete an OAuth client - DELETE /oauth_applications/{id}.

How to get credentials

This connector uses an API key / token. Create one in the provider dashboard, then paste it into FlyMyAI:

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
CLERK_SECRET_KEYClerk Dashboard - API Keys - Secret key (sk_...).

Troubleshooting

  • 401 Unauthorized / 403 Forbidden - the token is wrong, expired, or missing a required scope; regenerate it.
  • 429 Too Many Requests - provider rate limit; retry after a short backoff.
  • Unexpected 4xx on writes - double-check required fields; the agent confirms before write actions.
We love our partners - FlyMy.AI builds with the best. Thanks, Clerk!