API Access

Get an API Key

API keys authenticate your requests to the NativeForm API. API keys are tied to your account and not to specific forms, meaning each key can access all forms in your account. Create and manage keys to access your forms programmatically.

Using API keys with AI agents? Follow the secure patterns in Agents Auth before shipping to production.

Create API Key

To create an API key, log in and visit /docs/my-api-keys. You can also generate a new API key below or from any form's Export tab.

Sign in to create an API key. Keys follow the format nfk_prefix_secret

Required header

x-nativeform-api-key: nfk_xxxxxx_secret

Manage Keys

Log in and visit /docs/my-api-keys to view and manage your API keys. You can also manage keys from the dashboard or any form's Export tab.

From the Dashboard

  1. Go to any form in your dashboard
  2. Click on the Export tab
  3. Click API Access to open management
  4. Create, view, or revoke keys as needed

Revoking Keys

Revoked keys immediately stop working. Use this feature if a key is compromised or no longer needed. Once revoked, a key cannot be reactivated.