Get Access-Token

POST https://apps.fortnox.se/oauth-v1/token

Credentials is the Base64 encoding of ClientId and Client-Secret, separated with a colon.

Read more about OAuth

Content-type: application/x-www-form-urlencoded
Authorization: Basic {Credentials}

Body example

The body shall be sent by using the "application/x-www-form-urlencoded" format, with a character encoding of UTF-8.

grant_type (required) - Value MUST be set to "authorization_code".

code (required) - The authorization code received from the authorization request.

redirect_uri (required) - If the "redirect_uri" parameter was included in the authorization request, and their values MUST be identical.

grant_type=authorization_code&code={Authorization-Code}&redirect_uri=https://mysite.org/activation

{
  "access_token": "xyz...",
  "refresh_token": "a7302e6b-b1cb-4508-b884-cf9abd9a51de",
  "scope": "companyinformation",
  "expires_in": 3600,
  "token_type": "bearer"
}
Documentation

See our comprehensive documentation regarding the Fortnox API.

Subscribe to our blog

Genom att kontakta Fortnox kommer dina personuppgifter behandlas enligt Fortnox Integritetsmeddelande

Join us

Approximately half a million customers are waiting for your integration at our Integrations page.