This website requires JavaScript to run properly.
to.it.com
getting started

API keys

Where to create and manage to.it.com API keys, and what plans include API access.

to.it.com/docs/getting-started/api-keys

Where to create and manage to.it.com API keys, and what plans include API access.

API keys let you authenticate requests to the to.it.com API. They are workspace-scoped and prefixed with toit_.

Create an API key

  1. Sign in to your to.it.com account
  2. Open Settings → API Keys in your dashboard
  3. Click Create key, give it a name, and optionally set an expiration date
  4. Copy the key immediately — it is shown only once

API keys are available on the Personal, Pro, and Business plans. If you are on the free plan, see the pricing page to upgrade.

Using your key

Include the key in the Authorization header:

curl https://api.to.it.com/v1/short-links \
  -H "Authorization: Bearer toit_YOUR_KEY_HERE"

Security best practices

  1. Never expose keys in client-side code — proxy requests through your backend
  2. Use separate keys per environment (development, staging, production)
  3. Revoke compromised keys immediately from the dashboard
  4. Rotate keys by revoking the old key and creating a new one

Next steps

Next steps

Put the API to work.

Create short links and track clicks from your own apps with a paid plan and API key.