Sync by api