Set the employee sync provider
POST
/v1/integrations/sync/employee-sync-provider
const url = 'https://api.varman.io/v1/integrations/sync/employee-sync-provider';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"organizationId":"example","provider":"google-workspace"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/integrations/sync/employee-sync-provider \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "organizationId": "example", "provider": "google-workspace" }'Set the employee sync provider in Varman. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
organizationId
Auto-resolved from your API key / session. You can omit this; it is ignored by the server.
string
provider
Provider slug to use for employee sync (must have the “sync” capability in its manifest — call list-providers to see options). Pass null or omit the field to disable employee sync for this org.
object
Example
google-workspace