PostifyPostify Docs

Reschedule a post

Moves a draft, scheduled, or failed post to a new future publish time (drafts must already have variants). Published, publishing, and approval-pending posts cannot be rescheduled (409 `resource_conflict`).

PATCH
/v1/posts/{id}

Moves a draft, scheduled, or failed post to a new future publish time (drafts must already have variants). Published, publishing, and approval-pending posts cannot be rescheduled (409 resource_conflict).

Authorization

AuthorizationBearer <token>

Organization API key as a Bearer token (postify_live_…).

In: header

Path Parameters

id*string

Post identifier.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PATCH "https://example.com/v1/posts/string" \  -H "Content-Type: application/json" \  -d '{    "scheduled_at": "2019-08-24T14:15:22Z"  }'
{  "id": "string",  "status": "draft",  "type": "single",  "title": "string",  "body": "string",  "scheduled_at": "2019-08-24T14:15:22Z",  "published_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "variants": [    {      "id": "string",      "channel_id": "string",      "body": "string",      "media": [        {          "url": "http://example.com",          "type": "image",          "alt": "string"        }      ]    }  ],  "deliveries": [    {      "channel_id": "string",      "stage": "queued",      "external_id": "string",      "error": "string"    }  ]}