Generate Token

Generates an auth token that could be used for api requests

📘

Caps

Available caps are:

  • a - account
  • o - orders
  • f - funding
  • s - settings
  • w - wallets
  • wd - withdraw -- writePermission: true is required for wd permission
  • bp - bfxpay

Response data

IndexTermTypeDescription
[0]TOKENstringGenerated authentication token
Body Params
string
required
Defaults to api

scope of the token, set it to api

int32
Defaults to 120

time to live in seconds

caps
array of strings

token caps/permissions, available values: [a, o, f, s, w, wd, bp]

caps
boolean
Defaults to false

token write permission for the caps

string

user's ip address

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json