THIS WEEK The Essential Guide to URL Management Read this week's article →
All API references

Analytics API

Retrieve privacy-safe aggregate performance for an owned link.

GET /api/v1/links/{shortCode}/analytics GoTo.now API key
Authentication

Use https://goto.now and send Authorization: Bearer gtn_YOUR_KEY. Keep the key in server-side secrets, never browser code, a URL, or a public repository.

Request

curl https://goto.now/api/v1/links/launch/analytics \
  -H "Authorization: Bearer gtn_YOUR_KEY"

The response combines the link's click summary, conversion summary, safety state, and—when enabled—smart-routing outcomes. Only aggregate account-owned data is returned; raw visitor records and another account's links are never exposed.

Common uses

  • Put link and conversion totals into an internal dashboard.
  • Compare routing destinations without exporting visitor-level data.
  • Check safety state before reusing a link in a campaign.

The short code must belong to the authenticated account. Unknown or unowned codes return HTTP 404.


Return to all API references