FoPost LogoFoPost Docs

Scheduling API

API endpoints for scheduling posts.

Scheduling API

Pro

Schedule a post

POST /v1/schedules

Request body:

{
  "body": "This will be published tomorrow!",
  "platforms": ["twitter", "linkedin"],
  "publish_at": "2026-02-15T09:00:00Z",
  "url": "https://example.com"
}

Response:

{
  "data": {
    "id": "sch_abc123",
    "status": "scheduled",
    "publish_at": "2026-02-15T09:00:00Z",
    "platforms": ["twitter", "linkedin"]
  }
}

List schedules

GET /v1/schedules

Query parameters: status (scheduled, fired, cancelled), from, to, page, per_page.

Get a schedule

GET /v1/schedules/{id}

Cancel a schedule

DELETE /v1/schedules/{id}

Update a schedule

PATCH /v1/schedules/{id}

Request body:

{
  "publish_at": "2026-02-16T10:00:00Z"
}

On this page