Retry a failed account
Publishes a post again to one account where publishing failed, without touching the accounts that already published.
When a post goes to several accounts and some fail, use this to send it again to one failed account. The other accounts are left alone, so nothing is posted twice. A multi-part post continues from the part that failed; the parts already live stay as they are.
The call returns at once and publishing runs in the background. Poll Get a post and read publish_status of that account in accounts: published or failed when it ends.
Request
- Method:
POST - URL:
https://app.socialk.it/core/api/<workspaceUuid>/posts/retry/<postUuid>/<accountUuid> - Authorization:
Bearer <personal-key> - Roles: Admin, Member (see Permissions)
Path parameters
| Parameter | Type | Description |
|---|---|---|
workspaceUuid | string | UUID of the workspace. |
postUuid | string | UUID of the post. |
accountUuid | string | UUID of the account to retry (the uuid field of the account, not the numeric id). The account must be one of the post's accounts and its publish_status must be failed. |
Body
No body.
Example
curl -X POST 'https://app.socialk.it/core/api/<workspaceUuid>/posts/retry/<postUuid>/<accountUuid>' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <personal-key>'Response
{
"success": true,
"status": "publishing",
"publish_progress": {
"total": 2,
"published": 1,
"failed": 0
}
}| Field | Type | Description |
|---|---|---|
success | boolean | Always true. |
status | string | Status of the post after the call; publishing once the retry has started. |
publish_progress | object | How many accounts the post has (total), and how many of them are published or failed now. |
{
"message": "Unauthenticated."
}The other 422 errors are account (This account is not part of this post., including a UUID that matches no account) and publishing (This post is still publishing. Wait for it to finish before retrying.). The 403 also appears when the workspace's plan does not allow publishing.
Approve a post
Signs off a post that is held for review, which moves it onto the schedule, with the option to change its time at the same moment.
Get the analytics of a post
Read the views, likes, comments and shares a published post has earned on each network, with day-by-day trends and a comparison against each account's usual posts.