Langkau ke kandungan
GrowSocmedDokumentasiSocial media command center

Import posts from CSV

Schedule up to 100 posts to one account from CSV (columns waktu/time, teks/text, media). dry_run only checks the rows; importing the same file again creates no duplicates.

POST
/posts/import

Schedule up to 100 posts to one account from CSV (columns waktu/time, teks/text, media). dry_run only checks the rows; importing the same file again creates no duplicates.

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Request Body

application/json
  1. body
account_id*string
Formatuuid
timezone?string
Default"Asia/Jakarta"
Value in"Asia/Jakarta""Asia/Makassar""Asia/Jayapura"
csv*string
Lengthlength <= 500000
dry_run?boolean
Defaulttrue

Response Body

OK

response?unknownapplication/json
Example Request
curl -X POST 'https://socmed.growpaces.com/api/v1/posts/import' \  -H 'Content-Type: application/json' \  -d '{  "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",  "csv": "string"}'
Example Response200
null