English
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.
- In PayFit, an administrator opens app.payfit.com/integrations/hub/api and clicks “Create a key”.
- Tick at least collaborators:read, contracts:read and time:read (time:write to record an absence), then copy the key.
- PayFit only gives the company identifier through its introspection endpoint:
POST https://oauth.payfit.com/introspect, with the key asAuthorization: Bearerand in the body{"token": "<key>"}; the response carriescompany_id. - Enter that company identifier and paste the key below.
Connection fields
| Field | Kind | Required | Notes |
|---|---|---|---|
Company identifier (companyId) | Text | Yes | |
API key (apiKey) | Secret — never shown again | Yes |
Add the connection
- In PayFit, an administrator opens app.payfit.com/integrations/hub/api and clicks “Create a key”.
- Tick at least collaborators:read, contracts:read and time:read (time:write to record an absence), then copy the key.
- PayFit only gives the company identifier through its introspection endpoint:
POST https://oauth.payfit.com/introspect, with the key asAuthorization: Bearerand in the body{"token": "<key>"}; the response carriescompany_id. - Enter that company identifier and paste the key below.
- 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
| Action | Call |
|---|---|
| Find an employee | GET /companies/{id}/collaborators?email= |
| Absences | GET /companies/{id}/absences?beginDate=&endDate= |
| Record an absence | POST /companies/{id}/absences |
Nodes that use this connection
- PayFit —
payfit.api