Kit.Domains Docs
API

Authentication

How to authenticate with the Kit.Domains API

The Kit.Domains API uses Bearer token authentication. Every request must include your API token in the Authorization header.

Getting Your API Token

  1. Log in to Kit.Domains
  2. Go to Profile → Settings
  3. Find the API Token section
  4. Click Generate API Token

Your API token is shown only once. Store it securely — you won't be able to view it again. If you lose it, generate a new one from your dashboard (which invalidates the old token).

Using Your Token

Include the token in the Authorization header of every request:

curl https://api.kit.domains/v1/domains \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Rotating Your Token

If your token is compromised, rotate it from your Kit.Domains dashboard — generating a new token immediately invalidates the old one. Rotation is dashboard-only by design: a leaked token can't be used to roll itself over the API.

Authentication Errors

Status CodeMeaning
401Missing or invalid API token
403Token is valid but lacks permission for this resource

On this page