Save a posting schedule
Set or remove the weekly posting times of one or more accounts.
curl -X PUT "https://example.com/api/v1/posting-schedules" \ -H "Content-Type: application/json" \ -d '{ "accountIds": [ "11111111-1111-4111-8111-111111111111" ], "schedule": { "rows": [ { "time": "09:00", "days": [ 1, 2, 3, 4, 5 ] }, { "time": "18:30", "days": [ 1, 3, 5 ] } ] } }'{ "accountIds": [ "11111111-1111-4111-8111-111111111111" ], "schedule": { "rows": [ { "time": "09:00", "days": [ 1, 2, 3, 4, 5 ] }, { "time": "18:30", "days": [ 1, 3, 5 ] } ] }, "timezone": "Asia/Seoul"}Set the same posting schedule on one or more accounts in the API key's workspace, or remove their schedules with schedule set to null. Each account's current schedule is replaced, as when you save Posting schedule in Posteady. Posts that are already scheduled don't move. Times are in the workspace timezone. Before you save, show the user the schedule and the accounts it applies to. If any account isn't a Threads, X, LinkedIn, TikTok, Instagram, YouTube, or Facebook account in this workspace, nothing is saved and the request fails with ACCOUNT_NOT_FOUND (HTTP 404).
Authorization
apiKey In: header
Request body
application/json
TypeScript definitions
Use the request body type in TypeScript.
Response body
application/json
application/json
application/json