API - Completed sync?

Hello everyone,

I’m integrating MainWP to my site with the REST API and wondered how is it possible for me to know when a sync is complete (so that I can check for updates)?

I’m talking about the sites/sync-sites endpoints. Anything I should poll or look for that tells me the operation is complete? I can’t randomly check for updates after syncing right?

Keep me posted!
Thank you.

Upon process completion, the REST API will return success|failed depending on the process status.
If the sync completes successfully, it will return success when the sync process completes, if it fails, it will return failed.​​​​​

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.