Powerful API to easily integrate SiriClaw into your applications.
Create your API key in account settings
Use Bearer Token for API authentication
https://api.clawdbot.com/v1
curl -X POST https://api.clawdbot.com/v1/chat \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'| Method | Endpoint | Description | Auth |
|---|---|---|---|
| POST | /api/chat/sessions | Create new chat session | Required |
| GET | /api/chat/sessions | Get user session list | Required |
| POST | /api/chat/sessions/:id/messages | Send message and get AI response (SSE) | Required |
| GET | /api/billing/balance | Query current token balance | Required |
| POST | /api/files/upload | Upload file to session | Required |
| GET | /api/files/:id | Download file | Required |
npm install @clawdbot/sdkpip install clawdbotgo get github.com/clawdbot/go-sdkcargo add clawdbot