Skip to main content
The ToeBox API lets you interact with your agents, chatbots, and analytics programmatically. Use it to send messages, manage agent configurations, and retrieve widget settings.

Base URL

All API requests are made to your ToeBox instance:
Replace your-store with your ToeBox subdomain (usually your Shopify shop name without .myshopify.com).

Authentication

All API endpoints require authentication using your ToeBox API key. Include it as a Bearer token in the Authorization header:
Find your API key in Settings > API Keys within the ToeBox dashboard.
Keep your API key secret. Do not expose it in client-side code, public repositories, or browser-accessible files.

Response format

All responses are returned as JSON. Successful responses include the data directly:
Error responses include an error field:

Rate limits

API rate limits depend on your plan: Rate-limited requests return a 429 Too Many Requests status code with a Retry-After header.

Available endpoints

Chat

Send messages to your agents and receive streaming responses.

Agents

List and create agent configurations.

Widget Config

Retrieve chatbot widget configuration for embedding.

Authentication

Learn how to authenticate and manage API keys.