GO4L

DEVELOPER API

Links, from your product.

A predictable REST surface for creating and resolving short links. The public creation endpoint is live; scoped API keys and account endpoints are the next protected layer.

Create a short link

curl -X POST https://go4l.co/api/v1/links \
  -H "Content-Type: application/json" \
  -d '{"destination":"https://example.com/report"}'

Response

{"data":{"slug":"a8Kd92x","shortUrl":"https://go4l.co/a8Kd92x","destination":"https://example.com/report"}}

Error model

Errors return a stable code and a human-readable message. Creation is rate-limited by an anonymized daily network identifier; raw IP addresses are not stored.