---
title: "Generate Token"
method: POST
path: "/auth/w/token"
---

# Generate Token

`POST /auth/w/token`

Generates an auth token that could be used for api requests

## Request body

- object
  - `scope` string, required — scope of the token, set it to `api`
  - `ttl` integer — time to live in seconds
  - `caps` string[] — token caps/permissions, available values: [a, o, f, s, w, wd, bp]
  - `writePermission` boolean — token write permission for the caps
  - `_cust_ip` string — user's ip address

## Response `200`

200

- string[]

## Other responses

- `400` — 400

---

[API](https://skmtc.net/bitfinex/apis/api-settings-public.md) · [All operations](https://skmtc.net/bitfinex/apis/api-settings-public/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitfinex/api-settings-public/versions/d60be16fab63/schema)
