used in production by dev teams at
Give your agent full knowledge of the AutoSend API, authentication patterns, and best practices to integrate emails into your product.

npx skills add autosendhq/skills
curl --location 'https://api.autosend.com/v1/mails/send'
--header 'Authorization: Bearer YOUR_API_KEY'
--header 'Content-Type: application/json'
--data-raw '{
"from": {
"email": "[email protected]",
"name": "AutoSend"
},
"to": {
"email": "[email protected]",
"name": "Test User"
},
"subject": "Welcome to AutoSend 🎉",
// Option 1: Send using template
"templateId": "your_template_id",
// Option 2: Send using raw HTML or text
"html": "<h1>Hello User</h1><p>Thanks for joining AutoSend!</p>",
"text": "Hello User,
Thanks for joining AutoSend!",
// Optional: Unsubscribe group for compliance
"unsubscribeGroupId": "12345"
}'

email API
Send transactional emails programmatically with a clean, reliable REST API built for speed and scale.
email API
Send transactional emails programmatically with a clean, reliable REST API built for speed and scale.

curl --location 'https://api.autosend.com/v1/mails/send'
--header 'Authorization: Bearer YOUR_API_KEY'
--header 'Content-Type: application/json'
--data-raw '{
"from": {
"email": "[email protected]",
"name": "AutoSend"
},
"to": {
"email": "[email protected]",
"name": "Test User"
},
"subject": "Welcome to AutoSend 🎉",
// Option 1: Send using template
"templateId": "your_template_id",
// Option 2: Send using raw HTML or text
"html": "<h1>Hello User</h1><p>Thanks for joining AutoSend!</p>",
"text": "Hello User,
Thanks for joining AutoSend!",
// Optional: Unsubscribe group for compliance
"unsubscribeGroupId": "12345"
}'

SMTP

SMTP Credentials
Use the following credentials to configure your SMTP client:
For implicit TLS, use port 465.


SDK

import { Autosend } from "autosendjs";
const autosend = new Autosend("as_xxxxxxxxxxxx");
await autosend.emails.send({
from: { email: "[email protected]" } ,
to: { email: "[email protected]" },
subject: "Hello World",
html: "<strong>Welcome to Autosend!</strong>",
});

Email Analytics
Debug email issues before your users report them.
Monitor every email you send and follow its path with detailed delivery, open, and click insights.



Migrate to AutoSend
AI Ready Documentation
Enable AI agents to work seamlessly with AutoSend.