Skip to main content
Create Account API Key
curl --request POST \
  --url https://synthesis.trade/api/v1/account/api-key \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "bot"
}'
{
  "success": true,
  "response": {
    "public_key": "pk_...",
    "secret_key": "sk_...",
    "name": "bot",
    "active": true,
    "created_at": "2026-01-01T00:00:00",
    "updated_at": "2026-01-01T00:00:00"
  }
}

Authorizations

Authorization
string
header
required

Account session token.

Body

application/json
name
string

Optional key name. Must be at most 64 characters and use only letters, numbers, -, or _.

Example:

"bot"

Response

201 - application/json

Account API key created