Skip to content

affixapi/starter-kit

Repository files navigation

Starter kit resources

Read our documentation

SDKs

Backend

Frontend

HTML snippet

<html>
  <button type="button">
    <a target="popup" href='https://dev.connect.affixapi.com/?client_id=[YOUR CLIENT ID]&mode=xhr&scope=/2023-03-01/xhr/company%20/2023-03-01/xhr/identity%20/2023-03-01/xhr/employee%20/2023-03-01/xhr/employees%20/2023-03-01/xhr/timesheets%20/2023-03-01/xhr/time-off-entries%20/2023-03-01/xhr/time-off-balances%20/2023-03-01/xhr/payruns%20/2023-03-01/xhr/payruns/:payrun_id%20/2023-03-01/xhr/work-locations%20/2023-03-01/xhr/groups%20&redirect_uri=https://affixapi.com'>
      Connect your HR/Payroll
    </a>
  </button>
</html>

=>

Launch

With your client_id key, you are ready to start the authenticate flow with live users. Using Connect successfully will generate an authorzation_code, which you can then use the curl scripts to obtain an access_token. With the access_token, you are now ready to call the affixapi API.

In all API calls to you must include the API key in the Authorization header: "Authorization" : "Bearer <Access_Token>".

Get in touch