Short link API

Create links and fetch reports from your own tools.

Authentication

Create a scoped key under Workspace → API keys. Send it as a bearer token in the Authorization header. Keep it on your server.

curl https://rgo.ie/api/v1/links -X POST \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"destination":"https://example.ie/menu","alias":"menu"}'

Endpoints

EndpointPermissionResponse
GET /api/v1/linkslinks:readLists links in the key’s workspace.
POST /api/v1/linkslinks:writeCreates a link from a destination and optional alias.
GET /api/v1/links/{alias}links:readReturns a link and its last seven days of clicks.
PATCH /api/v1/links/{alias}links:writeChanges destination, active status or both.
GET /api/v1/reportsreports:readReturns daily totals and aggregate breakdowns. Filter with from, to, link and campaign.

Report dates use YYYY-MM-DD in UTC. If you receive HTTP 429, wait for the Retry-After interval.