단건 발송

알림·영수증·에이전트가 만든 개별 메일도 같은 단가로 바로 보내요. html, text, 또는 design(블록 JSON) 중 하나를 줘요.

curl
curl -X POST https://send.ad/api/v1/send -H "Authorization: Bearer $SEND_API_KEY" -H "content-type: application/json" \\\n  -d '{"to":"kim@example.com","subject":"주문이 접수됐어요","html":"<p>{{first_name|고객}}님, 감사합니다.</p>","merge":{"first_name":"민수"}}'\n# → { delivery_id, token, cost_krw }\ncurl https://send.ad/api/v1/deliveries/<token> -H "Authorization: Bearer $SEND_API_KEY"
Node.js
await fetch('https://send.ad/api/v1/send', { method: 'POST', headers: { authorization: \`Bearer \${process.env.SEND_API_KEY}\`, 'content-type': 'application/json' },\n  body: JSON.stringify({ to: 'kim@example.com', subject: '주문이 접수됐어요', html: '<p>감사합니다.</p>' }) })

단건 발송에는 (광고) 접두와 법규 푸터가 붙지 않아요(거래·알림 메일용). 광고성 내용이면 캠페인으로 보내세요.