Integrations
Connect another system to KINT Accounts with scoped API credentials and signed webhooks.
Other systems, such as the KINT website or a client portal, can read and write data in KINT Accounts through its REST API. Each connected system is an integration, set up by an administrator under Administration → Integrations.
Every integration has its own service account, scoped credentials, webhooks and activity log. Integrations can never manage users, roles, settings or other integrations.
Create an integration
- Choose New integration. Enter a Name, a Description of its Purpose, and a Technical contact email.
- On the next page, choose Issue credentials. Give them a Label, tick the scopes the system needs (for example read clients, create invoices), and optionally an Expires on date.
- KINT Accounts shows the Client ID and secret once only. Copy them straight into the other system's secret store.
The other system exchanges the credentials for a short-lived token (OAuth 2.0 client credentials) and sends it as Authorization: Bearer <token> on each request. Requests that create something should send an Idempotency-Key header, so a retried request is never applied twice.
Webhooks
A webhook sends a signed notification to the other system when something happens, for example an invoice is issued or paid.
- Choose Add webhook and enter the Endpoint URL (HTTPS).
- Choose the events, or All events (including event types added in future releases).
- Copy the signing secret. Each delivery carries an
X-Kint-Signatureheader that the receiver must check.
Failed deliveries retry automatically for about two days, then stop. Use Test to send a sample event, and Replay to resend a delivery. To change the secret, choose Rotate secret: for 24 hours deliveries carry signatures from both the new and the old secret, so the receiver can switch over without missing events.
Monitoring and revoking
The integration's page shows the last 50 API requests (method, route and result only, no data) and the last 50 webhook deliveries. To cut off a system, Revoke its credentials or Disable integration.
API reference
The full list of endpoints, the request and response format, errors and rate limits are in the API reference. Where whoever runs the server has switched it on, an interactive API explorer is at /api/v1/docs.