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

# Refresh an access token

> Refresh the access token



## OpenAPI

````yaml POST /api/account.refreshAccessToken
openapi: 3.0.1
info:
  title: Rimdian API reference
  description: >-
    Rimdian provides 2 apis: a Data Collector API to import data & a Server API
    to manage your workspace and settings.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: http://api-eu.rimdian.com
security: []
paths:
  /api/account.refreshAccessToken:
    post:
      description: Refresh the access token
      responses:
        '200':
          description: Access token refreshed
          content:
            text/plain:
              schema:
                type: object
                properties:
                  access_token:
                    type: string
                  access_token_expires_at:
                    type: string
                    format: date-time
                example:
                  access_token: xxxxx
                  access_token_expires_at: '2024-01-01T00:00:00Z'
        '401':
          description: Unauthorized
          content:
            text/plain:
              schema:
                type: string
                example: invalid token
        '500':
          description: internal server error
          content:
            text/plain:
              schema:
                type: string
                example: internal server error
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````