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:
- Log in to your ShortU account
- Click on your avatar or username in the top-right corner
- Go to Profile
- Scroll to the API Tokens section
- Click Create token
- Give the token a descriptive name (e.g. "My App", "Zapier Integration")
- 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 |