---
title: "Obtain a New Token"
method: POST
path: "/token"
tags: ["Access Token"]
---

# Obtain a New Token

`POST /token`

Before getting access to the Octoparse OpenAPI, you will need your username and password to get a new Access Token.

## Request body

- object
  - `username` string, required — Account email address or username
  - `password` string, required — Account password
  - `grant_type` string, required — Must be `password`

## Response `200`

Token obtained successfully

- object
  - `data` object
    - `access_token` string
    - `expires_in` integer — Expiry time in seconds
    - `token_type` string
    - `refresh_token` string
  - `requestId` string

---

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