Quickstart
Get started with the Chipp Builder API in 2 minutes. The Builder API lets you programmatically interact with published chat agents. For the Alchemist autonomous-development API (dispatch tickets, query project status), see the Alchemist API and Automation docs.
API access is available on every plan, including Free. You only need a Builder API key for your app.
1. Get API Key
build.chipp.ai → Your App → Launch → Access → Builder API Keys → + New Key → Create Key → copy the key (begins with chipp_)
2. Make Request
curl https://build.chipp.ai/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "myapp-123",
"messages": [{"role": "user", "content": "Hello"}]
}'Key Points
- Endpoint:
POST https://build.chipp.ai/api/v1/chat/completions - Model: Your app’s ID (format:
appname-123) - Auth: Bearer token in header
- Body: OpenAI-compatible format
- File attachments: upload via
POST /api/v1/chat/files, then reference the returnedfileIdin thefilesarray (see File Attachments for accepted types, limits, and examples)
Response
{
"chatSessionId": "550e8400-e29b-41d4-a716-446655440000",
"choices": [{
"message": {
"role": "assistant",
"content": "Response text here"
}
}]
}Continue Conversation
Include chatSessionId from previous response:
{
"model": "myapp-123",
"chatSessionId": "550e8400-e29b-41d4-a716-446655440000",
"messages": [{"role": "user", "content": "Follow up"}]
}OpenAI SDK
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: process.env.CHIPP_API_KEY,
baseURL: 'https://build.chipp.ai/api/v1'
});
const response = await openai.chat.completions.create({
model: 'myapp-123',
messages: [{ role: 'user', content: 'Hello' }]
});