Module types

Source
Expand description

The data types sent to and returned from the API client.

Structs§

AbTestSummary
Additional
Additional checks on the email address.
AdvancedStatsClicks
The individual events and their stats.
AdvancedStatsClicksOpensAllOf
All of the following types are flattened into one object:
AdvancedStatsMailboxProvider
The individual events and their stats.
AdvancedStatsMailboxProviderAllOf
All of the following types are flattened into one object:
AdvancedStatsOpens
The individual events and their stats.
AllSegmentsResponse
ApiError
ApiErrors
ApiKeyNameId
ApiKeyNameScopes
ApiKeyNameScopesAllOf
All of the following types are flattened into one object:
Asm
An object allowing you to specify how to handle unsubscribes.
Attachments
AuthenticationDomain
AuthenticationDomainDns
The DNS records used to authenticate the sending domain.
AutomationsLinkStatsResponse
AutomationsLinkStatsResponseResults
AutomationsResponse
AutomationsResponseResults
BillableBreakdown
billable_breakdown will only appear to the parent user in an account with subusers.
BlocksResponse
BounceResponse
BypassBounceManagement
Allows you to bypass the bounce list to ensure that the email is delivered to recipients. Spam report and unsubscribe lists will still be checked; addresses on these other lists will not receive the message. This filter cannot be combined with the bypass_list_management filter. See our documentation for more about bypass filters.
BypassListManagement
Allows you to bypass all unsubscribe groups and suppressions to ensure that the email is delivered to every single recipient. This should only be used in emergencies when it is absolutely necessary that every recipient receives your email. This filter cannot be combined with any other bypass filters. See our documentation for more about bypass filters.
BypassSpamManagement
Allows you to bypass the spam report list to ensure that the email is delivered to recipients. Bounce and unsubscribe lists will still be checked; addresses on these other lists will not receive the message. This filter cannot be combined with the bypass_list_management filter. See our documentation for more about bypass filters.
BypassUnsubscribeManagement
Allows you to bypass the global unsubscribe list to ensure that the email is delivered to recipients. Bounce and spam report lists will still be checked; addresses on these other lists will not receive the message. This filter applies only to global unsubscribes and will not bypass group unsubscribes. This filter cannot be combined with the bypass_list_management filter. See our documentation for more about bypass filters.
CampaignResponse
CampaignResponseAllOf
All of the following types are flattened into one object:
CampaignsRequest
CancelPauseAScheduledSendRequest
CategoryStats
CcBccEmailObject
Checks
Granular checks for email address validity.
ClickTracking
Contact
ContactDbRecipientResponse
ContactDetails
ContactDetails2
ContactDetails3
ContactExport
ContactImport
ContactRequest
ContactResponse
ContactResponseCustomFields
The user may choose to create up to 120 custom fields or none at all. This is not a reserved field.
ContactSummary
ContactdbCustomField
ContactdbCustomFieldWithAllOf
All of the following types are flattened into one object:
ContactdbCustomFieldWithId
ContactdbCustomFieldWithValue
ContactdbCustomFieldWithValueAllOf
All of the following types are flattened into one object:
ContactdbList
ContactdbRecipient
ContactdbRecipientCount
ContactdbSegments
ContactdbSegmentsConditions
ContactdbSegmentsWithAllOf
All of the following types are flattened into one object:
ContactdbSegmentsWithId
Contacts
Content
CreateApiKeysRequest
CreateApiKeysResponse
CreateIntegrationRequest
Credentials
CreditAllocation
CustomFieldDefinitionsResponse
CustomFields
DeleteAccessSettingsWhitelistRequest
DeleteIpsPoolsPoolNameResponse
DeleteListsResponse
The delete has been accepted and is processing.
DeleteMcContactsResponse
The deletion job has been accepted and is being processed.
DeleteMcContactsResponseData
DeleteMcListsContactsResponse
The removal is accepted and processing.
DeleteSuppressionBlocksRequest
DeleteSuppressionBouncesRequest
DeleteVerifiedSendersResponse
DesignCommonFields
DesignCommonFieldsAllOf
All of the following types are flattened into one object:
DesignDuplicateInput
DesignInput
DesignInputAllOf
All of the following types are flattened into one object:
DesignOutputAllOf
All of the following types are flattened into one object:
DesignOutputSummary
DesignOutputSummaryAllOf
All of the following types are flattened into one object:
Dkim
The DKIM record for messages sent using this authenticated domain.
Dkim1
A DNS record for this authenticated domain.
Dns
The DNS records generated for this link branding.
Domain
Checks on the domain portion of the email address.
DomainAuthentication
DomainAuthentication200Response
DomainAuthentication200ResponseAllOf
All of the following types are flattened into one object:
DomainAuthenticationDns
The DNS records for this authenticated domain.
DomainCname
The DNS record generated to point to your link branding subdomain.
EmailActivityResponseCommonFields
EmailConfig
EnforcedTlsRequestResponse
Error
Errors
ErrorsData
ErrorsDataType
If the request is incorrect, an array of errors will be returned.
ErrorsSeg
ErrorsSegData
If the request is incorrect, an array of errors will be returned.
Event
FieldMappingsAnyOf
All of the following types are flattened into one object:
Footer
The default footer that you would like included on every email.
From
FromEmailObject
FullSegment
FullSegmentAllOf
All of the following types are flattened into one object:
Ganalytics
Allows you to enable tracking provided by Google Analytics.
GetAccessSettingsActivityResponse
GetAccessSettingsActivityResponseResult
GetAlertsAlertResponse
GetAlertsResponse
GetApiKeysKeyResponse
GetApiKeysResponse
GetAsmGroupsGroupResponse
GetAsmGroupsGroupResponseAllOf
All of the following types are flattened into one object:
GetAsmSuppressionsEmailResponse
GetAsmSuppressionsResponse
GetBrowsersStatsResponse
GetBrowsersStatsResponseData
GetCampaignsCampaignResponse
GetCampaignsResponse
GetCategoriesResponse
GetCategoriesResponseData
GetClientsStatsResponse
GetContactdbRecipientsRecipientListsResponse
GetContactdbRecipientsSearchResponse
GetContactdbReservedFieldsResponse
GetContactdbStatusResponse
GetContactdbStatusResponseData
GetDevicesStatsResponse
GetGeoStatsResponse
GetGeoStatsResponseData
GetIpsAssignedResponse
GetIpsIpAddressResponse
GetIpsPoolsPoolNameResponse
GetIpsRemainingResponse
GetIpsRemainingResponseResults
GetIpsResponse
GetMailSettingsResponse
GetMailSettingsResponseResult
GetMailboxProvidersStatsResponse
GetMailboxProvidersStatsResponseData
GetMarketingContactsExportsResponse
GetMarketingContactsExportsResponseData
GetMarketingContactsExportsResponseErrors
GetMarketingContactsExportsResponseResult
GetMarketingContactsExportsResponseResultMetadata
GetMarketingContactsImportsResponse
GetMarketingSegmentsResponse
GetMarketingSinglesendsCategoriesResponse
GetMarketingSinglesendsResponse
GetMcContactsCountResponse
GetMcContatsResponse
GetMcFieldDefinitionsResponse
GetMcListsContactsCountResponse
GetMcListsResponse
GetMcListsResponseAllOf
All of the following types are flattened into one object:
GetMcListsResponseData
GetMessagesDownloadResponse
GetMessagesMsgResponse
GetMessagesResponse
GetPartnerSettingsResponse
GetScopesRequestsResponse
GetScopesResponse
GetScopesResponseData
GetScopesResponseErrors
GetSendersResponse
GetStatsResponse
GetStatsResponseData
GetSubusersReputationsResponse
GetSuppressionUnsubscribesResponse
GetTeammatesPendingResponse
GetTeammatesPendingResponseResult
GetTeammatesResponse
GetTeammatesResponseResult
GetTeammatesUsernameResponse
GetTemplatesResponse
GetTemplatesResponseData
GetTemplatesResponseErrors
GetTrackingSettingsOpenResponse
GetTrackingSettingsResponse
GetTrackingSettingsResponseResult
GetUserAccountResponse
GetUserCreditsResponse
GetUserEmailResponse
GetUserProfileResponse
GetUserWebhooksEventSettingsSignedResponse
GetUserWebhooksParseSettingsResponse
GetUserWebhooksParseStatsResponse
GetUserWebhooksParseStatsResponseData
GetUserWebhooksParseStatsResponseMetrics
GetVerifiedSendersDomainsResponse
GetVerifiedSendersDomainsResponseResults
GetVerifiedSendersResponse
GetVerifiedSendersStepsCompletedResponse
GetVerifiedSendersStepsCompletedResponseResults
GetVerifiedSendersVerifyTokenResponseErrors
GlobalErrorResponseSchema
GlobalErrorResponseSchemaErrors
GoogleAnalyticsSettings
Help
helper text or docs for troubleshooting
InvalidEmail
IpAccessResponse
IpPool
IpPoolsPoolResp
IpWarmupResponse
Ips
L
Link
LinkBranding200Response
LinkTrackingMetadata
List
ListAllCustomFieldsResponse
ListAllListsResponse
ListAllSegmentsResponse
ListDesignsResponse
ListRecipientsOnASegmentResponse
ListRecipientsResponse
Lists
LocalPart
Checks on the local part of the email address.
MailBatchId
MailCname
The CNAME record for the authenticated domain.
MailSettings
A collection of different mail settings that you can use to specify how you would like this email to be handled.
MailSettingsAddressWhitelabel
MailSettingsBouncePurge
MailSettingsFooter
MailSettingsForwardBounce
MailSettingsForwardSpam
MailSettingsPatch
MailSettingsTemplate
Message
Messages
Metadata
MetadataType
Metrics
MetricsData
Monitor
Notifications
OpenTracking
Allows you to track if the email was opened by including a single pixel image in the body of the content. When the pixel is loaded, Twilio SendGrid can log that the email was opened.
OwnerCname
The DNS record generated to verify who created the link branding.
ParseSetting
PartnerSettingsNewRelic
PatchAlertsAlertRequest
PatchContactdbListsListResponse
PatchContactdbRecipientsRequest
PatchContactdbSegmentsSegmentRequest
PatchMailSettingsAddressWhitelistRequest
PatchMailSettingsTemplateRequest
PatchMailSettingsTemplateResponse
PatchMcListsRequest
PatchPartnerSettingsNewRelicRequest
PatchScopesRequestsApproveResponse
PatchSsoCertificatesCertRequest
PatchSsoTeammatesUsernameRequest
PatchSubusersSubuserNameRequest
PatchTeammatesUsernameRequest
PatchTemplatesTemplateRequest
PatchTrackingSettingsOpenRequest
PatchUserWebhooksEventSettingsSignedResponse
PatchUserWebhooksEventSettingsSignedResponseErrors
PatchVerifiedSendersResponse
PatchWhitelabelDomainsDomainRequest
PatchWhitelabelLinksRequest
Permissions
Personalizations
PostAccessSettingsWhitelistRequest
PostAlertsRequest
PostAlertsResponse
PostAsmGroupsGroupSuppressionsResponse
PostAsmGroupsResponse
PostContactdbCustomFieldsRequest
PostContactdbRecipientsRequest
PostContactdbRecipientsSearchRequest
PostContactdbRecipientsSearchResponse
PostContactdbRecipientsSearchResponseCustomFields
PostContactdbRecipientsSearchResponseData
PostIpsRequest
PostIpsResponse
PostIpsResponseData
PostIpsWarmupRequest
PostIpsWarmupResponse
PostIpsWarmupResponseErrors
PostMailSendRequest
PostMailSendRequestTrackingSettingsClick
Allows you to track if a recipient clicked a link in your email.
PostMarketingContactsBatchRequest
Array of IDs
PostMarketingContactsBatchResponse
PostMarketingContactsSearchEmailsRequest
PostMarketingContactsSearchEmailsResponse
PostMarketingSegmentsDeleteRequest
PostMarketingSegmentsDeleteResponse
PostMarketingSegmentsDeleteResponseErrors
PostMarketingSegmentsRequest
PostMarketingSegmentsRequestAllOf
All of the following types are flattened into one object:
PostMarketingSegmentsResponse
PostMarketingSendersRequest
PostMarketingSinglesendsRequest
PostMarketingSinglesendsResponse
PostMarketingTestSendEmailRequest
PostMcContactsExportsRequest
PostMcContactsExportsResponse
PostMcContactsSearchRequest
PostMcContactsSearchResponse
PostMcFieldDefinitionsRequest
PostMcFieldDefinitionsResponse
PostMcFieldDefinitionsResponseAllOf
All of the following types are flattened into one object:
PostMcListsResponse
PostMessagesDownloadResponse
PostSendersRequest
PostSendersRequestAllOf
All of the following types are flattened into one object:
PostSendersResponse
PostSsoCertificatesRequest
PostSubusersRequest
PostTeammatesRequest
PostTeammatesResponse
PostTeammatesResponseErrors
PostTemplatesRequest
PostTemplatesTemplateRequest
PostUserWebhooksEventTestRequest
PostValidationsEmailRequest
PostValidationsEmailResponse
PostValidationsEmailResponseResult
PostVerifiedSendersResponse
PostVerifiedSendersResponseErrors
PostWhitelabelDnsEmailRequest
PostWhitelabelDnsEmailResponse
PostWhitelabelDnsEmailResponseErrors
PostWhitelabelDomainsRequest
PostWhitelabelDomainsValidateResponse
PostWhitelabelDomainsValidateResponseData
PostWhitelabelDomainsValidateResponseValidationResults
The individual DNS records that are checked when validating, including the reason for any invalid DNS records.
PostWhitelabelIpsRequest
PostWhitelabelIpsValidateResponse
PostWhitelabelIpsValidateResponseValidationResults
The specific results of the validation.
PostWhitelabelLinksLinkSubuserRequest
PostWhitelabelLinksRequest
PostWhitelabelLinksValidateResponse
PostWhitelabelLinksValidateResponseErrors
PostWhitelabelLinksValidateResponseValidationResultsDomainCname
The DNS record generated for the sending domain used for this branded link.
PutApiKeysKeyRequest
PutDesignRequest
PutIpsPoolsPoolNameRequest
PutMarketingSinglesendsScheduleRequest
PutMarketingSinglesendsScheduleResponse
PutMcContactsImportsRequest
PutMcContactsImportsResponse
PutMcContactsImportsResponseData
PutMcContactsRequest
PutMcContactsResponse
PutSubusersSubuserNameIpsResponse
PutUserEmailRequest
PutUserPasswordRequest
PutUserUsernameRequest
PutUserUsernameResponse
R
Recipients
ReplyEmailObject
ReplyTo
ReservedFieldDefinitionsResponse
ReservedFields
Resources
resources in which segment is being used
Result
Results
Result map of the import job.
RetrieveAGlobalSuppressionResponse
ReverseDns
SandboxMode
Sandbox Mode allows you to send a test email to ensure that your request body is valid and formatted correctly.
ScheduleACampaignRequest
ScheduleACampaignResponse
SegmentQueryJson
SegmentQueryJsonContacts
SegmentQueryJsonContactsL
SegmentQueryJsonContactsLData
SegmentQueryJsonContactsLR
SegmentQueryJsonContactsR
SegmentQueryJsonContactsRData
SegmentResponse
SegmentStatusResponse
Segment status indicates whether the segment’s contacts will be updated periodically
SegmentSummary
SegmentSummaryV2
SegmentUpdate
SegmentWrite
SegmentWriteV2
SelfMetadata
SendACampaignResponse
SendATestCampaignRequest
SendTo
SenderAllOf
All of the following types are flattened into one object:
SenderId
SenderRequest
SenderRequestFrom
SendersRequestBody
SingleContactRequest
SinglesendRequest
SinglesendResponse
SinglesendResponseAllOf
All of the following types are flattened into one object:
SinglesendResponseShort
SinglesendSchedule
SinglesendSearch
SinglesendWarning
SinglesendsLinkStatsResponse
SinglesendsLinkStatsResponseResults
SinglesendsResponse
SinglesendsResponseResults
SpamReportsResponse
Spf
The SPF record for the authenticated domain.
SsoCertificateBody
SsoErrorResponse
SsoIntegration
SsoIntegrationAllOf
All of the following types are flattened into one object:
SsoTeammateCommonFields
SsoTeammateRequestAllOf
All of the following types are flattened into one object:
SsoTeammateResponse
SsoTeammateResponseAllOf
All of the following types are flattened into one object:
SsoTeammatesPatchResponse
SsoTeammatesPatchResponseAllOf
All of the following types are flattened into one object:
Stats
StatsAdvancedBaseSchema
StatsAdvancedBaseSchemaData
StatsAdvancedGlobal
StatsAdvancedGlobalAllOf
All of the following types are flattened into one object:
SubscriptionTracking
Allows you to insert a subscription management link at the bottom of the text and HTML bodies of your email. If you would like to specify the location of the link within your email, you may use the substitution_tag.
SubscriptionTrackingSettings
Subuser
SubuserPost
SubuserStats
SubuserStatsData
SubuserStatsMetrics
Subusers
SuppressionGroup
SuppressionGroupRequestBase
Suppressions
SuppressionsRequestBody
TneSenderAllOf
All of the following types are flattened into one object:
TneSenderData
TneSenderId
TrackingSettings
Settings to determine how you would like to track the metrics of how your recipients interact with your email.
TraitCancelScheduledSendsErrors400Response
TraitCancelScheduledSendsErrors400ResponseData
TraitGlobalErrors500Response
TraitMakoErrorResponse400
TraitMakoErrorResponse400Errors
TraitPagination200Response
TransactionalTemplate
TransactionalTemplateAllOf
All of the following types are flattened into one object:
TransactionalTemplateVersionCreate
TransactionalTemplateVersionOutput
TransactionalTemplateVersionOutputAllOf
All of the following types are flattened into one object:
TransactionalTemplatesTemplateLean
TransactionalTemplatesVersionOutputLean
UpdateACampaignRequest
UpdateAScheduledCampaignResponse
UploadHeaders
UserProfile
UserScheduledSendStatus
The status of the scheduled send.
UserScheduledSendStatusAllOf
All of the following types are flattened into one object:
Users
ValidationResults
The individual validation results for each of the DNS records associated with this branded link.
ValueAnyOf
All of the following types are flattened into one object:
Verified
Only verified sender identities can be used to send email.
VerifiedSenderRequestSchema
VerifiedSenderResponseSchema
Warning
Warnings
Webhook
WebhooksEventWebhookRequest
WebhooksEventWebhookResponse
WebhooksEventWebhookUpdateWithOAuthRequest

