Skip to main content
NestAPI uses API keys. Every request must include your key in the Authorization header as a Bearer token:

Getting a key

You can obtain keys in two ways:
  • Dashboard — create and manage keys from your NestAPI account.
  • API — if you hold an Admin-class key, manage keys programmatically via the account endpoints.

Sign up for a trial

New to NestAPI? Start a trial to get a key.

Making an authenticated request

GET /v1/auth/validate confirms the key is active and returns basic identity info (Valid, UserId) — a quick way to check a key works.

Verifying a key

Two account endpoints help you check a key’s state:

Key classes

Security

Treat API keys like passwords. Never embed them in client-side code or commit them to source control. For browser-based apps, restrict a key to specific origins with the allowed-origins endpoints and keep long-lived keys server-side.
  • Rotate keys periodically, and set an expiry for time-boxed integrations.
  • Disable a compromised key immediately.
Key creation, rotation, and revocation can be driven either from your NestAPI dashboard or through the API with an Admin key.