posts
Retry failed post
Immediately retries publishing a failed post. Returns the updated post with its new status.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
postIdstring
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://getlate.dev/api/v1/posts/string/retry"{
"message": "Post published successfully",
"post": {
"_id": "65f1c0a9e2b5af0012ab34cd",
"content": "Check out our new product!",
"status": "published",
"publishedAt": "2024-11-01T10:00:05Z",
"platforms": [
{
"platform": "twitter",
"accountId": {
"_id": "64e1f0...",
"platform": "twitter",
"username": "@acme",
"displayName": "Acme Corp",
"isActive": true
},
"status": "published",
"platformPostId": "1234567890",
"platformPostUrl": "https://twitter.com/acme/status/1234567890"
}
]
}
}Empty
Empty
{
"error": "Unauthorized"
}Empty
{
"error": "Not found"
}Empty
{
"error": "string",
"details": {}
}