Send Single EmailAsk AIpost https://api.campaignrefinery.com/api/send/single_emailSend a single email to a contact using raw HTML content. Supports two recipient modes: by email address or by contact UUID.Body ParamsemailstringRecipient's email address (required if contact_id not provided)contact_idstringRecipient's contact UUID (required if email not provided)subjectstringrequiredEmail subject line (required)contentstringrequiredHTML email content (required)domain_idstringrequiredDomain settings for Managed users, Sending Domains for BYO users, copy the uuid (required)footer_idstringrequiredFooter template ID (required)from_namestringCustom sender name to display in the email From field. If not provided, the default sender name from your domain settings will be used.from_emailstringCustom sender email address. Must use the same domain as your verified sending domain (e.g., if your domain is example.com, from_email must be [email protected]). If not provided, the default sender email from your domain settings will be used.replyto_namestringCustom reply-to name. If not provided, replies will use the default settings.replyto_emailstringCustom reply-to email address. If not provided, replies will use the default settings.preview_textstringlength ≤ 150Preview text shown in email clients before opening the email (max 150 characters).custom_paramsobjectCustom metadata key-value pairs. Returned in webhook notifications (max 10 keys, max 1024 characters per value).custom_params objectsuppression_list_idsarray of stringsList of suppression list UUIDs to check againstsuppression_list_idsADD stringto_namestringCustom recipient display name for the To field. If not provided, the contact's name from their record will be used.custom_headersobjectCustom X- headers to include in the email (max 10). All keys must start with 'X-' and values must be strings (max 998 characters each).custom_headers objectattachmentsarray of objectslength ≤ 5File attachments to include in the email (max 5). Individual attachments max 10MB, total max 25MB.attachmentsADD objectResponses 200Email sent successfully 403Invalid or inactive API key 404Contact not found 422Validation error or sending failedUpdated 3 months ago