01 · quick start
From zero to delivered in three minutes.
Grab an API key from the dashboard. Paste the request below into a terminal, swapping in your key and a recipient you control. Check your inbox.
curl https://api.comms.ndcoders.com/v1/messages/email \
-H "x-api-key: $COMMS_KEY" \
-H "Content-Type: application/json" \
-d '{
"sender": { "fromAddress": "hello@yourapp.com" },
"destination": { "to": ["you@yourcompany.com"] },
"content": {
"type": "raw",
"subject": "Hello from Comms",
"body": "If this lands in your inbox, you are integrated."
}
}' import os
import requests
resp = requests.post(
"https://api.comms.ndcoders.com/v1/messages/email",
headers={"x-api-key": os.environ["COMMS_KEY"]},
json={
"sender": {"fromAddress": "hello@yourapp.com"},
"destination": {"to": ["you@yourcompany.com"]},
"content": {
"type": "raw",
"subject": "Hello from Comms",
"body": "If this lands in your inbox, you are integrated.",
},
},
)
print(resp.json()) const resp = await fetch("https://api.comms.ndcoders.com/v1/messages/email", {
method: "POST",
headers: {
"x-api-key": process.env.COMMS_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({
sender: { fromAddress: "hello@yourapp.com" },
destination: { to: ["you@yourcompany.com"] },
content: {
type: "raw",
subject: "Hello from Comms",
body: "If this lands in your inbox, you are integrated.",
},
}),
});
console.log(await resp.json()); response · 202 accepted
{
"messageId": "5f1d8c2e-9b3a-4c7e-8f1a-2d6b9e0c4a71",
"status": "accepted"
}