---
title: "Token"
method: POST
path: "/oauth2/token"
tags: ["internal"]
---

# Token

`POST /oauth2/token`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/oauth2/token`
- Auth: none declared

OAuth2 Token Endpoint.

Supports:
- grant_type=authorization_code: Exchange auth code for tokens
- grant_type=refresh_token: Refresh an access token

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
