API – getting started
QLI.fr offers a REST API for creating links, analytics, QR codes and premium aliases. The API is included from the Starter plan.
1. Create an API token
In the app open Settings → API tokens, enter a name and select only the scopes you need. The token is shown only once – store it in a secrets manager.
2. Call the API
Send the token in the Authorization header. Example of creating a short link:
curl -X POST https://api.ra.sk/v1/links -H "Authorization: Bearer rask_…" -H "Content-Type: application/json" -d '{"destination_url":"https://example.com"}'3. Specification
All endpoints, errors and pagination are described in the OpenAPI 3.1 specification.
Errors
Errors always have the shape {code, message, request_id, details}. Include the request_id when contacting support.
Limits
The monthly API quota depends on your plan; each token is limited to 600 requests per minute.