Skip to main content

Force Refresh Comments

warning

Comment management is not available on the Basic plan. Upgrade to Intermediate, Growth or Business plan to access this endpoint.

Overview

The Force Refresh Comments endpoint triggers a manual refresh of comments from your connected social platforms. It returns the status of the batch job so you can track whether the refresh was started, is already running, or is on cooldown.

Base URL:

https://feed.oneupapp.io

Endpoint

POST /api/force-refresh-comments

Request Parameters

ParameterRequiredDescription
apiKeyYesYour personal API key generated from the API Access page.

Sample Request

curl --location --request POST \
"https://feed.oneupapp.io/api/force-refresh-comments?apiKey=YOUR_API_KEY"

Sample Response

202 Accepted — Comment refresh successfully started:

{
"message": "Comment refresh started.",
"batch_id": "a2152aa3-6e6d-439b-9056-d2205f466003",
"status": "started",
"is_fetching": true,
"percentage": 0,
"total_jobs": 7,
"pending_jobs": 7,
"processed_jobs": 0,
"failed_jobs": 0,
"last_fetched_at": "2026-06-22T08:45:33+00:00"
}

409 Conflict — A refresh is already in progress:

{
"message": "A comment refresh is already in progress.",
"batch_id": "a2152a43-1d9d-415c-980a-fb971ee05e15",
"status": "already_in_progress",
"is_fetching": true,
"percentage": 36,
"last_fetched_at": "2026-06-22T08:44:30.000000Z"
}

429 Too Many Requests — Comments were recently refreshed and are on cooldown:

{
"message": "Comments were recently refreshed. Please wait before refreshing again.",
"status": "cooldown",
"is_fetching": false,
"last_fetched_at": "2026-06-22T08:41:02.000000Z",
"remaining_seconds": 598,
"next_refresh_available_at": "2026-06-22T08:51:01+00:00"
}

Response Fields

FieldDescription
messageHuman-readable status message.
batch_idUnique identifier for the refresh batch job. Present on 202 and 409.
statusCurrent status: started, already_in_progress, or cooldown.
is_fetchingWhether a refresh is currently running.
percentageCompletion percentage of the current batch (0–100). Present on 202 and 409.
total_jobsTotal number of jobs in the batch. Present on 202.
pending_jobsNumber of jobs yet to be processed. Present on 202.
processed_jobsNumber of completed jobs. Present on 202.
failed_jobsNumber of failed jobs. Present on 202.
last_fetched_atISO 8601 timestamp of the most recent completed refresh.
remaining_secondsSeconds remaining before the next refresh is allowed. Present on 429.
next_refresh_available_atISO 8601 timestamp of when the next refresh can be triggered. Present on 429.

Error Responses

HTTP StatusStatus ValueDescription
202startedRefresh successfully initiated.
409already_in_progressA refresh is already running. Wait for it to complete.
429cooldownComments were recently refreshed. Check remaining_seconds for when you can retry.

Result: You have successfully triggered a comment refresh!