Parameters
JSON body
Request body
application/jsonvariantstringRequiredSending variant (e.g. single, bulk).
Example
singlecontactListstringOptionalComma-separated list of contact IDs to send to.
segmentIdstringOptionalExternal ID of a contact segment to use as recipient list. Required when variant = "contactSegment".
subjectstringRequiredEmail subject line.
messagestringRequiredEmail body content (HTML or plain text).
attachmentTokensstring[]OptionalOptional list of blob tokens to attach to the e-mail. Blobs must belong to the same organisation as the request.