Send Prefer: wait=25, the most it takes. 200 means the work is done. 202 means it's still running: the answer is the object as it is now.
curl -X POST https://api.reviewflowz.com/v3/sources/src_4812/sync \-H "Authorization: Bearer rfz_live_..." \-H "Prefer: wait=25"
const res = await fetch("https://api.reviewflowz.com/v3/sources/src_4812/sync", {method: "POST",headers: {"Authorization": "Bearer rfz_live_...","Prefer": "wait=25",},});console.log(await res.json());
import requestsres = requests.post("https://api.reviewflowz.com/v3/sources/src_4812/sync",headers={"Authorization": "Bearer rfz_live_...","Prefer": "wait=25",},)print(res.json())
Edit the request
POST /v3/sources/{id}/sync in the reference
Example answer
After a 202, read the object again until its status changes, or subscribe to source.synced.