Write Post API

Cost Preview

Preview Write Post pricing before creating a post.

GET /api/v1/write-post/cost/ Live

Estimate cost for a post given channel count and optional platforms.

Authentication
Bearer API key required
Permission
write_post
Rate limit
Per-key default 60 req/min

Query parameters

NameTypeRequiredDescription
channels integer No Number of destination channels (default 0).
platforms string No Comma-separated platform keys (optional pricing hint).

Headers

HTTP
Authorization: Bearer YOUR_API_KEY
Accept: application/json

Examples

cURL
curl -X GET "https://YOUR-DOMAIN/api/v1/write-post/cost/?channels=1" -H "Authorization: Bearer YOUR_API_KEY"

Response example

JSON
{
  "success": true,
  "request_id": "req_...",
  "data": {
    "channel_count": 1,
    "free_limit": 30,
    "free_used": 2,
    "free_remaining": 28,
    "uses_free_credit": true,
    "cost_usd": "0.00",
    "cost_display": "$0.00",
    "overage_allowed": true
  }
}

Status codes

StatusMeaning
200Success
401Invalid API key
403Missing write_post permission
429Rate limit exceeded

Try it

Paste your API key locally. It is sent only to this site’s API and is never saved.

Create API Key →

Errors

  • INVALID_API_KEY — missing/invalid Bearer token
  • SERVICE_ACCESS_DENIED — key lacks write_post
  • VALIDATION_ERROR — invalid payload or domain validation
  • RESOURCE_NOT_FOUND — unknown resource
  • RATE_LIMIT_EXCEEDED — too many requests

Full error reference →