After you add it to your project, this is all it takes.
curl -X POST 'https://api.sendsend.email/v1/emails' \
-H "Authorization: Bearer $SENDSEND_API_KEY" \
-H 'Content-Type: application/json' \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"from": "Acme <hello@mail.acme.com>",
"to": [
"maria@example.com"
],
"template_id": "monthly-overview",
"variables": {
"company": "Acme",
"first_name": "Maria",
"month": "October",
"stats": [
{
"label": "Visitors",
"value": "48,210"
},
{
"label": "Orders",
"value": "1,204"
},
{
"label": "Revenue",
"value": "$61,300"
}
],
"report_url": "https://example.com/report"
}
}'