Fortnox Integration

Connect to Fortnox
Without the Tears.

Building a direct Fortnox integration means months of wrestling with OAuth 2.0 flows, access tokens, refresh tokens, and a complex WebSocket event layer. We handle all of it for you.

🛡️

Zero OAuth Headache

Fortnox uses OAuth 2.0, meaning every single integration requires you to manage OAuth handshakes, securely store client secrets, and build completely custom databases just to schedule robust token rotation logic every 30 days.

With Unifetch: You generate one permanent API Key on our dashboard. You query our edge proxy, and we inject valid Fortnox credentials invisibly on the fly.

🪝

Webhooks over WebSockets

Fortnox notoriously lacks standard webhooks. Instead, developers are forced to establish and maintain persistent WebSocket streams just to listen for simple state changes (like when an invoice is paid). Scaling this requires heavy, stateful backend architecture.

With Unifetch: We keep the WebSocket pipes open locally on our resilient edge infrastructure. We then translate those complex socket events into simple, standard HTTP Webhooks and fire them directly to your backend.

webhook-listener.js
// Standard HTTP Webhooks - Instead of managing a persistent WebSocket!
const express = require('express');
const app = express();

app.post('/unifetch-webhooks', (req, res) => {
  const event = req.body;
  
  if (event.type === 'fortnox.invoice.created') {
    // Boom. No websockets needed.
    console.log('Invoice created!', event.data.invoice_number);
  }
  
  res.sendStatus(200);
});

Ready to tame Fortnox?

Get your API key in seconds and drop into production immediately.

Generate API Key