API Configuration
Learn how to configure API access and generate API keys for NextLinks.
NextLinks provides a REST API for programmatic access to all features.
Generating an API Key
To access the API, you need an API key:
- Go to Settings in your workspace
- Navigate to API Keys
- Click Generate New Key
- Copy and securely store your key (it won't be shown again)
Using Your API Key
Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Example Request
Here's an example of listing your links via the API:
curl "https://nextlinks.ai/api/next-links?accountId=YOUR_ACCOUNT_ID" \ -H "Authorization: Bearer YOUR_API_KEY"
Rate Limits
API requests are subject to rate limiting:
- Standard endpoints: 100 requests per minute
- Click tracking: No rate limit (designed for high traffic)
- Event tracking: No rate limit (designed for conversion volume)
Public Endpoints
Some endpoints don't require authentication:
/api/click- Click redirect (used by tracking links)/api/event- Conversion tracking (used by postbacks)
These are designed for high-volume public traffic.