How to generate an API token?

API & developers

Back to Help & Support
API & developers

How to generate an API token?

API tokens allow your applications and scripts to authenticate with the ShortU REST API.

Steps to generate an API token:

  1. Log in to your ShortU account
  2. Click on your avatar or username in the top-right corner
  3. Go to Profile
  4. Scroll to the API Tokens section
  5. Click Create token
  6. Give the token a descriptive name (e.g. "My App", "Zapier Integration")
  7. Copy the token displayed — it is shown only once

Important notes:

  • Store your token securely (e.g. in an environment variable, not in source code)
  • You can create multiple tokens for different applications
  • A token can be revoked (temporarily disabled) or deleted permanently
  • Revoked tokens return 401 Unauthorized on API calls

Authentication:

Include your token in every API request using the X-API-Token header:

X-API-Token: your_token_here

Rate limits by plan:

Plan Requests/minute
Free 6
Starter 30
Pro 120