API tokens
A token lets a tool (ERP, monitoring, script) call Irsal's API with only the rights you give it. Open Data and integrations > API tokens.
Create a token
- Create a token, then give it a name that says which tool uses it.
- Expiry: 30 days, 90 days (suggested), 1 year, or a date of your choice. The token works until the end of that day, in your organisation's time.
- Scope: the whole organisation, or some units you add one by one.
- Rights: tick only those the tool needs, grouped by area. Read only ticks the viewing rights. Sensitive rights (trigger an emergency, manage the organisation) are flagged. Show the codes shows each right's technical name for your developers. A token never gets a right you do not hold.
- Create: the token's value is shown once. Copy, paste it into your tool, then I have copied the token. It is never shown again.
Follow your tokens
The Active, Expired and Revoked counters filter the list; the search finds a token by name. Each row shows the scope, the expiry ("Expires in 5 d" in the last week), the last use and the rights ("+3" shows the others).
Revoke
In the ⋮ menu of an active token, Revoke. The confirmation shows its last use: the tools using it are refused from the next call. A revoked token cannot be reactivated; create a new one.