What this is for
A service token lets another system call Callgoose CORE on your company's behalf, for example a payroll tool or an online shop that posts vouchers into CORE Financial. Each token names the system that uses it, what it may do (its scopes) and when it expires.
Create a token
- From your home page open System admin, then API Integrations.
- On the Service Tokens tab choose Mint new token.
- Fill in the Mint service token window:
- Source module: a short name for the calling system, for example
payrollorexternal:partner-x. - Scopes (comma-separated): what the token may do.
fin.voucher.writelets it create vouchers in CORE Financial. - TTL (days): how many days until it expires. The default is 90.
- Description: a note for your team, for example which system and environment uses it.
- Source module: a short name for the calling system, for example
- Choose Mint.
- The token is shown once. Choose Copy and store it in the calling system's secrets store.
- Optionally choose Test this token. CORE Financial checks the token and shows the company, source module and scopes it carries.
- Choose I've stored it.
Revoke a token
On the Service Tokens tab, choose Revoke on the token's row. The State changes to revoked, and the token stops working within about 30 seconds across CORE. Revoke a token straight away if you think it has leaked, then mint a new one.
The token list
Each row shows the Source, Scopes, Description, Created and Expires dates and the State: active, expired or revoked. Only active tokens can be revoked.
Good to know
- The token itself is never shown again after the first window closes. If it is lost, revoke it and mint another.
- A token works only for your company. Tokens that reach more than one company cannot be created here.
- About 7 days before a token expires, the person who created it gets a notification in CORE. Mint a replacement and switch the calling system over before the old one expires.
- Only people allowed to manage API integrations can mint or revoke tokens; others with view access see the list. See Who can do what.
- Revoking takes effect at once in the list, without a confirmation step, so check the row before you choose Revoke.