Skip to main content
Follow the REST app guide. Bind providerEndpoint("adp.workers.observations", "https://api.adp.com", "/hr/v2/workers", auth, data) to the same label as the mount. Use the HTTPS hosts ADP assigned to your integration. Set auth to { kind: "oauth2", tokenEndpoint, clientId, clientSecret, clientCertificate }. For US ADP the token endpoint is https://accounts.adp.com/auth/oauth/v2/token. Seal the OAuth client secret and the PEM certificate chain followed by its private key as two receiver credentials. The receiver presents the certificate on the token exchange and the worker API call. It obtains the bearer token inside the host. Initialize with { profile: { mode: "provider", provider: "adp.workers.observations", limit: 10 } }. The feed publishes the default masked roster keyed by associateOID. Offsets advance by the number of workers returned. An empty page or HTTP 204 ends the sweep. Missing workers stay published, and termination stays visible through the provider’s status. Each page is at most 100 workers and 36 KiB. The mode reads roster data only. ADP authentication and API calls