URLY.UZ

API documentation

The URLY REST API lets you create and manage links programmatically.

Download the OpenAPI specification

Authentication

Create a key in the dashboard's “API keys” section and send it in the Authorization: Bearer header.

curl -s https://urly.uz/api/v1/links \
  -H "Authorization: Bearer urly_xxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"destination_url":"https://example.uz/sale","slug":"kuz2026"}'

Endpoints

Endpoints
MethodPathScopePurpose
GET/api/v1/plans—Public list of plans
GET/api/v1/linkslinks:readList links (search and pagination)
POST/api/v1/linkslinks:writeCreate a link
GET/api/v1/links/{id}links:readGet a link
PATCH/api/v1/links/{id}links:writeUpdate a link
DELETE/api/v1/links/{id}links:writeDelete a link

Errors

Every error comes with a stable code (for example SLUG_TAKEN) and a message in the chosen language.

{"error":{"code":"SLUG_TAKEN","message":"…","request_id":"0192…"}}

Limits

The number of requests depends on the plan. Above the limit the API answers 429 with a Retry-After header.