API Reference

Base URL: https://api.nexusBlog.com — REST · JSON · JWT Auth

01

Authentication

All API requests must include a valid JWT token in the Authorization header. Get your token via POST /v1/auth/token after Firebase authentication.

// Request header

Authorization: Bearer <your-jwt-token>

02

Available Endpoints

GET/v1/tenants
POST/v1/tenants
GET/v1/tenants/{id}/articles
POST/v1/tenants/{id}/articles
PATCH/v1/tenants/{id}/articles/{aid}
DELETE/v1/tenants/{id}/articles/{aid}
GET/v1/tenants/{id}/categories
POST/v1/tenants/{id}/categories
GET/v1/tenants/{id}/team
POST/v1/tenants/{id}/team/invite
03

Example Request

# List articles for a tenant

curl \

-H "Authorization: Bearer $TOKEN" \

https://api.nexusblog.com/v1/tenants/{id}/articles

04

Response Codes

200Success
201Created
400Bad Request
401Unauthorized
403Forbidden
404Not Found
429Rate Limited
500Server Error
05

Rate Limiting

The API is rate limited to 1,000 req/hour for Starter, 5,000 for Pro, and unlimited for Business. X-RateLimit-Limit and X-RateLimit-Remaining headers indicate current consumption.