Send an email
Sends an email to one or more contacts identified by their email address (“to” accepts a single email or an array of up to 20), from one of the account verified email channels. Use a saved template (“template_id” or “template_name”, plus “variables”) or free-form content (“subject” and “html_body”). If no contact exists for a recipient address, one is created. When the account has more than one verified channel, “from” is required to pick the sender address. Single-recipient sends also accept “cc” and “bcc” (up to 10 each): one message is sent where cc recipients are visible to everyone. Multi-recipient “to” arrays instead send an individual private copy per recipient. The response contains a per-recipient result list; “success” is true only when every recipient succeeded.
Headers
API key needed to authorize the request
Body
The email payload
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$1 - 10 elements^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$1 - 10 elements^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$1 - 255^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$1 - 2551110Response
Send processed. Returns { success, results: [{ to, success, error? }] } with one entry per recipient.
