Skip to main content
POST
/
user
/
api-keys
Create API Key
curl --request POST \
  --url https://api.totalis.trade/user/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "data": {
    "key": "<string>",
    "key_prefix": "<string>",
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "expires_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.totalis.trade/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Privy JWT issued to the web dashboard. Sent as Authorization: Bearer <jwt>. The Privy session signer underpins all wallet-signed actions.

Body

application/json
name
string

Optional display name for the key.

Response

API key created (full key visible once)

data
object
required

Returned only on creation; the full key is visible exactly once.