Short links and QR codes

A short link is a stable, branded URL that points at a destination you control. Bonga owns the redirect, so a link in an old SMS keeps working after a provider or domain change.

Open Dashboard → Short links, or use the API with a links:write key:

curl -X POST 'https://api.bonga.africa/api/v2/links' \
  -H "Authorization: Bearer $BONGA_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: launch-sms-2026-12' \
  --data '{
    "destination": "https://example.com/launch?utm_source=sms",
    "hostname": "bonga.link",
    "expiry_days": 90
  }'

The response includes the short URL in data.url and the link ID. QR rendering is a client concern; the short URL is the QR target. You can disable, renew and list links. A link can be limited to a time window or a click budget.

Analytics

When click analytics is enabled, a link records clicks without storing personal data. The link detail shows clicks over time and the referrer class. Use it to compare channels or messages.

Short codes

Bonga can host a branded short domain. Customers add their own domain and Bonga publishes the required DNS. A short code route resolves on the configured host and redirects to the destination.

Safety

  • Never shorten a link you do not control.
  • Do not use short links to hide a destination from recipient review.
  • A disabled link returns a clear page, not a redirect to an unrelated page.
  • Do not put secrets in a URL; they end up in logs.