{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paradex/json-schema/paradex-requests-create-token-schema.json",
  "title": "requests.CreateToken",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paradex-token-api-openapi.yml#/components/schemas/requests.CreateToken",
  "type": "object",
  "required": [
    "expiry_duration",
    "name",
    "token_type"
  ],
  "properties": {
    "allowed_cidrs": {
      "description": "Optional IP CIDR allowlist applied atomically at creation, so the token\nis never live unrestricted. Empty/omitted = unrestricted. Max 50 entries;\nsame format as PUT /account/tokens/:lookup_id/allowed-cidrs.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "expiry_duration": {
      "description": "Duration in seconds from now until expiration (1 min to 1 year).",
      "type": "integer"
    },
    "name": {
      "description": "User-friendly name for the JWT token.",
      "type": "string"
    },
    "token_type": {
      "description": "Type of token to create.",
      "type": "string"
    }
  }
}