sTN Partner APIsTN Partner API
Home
Getting Started
Guide
Home
Getting Started
Guide
  • Guide

    • Introduction
    • Supported Features
    • Authentication
    • Base URLs
    • Advanced Query Parameters
    • Error Handling
  • Getting Started

    • Introduction
    • Quick Start Guide
  • API Endpoints

    • QuerySimcard
    • QueryActivation
    • QuerySubscription
    • NewSubscription
    • CancelNewSubscription
    • SuspendSubscription
    • ResumeSubscription
    • SimSwapSubscription
    • SetServicesSubscription
    • MoveEnvironmentSubscription
    • InPortSubscription
    • ChangeInPortSubscription
    • CancelInPortSubscription
    • PortingOutSubscription
    • CancelPortingOutSubscription
    • TerminateSubscription
    • CancelTerminateSubscription
    • QueryInvoice
    • QueryCdrMonth
    • QueryCdr
    • QueryUsageSubscription

Authentication

The sTN Partner API uses API keys for authentication. Each request to the API must include a valid API key to be processed.

Obtaining an API Key

sTN will send the API key directly to your organization's development team. This key is unique to your partnership and grants access to the sTN Partner API.

Using the API Key

Include your API key in the header of each request to the API:

stn-api-key: YOUR_API_KEY

Replace YOUR_API_KEY with your actual API key.

API Key Security

  • Keep your API key confidential. Do not share it or expose it in publicly accessible areas such as GitHub or client-side code.
  • If you suspect your API key has been compromised, contact sTN immediately to have it revoked and replaced.
Last Updated:
Contributors: UP2media-AR
Prev
Supported Features
Next
Base URLs