AI Email Generation API
Generate Emails via API
Integrate AI email generation into your application. Generate personalized emails at scale.
API Features
Personalization
Generate personalized emails based on customer data.
Template Variables
Use dynamic variables for names, companies, and more.
Tone Control
Adjust tone from formal to casual as needed.
Batch Generation
Generate hundreds of emails in a single API call.
Use Cases
Cold Outreach
Generate personalized cold emails at scale
Follow-ups
Automated follow-up sequences
Onboarding
Customer onboarding email sequences
API Documentation
// Generate email with WorkChi AI Gateway
const response = await fetch('https://api.workchi.ai/v1/chat/completions', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
model: 'claude-sonnet-4',
messages: [
{ role: 'system', content: 'You are a professional copywriter specializing in sales emails.' },
{ role: 'user', content: 'Write a follow-up email for a software demo. Keep it brief, friendly, and include a call to action.' }
],
max_tokens: 500,
temperature: 0.7,
}),
});
const data = await response.json();
console.log(data.choices[0].message.content); Base URL
https://api.workchi.ai/v1 See Business Workflow
Learn how teams use AI for email writing. See benefits and automation strategies.
View Use Case