Rate limits and credits
Rate limits
Every request counts against a per-second rate. It depends on how much you have spent on credits in total.
| Spent in total | Requests per second |
|---|---|
| Nothing yet | 5 |
| $50 | 20 |
| $500 | 100 |
Every answer carries RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset and X-Request-Id. Past the limit you get 429 rate_limited with Retry-After: wait that many seconds.
Credits
One credit pays for one post published to one channel. Read your balance in the credits field of GET /v1/me. With none left, publishing and scheduling answer 402 credits_exhausted. Top up in the console; see pricing.
{
"type": "https://developers.postia.app/errors/credits_exhausted",
"title": "No credits left",
"status": 402,
"request_id": "req_0a1b2c3d4e5f60718293a4b5"
}
Idempotency
POST and PATCH take an optional Idempotency-Key (1 to 255 characters). The same key with the same request within 24 hours returns the first answer again, with Idempotent-Replayed: true. The same key with a different request is a 422, and while the first request is still running it is a 409.
Your Postia plan
API posts also count toward the monthly post limit of the Postia plan of the account that owns the channels.