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.

Go to API tokens

2. Call the API

Send the token in the Authorization header. Example of creating a short link:

Example cURL request
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.

Download the OpenAPI specification (YAML)

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.