API & Documentation

Integrate NSGO into your applications, automate tracking, and retrieve analytics programmatically.

v1.0 API Preview

Introduction

The NSGO REST API provides programmatic access to your loggers and tracking data. All API endpoints require authentication via an API key. The API is currently in preview, and some endpoints may change before the stable release.

Related: AuthenticationRelated: Loggers

Base URL

https://api.nsgo.app/v1

Authentication

Authenticate your API requests by including your API key in the Authorization header:

Authorization: Bearer nsgo_your_api_key_here
Need an API key?
Generate one in your settings
Go to API Keys

Quick Example

curl -X GET \ https://api.nsgo.app/v1/loggers \ -H 'Authorization: Bearer nsgo_12345' \ -H 'Accept: application/json'
{
  "success": true,
  "data": [
    {
      "id": "log_123",
      "shortCode": "xY9Z",
      "redirectUrl": "https://example.com",
      "totalVisits": 42
    }
  ]
}