Authentication
All API requests require authentication using a Bearer token. Generate API keys from your dashboard settings. Tokens can be scoped to specific permissions and have optional expiration dates.
This documentation is available in English only.
Endpoints
POST
/v1/auth/tokenGenerate a new API token
DELETE
/v1/auth/token/:idRevoke an API token
GET
/v1/auth/tokensList all active tokens
Example
curl -X POST https://lnk24.co/api/v1/auth/token \
-H "Authorization: Bearer lnk_live_abc123" \
-H "Content-Type: application/json" \
-d '{
"name": "CI/CD Token",
"scopes": ["links:write", "links:read"],
"expires_in": "30d"
}'