---
title: "Request for access token"
method: POST
path: "/auth/oauth/refresh-token"
tags: ["auth-oauth"]
---

# Request for access token

`POST /auth/oauth/refresh-token`

Refresh access token by presenting previously acquired refresh token. Requires the refresh token initially acquired to be passed as x-auth-token in header

## Response `200`

Success

- AccessTokenResponse
  - `userId` string, required — Onboard unique User ID
  - `accessToken` Token, required
    - `token` string, required — Token string (Request, Access, Refresh)
    - `expiry` string, date-time, required — Timestamp field.
  - `refreshToken` Token, required
    - `token` string, required — Token string (Request, Access, Refresh)
    - `expiry` string, date-time, required — Timestamp field.

## Other responses

- `400` — Bad request
- `401` — Unauthorized request
- `403` — Forbidden request
- `500` — Server error

---

[API](https://skmtc.net/nestechops/apis/onboard-external-api-gateway.md) · [All operations](https://skmtc.net/nestechops/apis/onboard-external-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nestechops/onboard-external-api-gateway/revisions/35fe01ca087b/schema)
