ABC-IO ABC-IO

API Documentation

Base URL: https://abc-io.com/api/v1

Authentication

All protected endpoints require either a JWT Bearer token (from login) or an API key (from dashboard).

Authorization: Bearer <jwt-token>
# OR
x-api-key: <api-key>

Auth Endpoints

Register

POST/auth/register
{ "email": "user@example.com", "password": "min8chars", "firstName": "", "accountName": "" }

Login

POST/auth/login
{ "email": "user@example.com", "password": "..." }

Get Current User

GET/auth/me

AI Endpoints

Generate

POST/ai/generate
{ "prompt": "Explain quantum computing", "model": "default" }

Health

GET/ai/health

Translation Endpoints

Universal Translation

POST/translate/:modality

Modalities: speech-to-text, text-to-braille, text-to-morse, text-to-haptic, sign-to-text, universal

POST /translate/universal
{ "input": "Hello", "from": "text", "to": "braille" }

Beacon Endpoints (Public)

Emit Beacon

POST/beacon/emit
{ "latitude": 40.7, "longitude": -74.0, "type": "distress" }

List Active Beacons

GET/beacon/active?lat=&lng=&radiusKm=

Billing Endpoints

Create Checkout

POST/billing/checkout
{ "priceId": "price_xxx" }

Billing Portal

POST/billing/portal

List Invoices

GET/billing/invoices

Rate Limits

Rate limit headers: X-RateLimit-Limit, X-RateLimit-Remaining

Support

Email: support@abc-io.com