FeedHorizon API
Posts
POST
/posts/{id}/retry

Immediately retries publishing a failed post. Only posts with status FAILED can be retried.

Authorization

bearerAuth
AuthorizationBearer <token>

API key with fh_ prefix. Pass as Authorization: Bearer fh_...

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

curl -X POST "https://app.feedhorizon.dev/api/v1/posts/string/retry"
{
  "data": {
    "post": {
      "id": "string",
      "content": "string",
      "status": "DRAFT",
      "publishMode": "schedule",
      "scheduledAt": "2019-08-24T14:15:22Z",
      "timezone": "Europe/Berlin",
      "publishedAt": "2019-08-24T14:15:22Z",
      "platforms": [
        "linkedin"
      ],
      "platformPostIds": {
        "property1": "string",
        "property2": "string"
      },
      "errorMessage": "string",
      "profileId": "string",
      "userId": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "media": [
        {
          "id": "string",
          "postId": "string",
          "url": "string",
          "storagePath": "string",
          "type": "string",
          "filename": "string",
          "sizeBytes": 0,
          "sortOrder": 0,
          "createdAt": "2019-08-24T14:15:22Z"
        }
      ]
    },
    "retryResult": {}
  }
}
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "string",
    "details": [
      {
        "field": "string",
        "message": "string"
      }
    ]
  }
}
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "string",
    "details": [
      {
        "field": "string",
        "message": "string"
      }
    ]
  }
}