Docs
Open the app

Authentication & API Keys

Every API request is authenticated with a key you create from your own account. There is no separate developer signup. If you can sign in to NAUT, you can generate a key.

Creating a key

  1. Sign in and open the account menu.
  2. Choose API.
  3. Select Generate key. You can name it, such as "production" or "data sync", or leave the name blank and NAUT names it for you; you can rename it later.
  4. Copy the key that appears.

You can hold up to 10 active keys at a time; an 11th is refused until you revoke one. Use separate keys for separate systems so you can revoke one without disturbing the rest.

What a key looks like

A NAUT key starts with ck_live_ followed by a random string:

ck_live_AbCdEf0123456789-_xyz...

In the app, the key is listed by its prefix only, like ck_live_AbCdEf…, so you can tell your keys apart without exposing the full value.

Copy it once

The full key is shown once, in the moment you create it. NAUT stores only a one-way hash of the key, never the key itself, so it cannot show it to you again and cannot recover it for you. If you lose a key, revoke it and generate a new one.

Scopes

A key is minted with both scopes the API uses: read:metadata for all data and search calls, and read:contacts for revealing a person's private channels. You do not configure scopes today; every key carries both.

Using a key

Send the key as a bearer token in the Authorization header on every request:

curl https://api.naut.so/v1/me \
  -H "Authorization: Bearer ck_live_your_key_here"

A missing, malformed or revoked key, or a key on a deactivated account, returns 401 Unauthorized. A request sent to the retired API address returns 410 naming https://api.naut.so; see Moving to api.naut.so. For every status code, see Errors & Status Codes.

Revoking and rotating

You can revoke a key at any time from the API page. Revoking takes effect immediately and is permanent. The key stays listed as revoked, so you keep a record of what existed, until you hide it. It can no longer make calls. To rotate, generate a new key first, move your systems over, then revoke the old one.

Keeping keys safe

  • Treat a key like a password. Anyone holding it can act as your account and spend its credits.
  • Keep keys in environment variables or a secret manager, never in source control or client-side code.
  • Use 1 key per system, and revoke any key you believe is exposed.