---
updatedAt: 2026-08-23T09:20:08.000Z
agentTools:
  projectIndex: https://apidocs.mybanx.io/llms.txt
---

# /v{version}/auth/refresh

# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "mybanx",
    "version": "v2"
  },
  "servers": [
    {
      "url": "https://api.mybanx.io/"
    }
  ],
  "paths": {
    "/v{version}/auth/refresh": {
      "post": {
        "tags": [
          "Auth"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/myBanks.API.DTO.RefreshTokenRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/myBanks.API.DTO.RefreshTokenRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/myBanks.API.DTO.RefreshTokenRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/myBanks.API.DTO.AccessToken"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "myBanks.API.DTO.AccessToken": {
        "type": "object",
        "properties": {
          "validUntil": {
            "type": "string",
            "format": "date-time"
          },
          "bearer": {
            "type": "string",
            "nullable": true
          },
          "refreshToken": {
            "type": "string",
            "nullable": true
          },
          "executionId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "myBanks.API.DTO.RefreshTokenRequest": {
        "type": "object",
        "properties": {
          "refreshToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```