Prerequisites
Before you begin, you’ll need:- A taap.it account
- An API key (created through the web dashboard)
- A tool to make HTTP requests (curl, Postman, or your preferred client)
Step 1: Create an API Key
1
Log into taap.it Dashboard
Visit www.taap.it and log into your account.
2
Navigate to API Settings
Go to your user settings and find the “API Keys” section.
3
Generate New Key
Click “Create API Key” and give it a descriptive name. Copy the generated key immediately.
taapit_abc123def456ghi789jkl012mno345pqr678stu901vwx234yz
Step 2: Make Your First Request
Let’s start by listing your existing links to verify your API key is working:cURL
Step 3: Create Your First Link
Now let’s create a shortened link:cURL
Step 4: Get Link Analytics
Let’s check the analytics for your newly created link:cURL
Next Steps
Explore Domains
Learn how to manage custom domains for your shortened links
Project Management
Organize your links into projects for better management
Advanced Analytics
Dive deeper into link performance and user analytics
Links Management
Create, update, and manage your shortened links
Common Patterns
Error Handling
Always check for errors in API responses:JavaScript Example
Rate Limit Handling
Handle rate limits gracefully:JavaScript Example
Need Help?
Authentication Issues
Authentication Issues
- Verify your API key is correct and active
- Ensure you’re using the
Bearerprefix in the Authorization header - Check that your API key hasn’t expired
Rate Limiting
Rate Limiting
- Implement exponential backoff for retries
- Monitor the
X-RateLimit-Remainingheader - Consider caching responses to reduce API calls
Common Errors
Common Errors
- 401 Unauthorized: Invalid or missing API key
- 403 Forbidden: Insufficient permissions for the requested resource
- 404 Not Found: Resource doesn’t exist or you don’t have access
- 409 Conflict: Resource already exists (e.g., duplicate custom code)
Ready to build?
Explore our complete API reference to unlock the full power of taap.it.