Base URL
| Environment | URL |
|---|---|
| Production | https://app.autoposting.ai/api-proxy |
Authentication
Pass your API key on every request:POST /api-keys. Keys are org-scoped and work for all content operations.
Response Format
Every endpoint returns a consistent JSON envelope:Error Codes
| Status | Code | Meaning |
|---|---|---|
400 | — | Bad request — missing or invalid parameters |
401 | — | Unauthorized — invalid or missing API key |
402 | insufficient_credits | Not enough credits for this operation |
403 | billing_suspended | Subscription expired or suspended |
404 | — | Resource not found or not owned by your org |
409 | — | Conflict — missing connection, expired token, or duplicate |
429 | — | Rate limited — back off and retry |
500 | — | Internal server error |
Pagination
Offset-based pagination on all list endpoints:| Parameter | Default | Max | Description |
|---|---|---|---|
limit | 50 | 100 | Items per page |
offset | 0 | — | Items to skip |
total count for computing page ranges:
Rate Limiting
Signup is limited to 5 requests per IP per hour. General API requests are subject to per-org limits. On429, back off and retry after the interval indicated in the response.
Health Check
200 OK when the API is operational.
TypeScript SDK
Zero-dependency TypeScript client for Node.js 20+.
MCP Tools
Call the API through AI assistants.
CLI Commands
Terminal access to all operations.
Authentication
Session tokens, OAuth flows, and API keys.