POST /posts/{id}/retry

Retry a failed or partially published post now: failed targets get a fresh attempt budget, then the post is published again (approval policy applies)

POST
/posts/{id}/retry

Authorization

BearerAuth
headerAuthorizationBearer <token>

API key sk_...

Path Parameters

id*string

Postgale post id

Response Body

{post, status}

application/json
  1. response
post?
status?string
Example Request
curl -X POST 'https://example.com/api/v1/posts/string/retry'
Example Response
{  "post": {    "id": "string",    "content": "string",    "status": "draft",    "scheduledFor": "2019-08-24T14:15:22Z",    "targets": [      {        "id": "string",        "accountId": "string",        "platform": "string",        "status": "pending",        "platformPostId": "string",        "url": "string",        "error": "string",        "attempts": 0,        "platformSpecificData": "string",        "publishedAt": "2019-08-24T14:15:22Z",        "extra": "string",        "metrics": "string",        "metricsAt": "2019-08-24T14:15:22Z"      }    ]  },  "status": "string"}