API keys and webhooks
Let your own software use Wokaforce with scoped keys, and hear about payroll and payments as they happen.
Go to Company settings > Integrations & APIs. Everything here is split by environment: choose the Test environment tab to try things out without touching real pay, or the Live environment tab. This page is for owners and admins.
API keys
Create a key
Under API keys, press Create API key. Enter a Key name, such as the service that uses it, and choose the Environment. Live keys wait until your business check is approved.
Choose what it can reach
Tick the scopes it needs, such as People, read or Payroll, write. A write scope includes read. Turn on Full access only when a service truly needs everything.
Copy it once
Press Create key. Copy the key from Copy your API key now and store it in your secret manager. We keep only its first characters, so a lost key can't be recovered.
Each key shows when it was Last used and from which address. From a key's row:
- Rotate gives you a new key with the same scopes. Choose a Grace period, in hours, from 0 to 168, during which the old key keeps working, so you can swap it without downtime. Choose 0 after a leak.
- Revoke stops it straight away.
The Account key card holds one full-access key for the environment. Keep it for emergencies. Rotate account key stops the old one at once. Revoke every test key (or live key) stops every key in the environment, for example after a leak; type REVOKE to confirm.
Webhooks
Under Webhook endpoints, press Add endpoint. Enter the Address, which has to use https and be reachable from the internet, and choose Every event or the events you want. Copy the signing secret it shows once; use it to check each message came from us.
From an endpoint's row you can Edit it, Send test event, Disable or Enable it, Rotate signing secret with a grace period during which messages carry both signatures, or Delete it. Its delivery history stays.
Deliveries lists each message we sent, with every attempt. We try up to 8 times over about two days. Select one to see each attempt's answer, or choose Retry now. Events lists what happened; select one to see what we sent, or choose Replay to send it again to every endpoint subscribed to it.