Client Credentials
You can get OAuthClientId and OAuthClientSecret by contacting Paylocity and requesting API access.
Get an OAuth Access Token
After setting the following, you are ready to connect:
- OAuthClientId: Set this to the consumer application's account identifier, assigned during account registration or at secret reset.
- OAuthClientSecret: consumer application's account password, assigned during account registration or at secret reset.
- InitiateOAuth: Set this to GETANDREFRESH. You can use InitiateOAuth to avoid repeating the OAuth exchange and manually setting the OAuthAccessToken. .