---
title: "Get Access Token From Refresh"
method: POST
path: "/tokens#1"
tags: ["Authentication/Access Token (Oauth - Username/Password)"]
---

# Get Access Token From Refresh

`POST /tokens#1`

> Note: # and anything after is NOT needed, its just to allow multiple examples for the same path/method.

## Request body

- object
  - `grant_type` 'password' | 'refresh_token' | 'mfa', required — This is the type of authentication request being made. 'password' is most common if using username and password from end user to grant access.
  - `client_id` string, required — This is the client_id provided to the developer for accessing the api. Will match with the client_secret
  - `client_secret` string, required — This is the client_secret provided to the developer for accessing the api. Will match with the client_id
  - `refresh_token` string, required

## Response `200`

- object

## Other responses

- `400`
- `401`
- `404`

---

[API](https://skmtc.net/ns-api/apis/netsapiens-api-v2.md) · [All operations](https://skmtc.net/ns-api/apis/netsapiens-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ns-api/netsapiens-api-v2/revisions/d37f65b5b886/schema)
