Posteady
Posteady Docs
User guideDeveloper guidesAPI referenceMCP

Refresh post metrics

Ask Posteady to read the latest metrics of published posts from their platforms.

POST
/api/v1/posts/metrics/refresh
curl -X POST "https://example.com/api/v1/posts/metrics/refresh" \  -H "Content-Type: application/json" \  -d '{    "posts": [      {        "accountId": "11111111-1111-4111-8111-111111111111",        "postId": "18000000000000001"      },      {        "accountId": "22222222-2222-4222-8222-222222222222",        "postId": "urn:li:share:7200000000000000001"      }    ]  }'

{  "jobs": [],  "accounts": [    {      "accountId": "11111111-1111-4111-8111-111111111111",      "state": "fresh"    }  ],  "note": "These posts were refreshed within the last hour, so they were not refreshed again."}

Ask Posteady to read the latest metrics of published posts from their platforms, the same as refreshing metrics on the Posteady posts page. Send the postId and accountId of up to 50 posts from the posts list. The refresh runs in the background, and each account gets one job. Follow a job with GET /api/v1/posts/metrics/refresh/{jobId}; after it completes, the posts list returns the new metrics and metricsUpdatedAt. Posts whose metrics were read within the last hour are not read again (state fresh). X and LinkedIn personal accounts can be refreshed once an hour per account (state cooldown with nextAllowedAt). The response is 202 when a job was queued for at least one account, and 200 otherwise.

AuthorizationBearer <token>

In: header

Request body

application/json

TypeScript definitions

Use the request body type in TypeScript.

Response body

application/json

application/json

application/json

application/json

application/json