POST /posts/bulk-upload

Create posts from a CSV (multipart field file, or a text/csv body). Columns: platforms, profiles (id or name), post_content (content), schedule_time (scheduledFor) with tz, publish_now, is_draft, media_urls, and per-platform schedule_time_<p>, custom_content_<p>, custom_media_<p>. One post per row (per distinct per-platform schedule). dryRun=true validates only. 5000 rows max. 207 when some rows failed

POST
/posts/bulk-upload

Authorization

BearerAuth
headerAuthorizationBearer <token>

API key sk_...

Query Parameters

dryRun?string

Validate without creating posts

Value in"true""false"

Response Body

{total, valid, invalid, results, warnings}

application/json
  1. response
total?integer
valid?integer
invalid?integer
results?array<>
warnings?array<string>
Example Request
curl -X POST 'https://example.com/api/v1/posts/bulk-upload'
Example Response
{  "total": 0,  "valid": 0,  "invalid": 0,  "results": [    {      "rowIndex": 0,      "ok": true,      "createdPostId": "string",      "createdPostIds": [        "string"      ],      "errors": [        "string"      ]    }  ],  "warnings": [    "string"  ]}