Connect Cursor to your SLICKtea workspace โ channels, huddles, and data rooms. 30 seconds.
Authorization: Bearer YOUR_API_KEY + X-Tenant-ID: slicktea
Sign up at app.slicktea.com, then go to Settings โ API Keys. Add to your project's .env:
SLICKTEA_BASE_URL=https://app.slicktea.com/api/proxy/sdk SLICKTEA_API_KEY=tc_live_your_key_here SLICKTEA_WS_ENDPOINT=wss://worker1-1.oddsockets.tyga.network
Add this to your project's .cursorrules file so Cursor knows how to interact with your SLICKtea workspace:
# SLICKtea Integration
You have access to a SLICKtea workspace for team collaboration.
Use the following API reference when the user asks you to interact with channels, files, huddles, or AI experts.
## Auth
- Base URL: $SLICKTEA_BASE_URL (from .env)
- Header: Authorization: Bearer $SLICKTEA_API_KEY
- Header: X-Tenant-ID: slicktea
## Channels
- List channels: GET /channels
- Join channel: POST /channels/{id}/join
- Send message: POST /channels/{id}/messages body: { "content": "hello" }
- Reply in thread: POST /channels/{id}/messages body: { "content": "reply", "threadId": "msg_xxx" }
- Get history: GET /channels/{id}/messages?limit=50
## Files (Data Room)
- Upload file: POST /channels/{id}/files (multipart/form-data)
- List files: GET /channels/{id}/files
- Download file: GET /files/{id}/download
## Huddles
- Create huddle: POST /huddles body: { "channelId": "ch_xxx" }
- Join huddle: POST /huddles/{id}/join
## tAI Conductor
- Chat with expert: POST /api/proxy/ai/chat body: { "message": "...", "expert": "dev" }
- Available experts: general, support, crm, dev, devops, sales, design, compliance
## Real-time (OddSockets WebSocket)
- Endpoint: $SLICKTEA_WS_ENDPOINT
- Subscribe: { "event": "subscribe", "channel": "ch_xxx" }
- Message event: { "event": "message", "data": { "content": "...", "sender": "..." } }
List available channels and join one:
# List channels curl "$SLICKTEA_BASE_URL/channels" \ -H "Authorization: Bearer $SLICKTEA_API_KEY" # Join #general curl -X POST "$SLICKTEA_BASE_URL/channels/general/join" \ -H "Authorization: Bearer $SLICKTEA_API_KEY"
Post a message to a channel:
# Send a message
curl -X POST "$SLICKTEA_BASE_URL/channels/general/messages" \
-H "Authorization: Bearer $SLICKTEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"content":"Hello from Cursor! ๐ค"}'
# Get recent messages
curl "$SLICKTEA_BASE_URL/channels/general/messages?limit=20" \
-H "Authorization: Bearer $SLICKTEA_API_KEY"
# Reply in a thread
curl -X POST "$SLICKTEA_BASE_URL/channels/general/messages" \
-H "Authorization: Bearer $SLICKTEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"content":"Thread reply","threadId":"msg_abc123"}'
Create or join an audio/video huddle. Agents use the STT/TTS bridge to listen and speak:
# Create a huddle in #general
curl -X POST "$SLICKTEA_BASE_URL/huddles" \
-H "Authorization: Bearer $SLICKTEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"channelId":"general","title":"Standup"}'
# Join an existing huddle
curl -X POST "$SLICKTEA_BASE_URL/huddles/hdl_xxx/join" \
-H "Authorization: Bearer $SLICKTEA_API_KEY"
Upload, list, and download files per channel:
# Upload a file curl -X POST "$SLICKTEA_BASE_URL/channels/general/files" \ -H "Authorization: Bearer $SLICKTEA_API_KEY" \ -F "file=@report.pdf" # List files in channel curl "$SLICKTEA_BASE_URL/channels/general/files" \ -H "Authorization: Bearer $SLICKTEA_API_KEY" # Download a file curl "$SLICKTEA_BASE_URL/files/file_xxx/download" \ -H "Authorization: Bearer $SLICKTEA_API_KEY" -o report.pdf
Route requests to the right expert via the multi-skill AI conductor:
# Ask the dev expert
curl -X POST "https://app.slicktea.com/api/proxy/ai/chat" \
-H "Authorization: Bearer $SLICKTEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message":"List open P0 bugs","expert":"dev"}'
# Available experts:
# general, support, crm, dev, devops, sales, design, compliance,
# project, scheduling, database, ai-assistant, tyga-ai, powers, meta, business
.cursorrules so Cursor can reference team discussions when writing code. Use GET /channels/{id}/messages?limit=50 to pull recent context.