Easily integrate tny.ws into your website to create short links instantly and track detailed analytics. Automate link generation, monitor performance, and streamline your workflow with our powerful API.
API Key & Domain Requirements
Tny.ws allows you to create short URLs using API keys, which can be generated and managed from your dashboard.
- API Keys: Required for authentication but no login is needed.
- Domain Restriction: Each API key is linked to a specific domain for security and CORS enforcement.
- Usage: Requests must originate from the registered domain. Keys cannot be used across different domains.
- One-Time Visibility: Your API token is shown only once during creation. Make sure to copy and store it safely.
- Security: For security reasons, the token cannot be viewed again after generation.
- Regeneration: If you lose your API key, you can generate a new one from your dashboard. However, the old key will no longer be valid.