Documentation Index
Fetch the complete documentation index at: https://docs.hellocobi.com/llms.txt
Use this file to discover all available pages before exploring further.
The Cobi Recommendations API delivers personalized recommendations to enhance
user engagement and improve conversion rates.
API Structure
All Recommendations API endpoints follow the same URL pattern::type is one of:
Common Features
Authentication
Authentication
All endpoints require API key authentication via the Authorization header:
Response Format
Response Format
All endpoints return a consistent response format:The response is an array of recommendation objects, each containing:
name: Human-readable name for the recommendation setstudent_idorsegment_id: Identifier for the customer or segmentoffers: Array of offer UUIDs that are recommended
Rate Limiting
Rate Limiting
Recommendations are computationally intensive. Please be mindful of rate limits:
- Maximum 1000 requests per minute per API key
- Consider caching recommendations for frequently requested customers/segments
Available Endpoints
Customer Recommendations
Get personalized recommendations for a specific customer based on their
preferences and behavior
Segment Recommendations
Get recommendations for a specific customer segment based on collective
preferences
Best Practices
- Performance
- Data Quality
- Security
- Cache recommendations for frequently requested customers/segments - Implement proper error handling for failed requests - Use appropriate timeouts for recommendation requests