Skip to content

PayFit ​

Your PayFit payroll: find an employee by email, list contracts and absences over a period, and record an absence.

A PayFit connection powers the PayFit node. Find a PayFit employee by email, list absences over a period or for a person, and record an absence.

The connection holds the company identifier and the API key. PayFit only reveals the company identifier through POST https://oauth.payfit.com/introspect (the key in the Authorization: Bearer header and in the body {"token": …}), which returns company_id.

At a glance ​

  • Identifier: payfit
  • Family: Service
  • Set up by: A member (personal) or an administrator (shared with the organisation)
  • Authentication: API key or token
  • Credential type: service:payfit
  • Official API documentation: https://developers.payfit.io/docs/authentication-via-api-key
  • API base URL: https://partner-api.payfit.com/companies/{companyId}
  • Rate limit applied by Loop & Roll: 20 requests per second and per connection; up to 3 attempts on a 429 or a 5xx
  • Connection test: Yes

Step by step ​

The same steps are shown in the connection form of the app.

  1. In PayFit, an administrator opens app.payfit.com/integrations/hub/api and clicks “Create a key”.
  2. Tick at least collaborators:read, contracts:read and time:read (time:write to record an absence), then copy the key.
  3. PayFit only gives the company identifier through its introspection endpoint: POST https://oauth.payfit.com/introspect, with the key as Authorization: Bearer and in the body {"token": "<key>"}; the response carries company_id.
  4. Enter that company identifier and paste the key below.

Connection fields ​

FieldKindRequiredNotes
Company identifier (companyId)TextYes
API key (apiKey)Secret — never shown againYes

Add the connection ​

  1. In PayFit, an administrator opens app.payfit.com/integrations/hub/api and clicks “Create a key”.
  2. Tick at least collaborators:read, contracts:read and time:read (time:write to record an absence), then copy the key.
  3. PayFit only gives the company identifier through its introspection endpoint: POST https://oauth.payfit.com/introspect, with the key as Authorization: Bearer and in the body {"token": "<key>"}; the response carries company_id.
  4. Enter that company identifier and paste the key below.
  5. In Connections, Third-party services section, click Connect on the PayFit card, fill in the form, then Test the connection (GET /companies/{id}/collaborators?maxResults=1).

Calls used ​

ActionCall
Find an employeeGET /companies/{id}/collaborators?email=
AbsencesGET /companies/{id}/absences?beginDate=&endDate=
Record an absencePOST /companies/{id}/absences

API documentation

Nodes that use this connection ​

Loop & Roll — the workflow builder for email.