Skip to main content
Use a Box SDK when you want typed calls for creating Boxes, prompting them, reading events, listing API key metadata, managing secrets, and opening desktop or SSH access.

Python

Install ascii-box-sdk from PyPI and use snake_case methods.

TypeScript / JavaScript

Install @asciidev/box-sdk from npm and use camelCase methods.

Install

Configure

Base URL:
Create a Box API key with box api-key create or in the dashboard, store it as BOX_API_KEY, and pass it through the SDK Configuration object.
Treat Box API keys, Box secrets, SSH keys, and returned desktop/VNC URLs as secrets. Do not log or persist them unredacted.

Next steps

Python SDK guide

Configure the client, run the create/prompt example, and read the Python method and type reference.

TypeScript / JavaScript SDK guide

Configure the client, run the create/prompt example, and read the TypeScript method and type reference.