As simple as one, two, three!
Register as a developer
First of all you need to register as a developer. This is so that we know who you are and how to get in touch with you.
Developing against Fortnox API is great, you get access to Sweden’s foremost online business system and have the opportunity to reach all of our customers with your product.
As a registered developer you’ll get access to the following things
- A sandbox account of Fortnox F3
- Support to help you with our products and API
- Access to our latest updates in our developer environment
- Invitations to special events hosted by Fortnox
- Be a part of our great developer community
To register, you just need to fill out this form.
Our integration support will come back to you with a sandbox account and the authorization information for your application.
Authorize your application
You’ve got your Authorization-Code and your Client-Secret. These will be the keys to get the final Access-Token.
The Authorization-Code is valid for thirty days before becoming invalid and can only be used once to retrieve the Access-Token.
If the Authorization-Code is used again after an Access-Token has been retrieved the Authorization-Code will become invalid and the integration will become deactivated. The Access-Token does not have a time limit and will be valid until it is deactivated.
The Access-Token combined with the Client-Secret is unique for your application and connects to a specific Fortnox account.
To retrieve your Access-Token you simply send a request to our API using the headers “Authorization-Code” and “Client-Secret”.
Here’s an example using cURL
curl -X "GET" "https://api.fortnox.se/3/customers" \ -H "Authorization-Code: 03b8d2b5-cade-c544-7a59-5a1ac8665856" \ -H "Client-Secret: BFr3jKKZ1J" \ -H "Content-Type: application/json" \ -H "Accept: application/json"
For more information about authentication, follow this link.
Making your request
With the Access-Token you just received you can start making requests and develop against our API.
Start by go through our documentation to see which data is available and how to use it. If there is any questions, please don’t hesitate to contact us!