Enums§

AbPhase
This is the A/B phase of the Single Send stat returned. If the group_by parameter doesn’t include ab_phase in the request, then the value is “all”.
AbPhaseId
AbTestSummaryType
What differs between the A/B tests
AbbvMessageStatus
AggregatedBy
Dictates how the stats are time-sliced. Currently, "total" and "day" are supported.
AndOr
BounceType
Use to distinguish between types of bounces
ClientType
Specifies the type of client to retrieve stats for. Must be either “phone”, “tablet”, “webmail”, or “desktop”.
ContactExportStatus
The export job’s status. Allowed values: pending, ready, or failure.
Country
The country you would like to see statistics for. Currently only supported for US and CA.
Disposition
The attachment’s content-disposition, specifying how you would like the attachment to be displayed. For example, “inline” results in the attached file are displayed automatically within the message while “attachment” results in the attached file require some action to be taken before it is displayed, such as opening or downloading the file.
Editor
The editor used in the UI.
EmailActivityResponseCommonFieldsStatus
The message’s status.
EventName
Name of event
FieldType
FileType
File type for export file. Choose from json or csv.
Generation
Defines the generation of the template.
Generations
Comma-delimited list specifying which generations of templates to return. Options are legacy, dynamic or legacy,dynamic.
GetAlertsAlertResponseType
The type of alert.
GetAlertsResponseType
The type of alert.
GetUserAccountResponseType
The type of account for this user.
GroupBy
LinkBranding200ResponseDnsDomainCnameType
The type of DNS record that was generated.
Operator
OutboundIpType
Whether or not the outbound IP is dedicated vs shared
PostMessagesDownloadResponseStatus
PutMarketingSinglesendsScheduleResponseStatus
PutMcContactsImportsRequestFileType
Upload file type.
ScheduleACampaignResponseStatus
The status of your campaign.
SendAt
This is the ISO 8601 time at which to send the Single Send; must be in future, or the string “now”
SinglesendSearchStatus
SortByDirection
The direction you want to sort.
SortByMetric
The metric that you want to sort by. Metrics that you can sort by are: blocks, bounces, clicks, delivered, opens, requests, unique_clicks, unique_opens, and unsubscribes.’
Status
The status of the scheduled send.
TraitAutomationQueryParamsGroupBy
TraitStatsAdvancedBaseQueryStringsAggregatedBy
How to group the statistics. Must be either “day”, “week”, or “month”.
Type
The type of the field.
UserType
A Teammate can be an “admin,” “owner,” or “teammate.” Each role is associated with the scope of the Teammate’s permissions.
Verdict
A generic classification of whether or not the email address is valid.
WinnerCriteria
How the winner will be decided