Send an email message from AI context
POST
Send an email message from AI context
Last modified on July 17, 2026
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
InteraOne is open source — star or contribute on GitHub.
curl --request POST \
--url http://localhost:3002/api/v1/email/send \
--header 'Content-Type: application/json' \
--header 'x-ai-tool-secret: <x-ai-tool-secret>' \
--data '
{
"to": "<string>",
"subject": "<string>",
"html": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-ai-tool-secret': '<x-ai-tool-secret>', 'Content-Type': 'application/json'},
body: JSON.stringify({to: '<string>', subject: '<string>', html: '<string>'})
};
fetch('http://localhost:3002/api/v1/email/send', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/email/send"
payload = {
"to": "<string>",
"subject": "<string>",
"html": "<string>"
}
headers = {
"x-ai-tool-secret": "<x-ai-tool-secret>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url http://localhost:3002/api/v1/email/send \
--header 'Content-Type: application/json' \
--header 'x-ai-tool-secret: <x-ai-tool-secret>' \
--data '
{
"to": "<string>",
"subject": "<string>",
"html": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-ai-tool-secret': '<x-ai-tool-secret>', 'Content-Type': 'application/json'},
body: JSON.stringify({to: '<string>', subject: '<string>', html: '<string>'})
};
fetch('http://localhost:3002/api/v1/email/send', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/email/send"
payload = {
"to": "<string>",
"subject": "<string>",
"html": "<string>"
}
headers = {
"x-ai-tool-secret": "<x-ai-tool-secret>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)