REST API for scheduling and replies
A small JSON API over the same functions as the app: list accounts, queue posts, approve drafts, reply from the Inbox and read analytics.
Authentication
Make a key in Settings → API and tick only the scopes the agent needs. The key is shown once, so copy it then. Below it is written as sd_…, a placeholder.
Send the key as a Bearer token. The base URL is https://multi-push.com/api/v1.
curl https://multi-push.com/api/v1/me \
-H "Authorization: Bearer sd_…"
The key's scopes are read, write, reply and publish_now. A call without the scope it needs gets 403.
Endpoints
All paths start with /api/v1. The summary is also served as /api/v1/openapi.json.
| Endpoint | Scope | What it does |
|---|---|---|
GET /api/v1/me | read | The login, its zone and its limits |
GET /api/v1/accounts | read | Connected accounts: id, network, username, signed in |
GET /api/v1/posts | read | Posts: ?status=scheduled|draft|published|failed&from&to&limit |
POST /api/v1/posts | write | Create: {text, account_ids[], at | next_free: true | draft: true, tag?} |
PATCH /api/v1/posts/{id} | write | Edit text and/or at |
DELETE /api/v1/posts/{id} | write | Delete a scheduled, failed or draft post |
POST /api/v1/posts/{id}/publish | publish_now | Publish a scheduled or failed post now; after an unconfirmed try (it may be live) only with {confirmed: true} |
GET /api/v1/drafts | read | Drafts waiting for review |
POST /api/v1/drafts/{id}/approve | write | Approve: takes the next free slot, {text?, tag?} |
POST /api/v1/drafts/{id}/reject | write | Reject a draft |
GET /api/v1/inbox | read | Reply drafts waiting in the Inbox |
POST /api/v1/inbox/{id}/reply | reply | Post the reply publicly, {text?}: the daily cap and one a minute hold |
POST /api/v1/inbox/{id}/skip | reply | Skip a reply draft |
GET /api/v1/analytics | read | KPIs and the top posts: ?days=7|30|90 |
Photos and videos cannot be attached through the API yet.
Examples
Queue a post in the next free slot, or at a time you choose with at:
curl -X POST https://multi-push.com/api/v1/posts \
-H "Authorization: Bearer sd_…" -H "Content-Type: application/json" \
-d '{"text": "Hello from the API", "account_ids": [1], "next_free": true}'
Post an Inbox draft as it is:
curl -X POST https://multi-push.com/api/v1/inbox/42/reply \
-H "Authorization: Bearer sd_…" -H "Content-Type: application/json" -d '{}'
Errors
Errors are JSON with a code and a message, and the HTTP status says the class.
{"error": {"code": "rate_limited", "message": "Over 60 requests a minute."}}
Codes include bad_request, unauthorized, forbidden, not_found, conflict, plan_inactive, rate_limited and failed. Pause all answers writes with 409, and an inactive plan answers writes with 402.
Rate limits
An agent runs as you, with the app's own checks. Every key may make 60 requests a minute and 1000 a day, and over that the answer is 429 with a Retry-After header. Inbox replies stop at 30 a day and one a minute. Pause all blocks everything except reading, and an inactive plan blocks writes.
GET /api/v1/me returns your limits. The per-minute count is kept in memory per server process, and the day count starts over at midnight UTC.