Update post

Updates a scheduled post before it runs.

patch/v1/posts/{id}

Request

  • Base URL: https://postonce.to/api/public
  • URL: https://postonce.to/api/public/v1/posts/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Aggregate post ID.

Request body

contentstring
external_idstring nullable
publish_atstring date-time nullable

Example request

{
  "media": [
    {
      "url": "https://cdn.example.com/launch-image.png",
      "type": "image"
    }
  ]
}

Response

Scheduled post updated successfully.

Example response

{
  "data": {
    "media": [
      {
        "url": "https://cdn.example.com/launch-image.png",
        "type": "image"
      }
    ],
    "status": "scheduled",
    "targets": [
      {
        "status": "pending"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.