Interactive API Playground
Test the Momentize.ai API with real conversations. See how our AI detects high-value moments and generates relevant sponsored content.
Live API
•
No API key required
•
Real-time results
Try These Examples
Conversation Input
user
I need to buy a new laptop for work
API Request
curl -X POST https://api.momentize.ai/v1/analyze \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"conversation": [
{
"role": "user",
"content": "I need to buy a new laptop for work"
}
],
"session_id": "demo-session-123"
}'🎯
Ready to Analyze
Click "Analyze for Moments" to see our AI detect high-value moments and generate sponsored content
Ready to Integrate?
See how easy it is to add Momentize.ai to your application
JavaScript SDK
import { Momentize } from '@momentize/sdk';
const momentize = new Momentize({
apiKey: 'your-api-key'
});
const result = await momentize.analyze({
conversation: conversation,
sessionId: 'user-session-123'
});
// Display sponsored content
if (result.sponsored_content.length > 0) {
showSponsoredContent(result.sponsored_content[0]);
}Python SDK
from momentize import Momentize
momentize = Momentize(api_key='your-api-key')
result = momentize.analyze({
'conversation': conversation,
'session_id': 'user-session-123'
})
# Display sponsored content
if result['sponsored_content']:
show_sponsored_content(result['sponsored_content'][0])