Go to App

Authentication

All API requests require authentication via the X-AUTH-TOKEN header.

Getting Your API Token

  1. Go to the API dashboard
  2. Generate a new API token
  3. Copy and store the token securely - it is only shown once
⚠️
Store your token securely

The full API token is only displayed once when generated. If you lose it, you'll need to generate a new one. Never expose tokens in client-side code, public repositories, or logs.

Making Authenticated Requests

Include the X-AUTH-TOKEN header in every API request:

bash
curl https://exportcomments.com/api/v1/ping \
-H "X-AUTH-TOKEN: your-api-key"

Token Properties

PropertyDetails
Format120-character alphanumeric string
Expiration1 year from generation
TierInherits the plan tier (Premium or Business) at generation time
ScopeFull API access for the associated user account

Authentication Errors

Status CodeError CodeDescription
401AUTH_HEADER_TOKENMissing or invalid X-AUTH-TOKEN header
403PLAN_EXPIREDYour subscription has expired
403TOKEN_EXPIREDThe API token has expired