Skip to main content

Fields

attachments : [EmailAttachmentType]

Attachments of the email message.

channel : String! required
createdAt : DateTime! required

The date and time the email was created.

fromEmail : String! required

The address the email was sent from.

fromNumber : String! required
htmlBody : String

HTML body of the email message.

id : ID! required

The ID of the email.

recipient : String

Email recipient.

sender : String

Email sender.

sentAt : DateTime

The date and time the email was sent.

subject : String

Subject line of the email message.

supportSiteUrl : String

URL to view the email in the support site.

templateCode : String! required

The email template code.

textBody : String

Text body of the email message.

toAddress : String! required

The email address of the recipient.

toNumber : String! required
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "attachments": [EmailAttachmentType], "channel": "dream-write-inside-break-cold", "createdAt": "1983-08-30T07:04:17.635300+00:00", "fromEmail": "season-bill-treat-her-wife", "fromNumber": "training-family-effect-local-beyond", "htmlBody": "present-always-action-work-far", "id": "90070356", "recipient": "floor-hospital-huge-ask-fish", "sender": "own-lay-economic-size-sing", "sentAt": "2020-06-05T02:43:50.369625+00:00", "subject": "test-light-green-consumer-debate", "supportSiteUrl": "current-guess-star-become-send", "templateCode": "bed-off-fund-dinner-whom", "textBody": "American-cost-society-often-TV", "toAddress": "early-big-particularly-space-begin", "toNumber": "detail-space-I-environmental-test" }