Skip to documentation
Developer documentationAPI v1.0.0OpenAPI ↓
DocsStart here

Start here

Authentication

Choose the correct credential for lookup traffic and account operations.

API 1.0.0Contract reviewed 9 Nov 2026

Two credential types#

CredentialHeaderUse it for
API keyx-api-key: <key>Server-side IP and email lookups.
Account access tokenAuthorization: Bearer <token>Account, key management, plans and usage APIs; also accepted for lookups.
NoneNo credentialHealth/readiness and the account sign-in/verification endpoints.

Authenticate with an API key#

Lookup headers
x-api-key: YOUR_API_KEY
Content-Type: application/json
Origin: https://app.example.com

Keep keys out of public JavaScript, analytics events, screenshots and support messages. Configure caller-IP restrictions for your deployment where appropriate.

Authenticate an account session#

The account login operation accepts an email and password and returns an access token in data.accessToken. Use Authorization: Bearer for account-scoped operations. The schema includes an expiresIn field with an illustrative value of 900; use the returned expiry rather than treating the example as a permanent guarantee.

POST/auth/loginNo credential
FieldValidation
emailRequired string, email format.
passwordRequired string, 1-72 characters for login.

Prefer the customer portal for interactive account access. Do not persist your account password as an integration credential.

Account verification and recovery#

WorkflowOperationImportant detail
RegisterPOST /auth/registerName: 2-100 characters; password: 12-72 characters.
Verify emailPOST /auth/verify-emailSix-digit single-use OTP.
Resend verificationPOST /auth/verification/resendSubject to throttling.
Reset passwordPOST /auth/forgot-password, POST /auth/reset-passwordReset link is documented as single-use with a 30-minute lifetime.
Change passwordPOST /auth/change-passwordBearer token required; login sessions are revoked.
Google sign-inPOST /auth/googleAccepts a Google ID token; linking an account uses a separate protected operation.

See the API reference for operation-specific request validation and response statuses.

When authentication fails#

A 401 is an authentication problem. A documented origin denial on IP lookup is 403. Check active state, credential type, ownership and restrictions before retrying. Do not remove access controls simply to hide an authentication failure.

Need help with this integration?

Contact developer support ↗