---
title: "POST /operations/auth/gateway/refresh"
method: POST
path: "/operations/auth/gateway/refresh"
tags: ["Operations/Auth/Gateway"]
---

# POST /operations/auth/gateway/refresh

`POST /operations/auth/gateway/refresh`

## Request

- Base URL: `https://api.optimyzee.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.optimyzee.com/operations/auth/gateway/refresh`
- Auth: API key in header `authorization`
- TypeScript: <https://skmtc.dev/optimyzee/apis/optimyzee-api/docs/operations/auth/gateway/refresh/post.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

Successful

- object
  - `data` OperationsAuthGatewayTokenSchema, required
    - `adminId` integer, required
    - `accessToken` string, required

## Other responses

- `401`: Unauthenticated
- `422`: Validation Error

---

[API](https://skmtc.dev/optimyzee/apis/optimyzee-api.md) - [All operations](https://skmtc.dev/optimyzee/apis/optimyzee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/optimyzee/apis/optimyzee-api/revisions/ccaa14692e9f?raw)
