> ## Documentation Index
> Fetch the complete documentation index at: https://docs.developers.mijnklantportaal.nl/llms.txt
> Use this file to discover all available pages before exploring further.

# Refresh token

> Refresh an Access Token with the Refresh Token

<Info>Please note that the base URL for this endpoint is: `https://manage.mijnklantportaal.nl`</Info>

#### Body

<ParamField body="grant_type" type="string" required>
  Type of grant you want generate tokens for. Must be always `refresh_token`.
</ParamField>

<ParamField body="client_id" type="string" required>
  ID of your application which you got the Authentication Code for.
</ParamField>

<ParamField body="client_secret" type="string" required>
  The secret of your application you got after registering it in the Developer portal.
</ParamField>

<ParamField body="refresh_token" type="string" required>
  The Refresh Token you got the moment you generated the first tokens.
</ParamField>

#### Response

<ResponseField name="access_token" type="string">
  The new `Bearer` token you can use for accessing the MijnKlantportaal API.
</ResponseField>

<ResponseField name="expires_in" type="integer">
  Amount of seconds until the given Access Token expires.
</ResponseField>
