API Tokens
API tokens provide programmatic access to the ExportComments API. Each token is tied to your user account and inherits your subscription tier.
The API Token Object
| Field | Type | Description |
|---|---|---|
uuid | string | Unique token identifier |
expiresAt | datetime | Token expiration date (1 year from generation) |
isExpired | boolean | Whether the token is expired |
createdAt | datetime | When the token was generated |
Token visibility
The full token value is only returned once during generation. After that, only metadata (uuid, expiry, etc.) is available via the API.
Endpoints
| Method | Path | Description |
|---|---|---|
POST | /api/v1/api_tokens/generate | Generate a new API token |
GET | /api/v1/api_tokens | List all tokens |
GET | /api/v1/api_tokens/{uuid} | Retrieve a specific token |
DELETE | /api/v1/api_tokens/{uuid} | Revoke a token |
Token Properties
| Property | Details |
|---|---|
| Format | 120-character alphanumeric string prefixed with ec_live_ |
| Expiration | 1 year from generation date |
| Scope | Full API access for the associated user account |
| Tier | Inherits the plan tier (Premium or Business) at generation time |
