MailChannels
mail_channelsMailChannels provides transactional email delivery, domain and DKIM management, sub-account administration, usage reporting, suppression lists, metrics, and webhooks.
Acciones disponibles (43)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Activate Sub-accountMAIL_CHANNELS_ACTIVATE_SUB_ACCOUNTAcciónReactivate a suspended sub-account, restoring its ability to send email.
MAIL_CHANNELS_ACTIVATE_SUB_ACCOUNTAcciónReactivate a suspended sub-account, restoring its ability to send email.
Parámetros de entrada
handlestringObligatorioHandle of the suspended sub-account to reactivate.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check Domain AuthenticationMAIL_CHANNELS_CHECK_DOMAIN_AUTHENTICATIONAcciónCheck a sending domain's DKIM, SPF, sender-domain DNS, and Domain Lockdown configuration without changing it.
MAIL_CHANNELS_CHECK_DOMAIN_AUTHENTICATIONAcciónCheck a sending domain's DKIM, SPF, sender-domain DNS, and Domain Lockdown configuration without changing it.
Parámetros de entrada
domainstringObligatorioSending domain to check. Stored DKIM keys for this domain are used when no more specific DKIM setting is supplied.
sender_idstringMailChannels sender ID used for Domain Lockdown verification, if configured.
dkim_settingsobject[]DKIM settings to check. Omit to use stored keys for domain; at most 10 settings are allowed.
envelope_from_domainstringEnvelope sender domain used for SPF and Domain Lockdown checks when it differs from domain.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create DKIM KeyMAIL_CHANNELS_CREATE_DKIM_KEYAcciónCreate a MailChannels-managed DKIM key pair and return the public key and DNS record that must be published.
MAIL_CHANNELS_CREATE_DKIM_KEYAcciónCreate a MailChannels-managed DKIM key pair and return the public key and DNS record that must be published.
Parámetros de entrada
domainstringObligatorioDomain for the new MailChannels-managed DKIM key.
selectorstringObligatorioUnique DKIM selector for the domain (1-63 characters).
algorithmstringKey algorithm. MailChannels currently supports only rsa.
key_lengthintegerRSA key length in bits, from 1024 to 4096 in multiples of 1024.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Sub-accountMAIL_CHANNELS_CREATE_SUB_ACCOUNTAcciónCreate a sub-account under the connected parent account. This creates persistent tenant state but no API or SMTP credential.
MAIL_CHANNELS_CREATE_SUB_ACCOUNTAcciónCreate a sub-account under the connected parent account. This creates persistent tenant state but no API or SMTP credential.
Parámetros de entrada
handlestringUnique lowercase alphanumeric handle (3-128 characters). Omit to let MailChannels generate one.
company_namestringObligatorioDisplay company name for the sub-account (3-128 characters).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Sub-account API KeyMAIL_CHANNELS_CREATE_SUB_ACCOUNT_API_KEYAcciónExplicitly create a sensitive API credential for a sub-account. The returned secret may be shown only once; store it securely because tool or application logs can expose it. This provider-created credential is output for the sub-account and is never connection authentication for this action.
MAIL_CHANNELS_CREATE_SUB_ACCOUNT_API_KEYAcciónExplicitly create a sensitive API credential for a sub-account. The returned secret may be shown only once; store it securely because tool or application logs can expose it. This provider-created credential is output for the sub-account and is never connection authentication for this action.
Parámetros de entrada
handlestringObligatorioHandle of the sub-account for which a new API key will be created.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Sub-account SMTP PasswordMAIL_CHANNELS_CREATE_SUB_ACCOUNT_SMTP_PASSWORDAcciónExplicitly create a sensitive SMTP credential for a sub-account. The returned password may be shown only once; store it securely because tool or application logs can expose it. This provider-created credential is output for SMTP use and is never connection authentication for this action.
MAIL_CHANNELS_CREATE_SUB_ACCOUNT_SMTP_PASSWORDAcciónExplicitly create a sensitive SMTP credential for a sub-account. The returned password may be shown only once; store it securely because tool or application logs can expose it. This provider-created credential is output for SMTP use and is never connection authentication for this action.
Parámetros de entrada
handlestringObligatorioHandle of the sub-account for which a new SMTP password will be created.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Suppression EntriesMAIL_CHANNELS_CREATE_SUPPRESSION_ENTRIESAcciónAtomically add one or more recipients to the connected account's suppression list, optionally also applying them to all associated sub-accounts.
MAIL_CHANNELS_CREATE_SUPPRESSION_ENTRIESAcciónAtomically add one or more recipients to the connected account's suppression list, optionally also applying them to all associated sub-accounts.
Parámetros de entrada
add_to_sub_accountsbooleanAlso create these entries for every associated sub-account. Applicable only to parent accounts.
suppression_entriesobject[]ObligatorioSuppression entries to create atomically; the account-wide total created by this request cannot exceed 1000.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete All WebhooksMAIL_CHANNELS_DELETE_ALL_WEBHOOKSAcciónPermanently remove every webhook endpoint enrolled for the connected MailChannels account. This destructive action has no endpoint selector and must not be used when any existing webhook configuration should be retained.
MAIL_CHANNELS_DELETE_ALL_WEBHOOKSAcciónPermanently remove every webhook endpoint enrolled for the connected MailChannels account. This destructive action has no endpoint selector and must not be used when any existing webhook configuration should be retained.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Custom Tracking DomainMAIL_CHANNELS_DELETE_CUSTOM_TRACKING_DOMAINAcciónPermanently delete one custom tracking domain by exact hostname and scope. This destructive action immediately breaks tracking and unsubscribe URLs in previously sent messages that use the domain.
MAIL_CHANNELS_DELETE_CUSTOM_TRACKING_DOMAINAcciónPermanently delete one custom tracking domain by exact hostname and scope. This destructive action immediately breaks tracking and unsubscribe URLs in previously sent messages that use the domain.
Parámetros de entrada
scopestringObligatorioenumEvent scope identifying the custom tracking domain to permanently delete.
clickopenunsubscribehostnamestringObligatorioExact hostname to permanently delete. Existing tracking and unsubscribe links using it will stop working immediately.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Sub-accountMAIL_CHANNELS_DELETE_SUB_ACCOUNTAcciónPermanently and irreversibly delete one MailChannels sub-account by its exact handle. This destructive action cannot be undone.
MAIL_CHANNELS_DELETE_SUB_ACCOUNTAcciónPermanently and irreversibly delete one MailChannels sub-account by its exact handle. This destructive action cannot be undone.
Parámetros de entrada
handlestringObligatorioExact handle of the sub-account to permanently and irreversibly delete. Verify the handle before calling this action.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Sub-account API KeyMAIL_CHANNELS_DELETE_SUB_ACCOUNT_API_KEYAcciónPermanently revoke one sub-account API key by exact sub-account handle and key ID. This explicit destructive credential deletion cannot be undone.
MAIL_CHANNELS_DELETE_SUB_ACCOUNT_API_KEYAcciónPermanently revoke one sub-account API key by exact sub-account handle and key ID. This explicit destructive credential deletion cannot be undone.
Parámetros de entrada
idintegerObligatorioExact provider-assigned ID of the sub-account API key to revoke.
handlestringObligatorioExact handle of the sub-account whose API key will be revoked.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Sub-account LimitMAIL_CHANNELS_DELETE_SUB_ACCOUNT_LIMITAcciónDelete a sub-account's explicit monthly send limit. This destructive quota reset makes the sub-account inherit the parent account's remaining send capacity.
MAIL_CHANNELS_DELETE_SUB_ACCOUNT_LIMITAcciónDelete a sub-account's explicit monthly send limit. This destructive quota reset makes the sub-account inherit the parent account's remaining send capacity.
Parámetros de entrada
handlestringObligatorioExact handle of the sub-account whose explicit monthly send limit will be removed. After removal, the sub-account inherits the parent account's remaining send capacity.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Sub-account SMTP PasswordMAIL_CHANNELS_DELETE_SUB_ACCOUNT_SMTP_PASSWORDAcciónPermanently revoke one sub-account SMTP password by exact sub-account handle and password ID. This explicit destructive credential deletion cannot be undone.
MAIL_CHANNELS_DELETE_SUB_ACCOUNT_SMTP_PASSWORDAcciónPermanently revoke one sub-account SMTP password by exact sub-account handle and password ID. This explicit destructive credential deletion cannot be undone.
Parámetros de entrada
idintegerObligatorioExact provider-assigned ID of the SMTP password to revoke.
handlestringObligatorioExact handle of the sub-account whose SMTP password will be revoked.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Suppression EntryMAIL_CHANNELS_DELETE_SUPPRESSION_ENTRYAcciónDestructively remove one source, or every source, of suppression protection for a recipient. This permits future matching email delivery to that recipient.
MAIL_CHANNELS_DELETE_SUPPRESSION_ENTRYAcciónDestructively remove one source, or every source, of suppression protection for a recipient. This permits future matching email delivery to that recipient.
Parámetros de entrada
sourcestringenumSuppression source to remove. Use all to remove every suppression entry for the recipient.
apiunsubscribe_linklist_unsubscribehard_bouncespam_complaintallrecipientstringObligatorioRecipient whose suppression protection will be removed. The recipient is URL-encoded as one path segment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Enroll WebhookMAIL_CHANNELS_ENROLL_WEBHOOKAcciónEnroll the account's single external endpoint for MailChannels event callbacks. This changes the webhook configuration and causes future events to be sent to that endpoint; delete the existing enrollment before replacing it.
MAIL_CHANNELS_ENROLL_WEBHOOKAcciónEnroll the account's single external endpoint for MailChannels event callbacks. This changes the webhook configuration and causes future events to be sent to that endpoint; delete the existing enrollment before replacing it.
Parámetros de entrada
endpointstringObligatorioURL to enroll for MailChannels event notifications.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Engagement MetricsMAIL_CHANNELS_GET_ENGAGEMENT_METRICSAcciónRetrieve account message open and click metrics, optionally filtered by time range and campaign.
MAIL_CHANNELS_GET_ENGAGEMENT_METRICSAcciónRetrieve account message open and click metrics, optionally filtered by time range and campaign.
Parámetros de entrada
end_timestringExclusive range end in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to the current time.
intervalstringenumTime-series aggregation interval.
hourdayweekmonthstart_timestringInclusive range start in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to one month ago.
campaign_idstringCampaign identifier to filter by; omit for all campaigns.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Performance MetricsMAIL_CHANNELS_GET_PERFORMANCE_METRICSAcciónRetrieve account processed, delivered, hard-bounced, and complaint metrics.
MAIL_CHANNELS_GET_PERFORMANCE_METRICSAcciónRetrieve account processed, delivered, hard-bounced, and complaint metrics.
Parámetros de entrada
end_timestringExclusive range end in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to the current time.
intervalstringenumTime-series aggregation interval.
hourdayweekmonthstart_timestringInclusive range start in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to one month ago.
campaign_idstringCampaign identifier to filter by; omit for all campaigns.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Recipient Behaviour MetricsMAIL_CHANNELS_GET_RECIPIENT_BEHAVIOUR_METRICSAcciónRetrieve account recipient unsubscribe metrics, optionally filtered by time range and campaign.
MAIL_CHANNELS_GET_RECIPIENT_BEHAVIOUR_METRICSAcciónRetrieve account recipient unsubscribe metrics, optionally filtered by time range and campaign.
Parámetros de entrada
end_timestringExclusive range end in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to the current time.
intervalstringenumTime-series aggregation interval.
hourdayweekmonthstart_timestringInclusive range start in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to one month ago.
campaign_idstringCampaign identifier to filter by; omit for all campaigns.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Sub-account LimitMAIL_CHANNELS_GET_SUB_ACCOUNT_LIMITAcciónReturn a sub-account's configured monthly send limit; -1 means it inherits the parent account's remaining capacity.
MAIL_CHANNELS_GET_SUB_ACCOUNT_LIMITAcciónReturn a sub-account's configured monthly send limit; -1 means it inherits the parent account's remaining capacity.
Parámetros de entrada
handlestringObligatorioHandle of the sub-account whose sending limit to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Sub-account UsageMAIL_CHANNELS_GET_SUB_ACCOUNT_USAGEAcciónReturn a sub-account's usage, effective monthly limit, and current billing-period dates.
MAIL_CHANNELS_GET_SUB_ACCOUNT_USAGEAcciónReturn a sub-account's usage, effective monthly limit, and current billing-period dates.
Parámetros de entrada
handlestringObligatorioHandle of the sub-account whose current billing-period usage to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get UsageMAIL_CHANNELS_GET_USAGEAcciónReturn the connected account's usage, effective monthly limit, and current billing-period dates.
MAIL_CHANNELS_GET_USAGEAcciónReturn the connected account's usage, effective monthly limit, and current billing-period dates.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Volume MetricsMAIL_CHANNELS_GET_VOLUME_METRICSAcciónRetrieve account processed, delivered, and dropped message volume metrics.
MAIL_CHANNELS_GET_VOLUME_METRICSAcciónRetrieve account processed, delivered, and dropped message volume metrics.
Parámetros de entrada
end_timestringExclusive range end in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to the current time.
intervalstringenumTime-series aggregation interval.
hourdayweekmonthstart_timestringInclusive range start in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to one month ago.
campaign_idstringCampaign identifier to filter by; omit for all campaigns.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Webhook Public KeyMAIL_CHANNELS_GET_WEBHOOK_PUBLIC_KEYAcciónRetrieve the MailChannels public key identified by a webhook's Signature-Input header for signature verification.
MAIL_CHANNELS_GET_WEBHOOK_PUBLIC_KEYAcciónRetrieve the MailChannels public key identified by a webhook's Signature-Input header for signature verification.
Parámetros de entrada
idstringObligatorioSigning-key ID from the webhook Signature-Input header.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Custom Tracking DomainsMAIL_CHANNELS_LIST_CUSTOM_TRACKING_DOMAINSAcciónReturn one page of custom domains registered for click tracking, open tracking, or unsubscribe links.
MAIL_CHANNELS_LIST_CUSTOM_TRACKING_DOMAINSAcciónReturn one page of custom domains registered for click tracking, open tracking, or unsubscribe links.
Parámetros de entrada
namestringFilter by custom tracking domain label.
limitintegerMaximum custom tracking domains in this page (1-1000).
scopestringenumFilter by the event type handled by the domain.
clickopenunsubscribecursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
statusstringenumFilter by custom tracking domain status.
activedisabled
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List DKIM KeysMAIL_CHANNELS_LIST_DKIM_KEYSAcciónReturn one page of DKIM keys for a domain, optionally filtered by selector or lifecycle status.
MAIL_CHANNELS_LIST_DKIM_KEYSAcciónReturn one page of DKIM keys for a domain, optionally filtered by selector or lifecycle status.
Parámetros de entrada
limitintegerMaximum keys in this page (1-100).
cursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
domainstringObligatorioDomain whose MailChannels-managed DKIM keys to list.
statusstringenumLifecycle status to match.
activeretiredrevokedrotatedselectorstringExact DKIM selector to match (1-63 characters).
include_dns_recordbooleanInclude the suggested DKIM DNS TXT record for each key.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Sender MetricsMAIL_CHANNELS_LIST_SENDER_METRICSAcciónReturn one page of campaign or sub-account delivery metrics sorted by message volume.
MAIL_CHANNELS_LIST_SENDER_METRICSAcciónReturn one page of campaign or sub-account delivery metrics sorted by message volume.
Parámetros de entrada
limitintegerMaximum senders in this page (1-1000).
cursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
offsetintegerNumber of matching senders to skip on the first page.
end_timestringExclusive range end in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to the current time.
sort_orderstringenumSort by total processed plus dropped messages.
ascdescstart_timestringInclusive range start in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to one month ago.
sender_typestringObligatorioenumGroup metrics by campaigns or sub-accounts.
campaignssub-accounts
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Sub-account API KeysMAIL_CHANNELS_LIST_SUB_ACCOUNT_API_KEYSAcciónReturn one page of API-key metadata for a sub-account. MailChannels redacts the key values. Returned provider-created keys are sub-account credentials, not connection authentication for this action.
MAIL_CHANNELS_LIST_SUB_ACCOUNT_API_KEYSAcciónReturn one page of API-key metadata for a sub-account. MailChannels redacts the key values. Returned provider-created keys are sub-account credentials, not connection authentication for this action.
Parámetros de entrada
limitintegerMaximum API keys in this page (1-1000).
cursorstringOpaque continuation cursor from a previous call; omit for the first page.
handlestringObligatorioHandle of the sub-account whose API-key metadata will be listed.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Sub-accountsMAIL_CHANNELS_LIST_SUB_ACCOUNTSAcciónReturn one page of sub-accounts owned by the connected parent account, including handle, company name, and enabled state.
MAIL_CHANNELS_LIST_SUB_ACCOUNTSAcciónReturn one page of sub-accounts owned by the connected parent account, including handle, company name, and enabled state.
Parámetros de entrada
limitintegerMaximum sub-accounts in this page (1-1000).
cursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Sub-account SMTP PasswordsMAIL_CHANNELS_LIST_SUB_ACCOUNT_SMTP_PASSWORDSAcciónList SMTP-password metadata for a sub-account. MailChannels returns only IDs and partially redacted passwords. These provider-created passwords are sub-account credentials, not connection authentication for this action.
MAIL_CHANNELS_LIST_SUB_ACCOUNT_SMTP_PASSWORDSAcciónList SMTP-password metadata for a sub-account. MailChannels returns only IDs and partially redacted passwords. These provider-created passwords are sub-account credentials, not connection authentication for this action.
Parámetros de entrada
handlestringObligatorioHandle of the sub-account whose SMTP-password metadata will be listed.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Suppression EntriesMAIL_CHANNELS_LIST_SUPPRESSION_ENTRIESAcciónReturn one page of suppression entries for the connected account, optionally filtered by recipient, source, or creation date range.
MAIL_CHANNELS_LIST_SUPPRESSION_ENTRIESAcciónReturn one page of suppression entries for the connected account, optionally filtered by recipient, source, or creation date range.
Parámetros de entrada
limitintegerMaximum suppression entries in this page (1-1000).
cursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
sourcestringenumOrigin of the suppression entry to match.
apiunsubscribe_linklist_unsubscribehard_bouncespam_complaintrecipientstringExact recipient whose suppression entries should be returned.
created_afterstringReturn entries created after this date or UTC timestamp, formatted as YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ.
created_beforestringReturn entries created before this date or UTC timestamp, formatted as YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Webhook BatchesMAIL_CHANNELS_LIST_WEBHOOK_BATCHESAcciónReturn one page of webhook delivery batches, optionally filtered by creation time, response category, or endpoint. If no time filters are supplied, MailChannels uses the last three days.
MAIL_CHANNELS_LIST_WEBHOOK_BATCHESAcciónReturn one page of webhook delivery batches, optionally filtered by creation time, response category, or endpoint. If no time filters are supplied, MailChannels uses the last three days.
Parámetros de entrada
limitintegerMaximum webhook batches in this page (1-500).
cursorstringOpaque continuation cursor from a previous call. It retains all filters and the page size; omit it for the first page.
webhookstringExact webhook endpoint to which events in each matching batch were posted.
statusesstring[]Unique webhook response categories to match. MailChannels receives these as one comma-separated query value.
created_afterstringInclusive UTC creation-time lower bound in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format. The requested range cannot exceed 31 days.
created_beforestringExclusive UTC creation-time upper bound in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format. The requested range cannot exceed 31 days.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List WebhooksMAIL_CHANNELS_LIST_WEBHOOKSAcciónList all webhook endpoints enrolled for the connected MailChannels account.
MAIL_CHANNELS_LIST_WEBHOOKSAcciónList all webhook endpoints enrolled for the connected MailChannels account.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Register Custom Tracking DomainMAIL_CHANNELS_REGISTER_CUSTOM_TRACKING_DOMAINAcciónRegister an owner-controlled hostname for click tracking, open tracking, or unsubscribe links. DNS TXT ownership verification and a CNAME to links.mailchannels.net may be required before registration completes.
MAIL_CHANNELS_REGISTER_CUSTOM_TRACKING_DOMAINAcciónRegister an owner-controlled hostname for click tracking, open tracking, or unsubscribe links. DNS TXT ownership verification and a CNAME to links.mailchannels.net may be required before registration completes.
Parámetros de entrada
namestringObligatorioUnique label used to select this domain when sending a message.
scopestringObligatorioenumEvent type this custom tracking domain handles.
clickopenunsubscribehostnamestringObligatorioHostname to register. It must have a CNAME record pointing to links.mailchannels.net.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Render EmailMAIL_CHANNELS_RENDER_EMAILAcciónRender email content without delivering a message to any recipient. This action always uses MailChannels dry-run mode and has no delivery effect.
MAIL_CHANNELS_RENDER_EMAILAcciónRender email content without delivering a message to any recipient. This action always uses MailChannels dry-run mode and has no delivery effect.
Parámetros de entrada
fromobjectObligatorioDefault sender address and optional display name.
contentobject[]ObligatorioMessage bodies, such as text/plain and text/html content.
headersobjectCustom non-reserved message headers; merged headers may total at most 5 KB.
subjectstringObligatorioDefault subject; a personalization may override it.
reply_toobjectDefault Reply-To address.
attachmentsobject[]Attachments; total message size, including content and headers, must not exceed 30 MB.
campaign_idstringCampaign identifier included in related webhooks; maximum 48 UTF-8 characters with no spaces.
dkim_domainstringDefault MailChannels-managed DKIM signing domain; requires dkim_selector. Caller-supplied private keys are intentionally unsupported because request bodies are logged.
dkim_selectorstringDefault MailChannels-managed DKIM selector; uses the sender address domain when dkim_domain is omitted.
envelope_fromobjectDefault envelope sender; only its email value is used.
transactionalbooleanWhether messages are transactional. false requires DKIM and exactly one recipient per personalization.
personalizationsobject[]ObligatorioOne or more messages, each with recipients and optional per-message overrides.
tracking_settingsobjectOpen and click tracking settings; tracking requires a supporting subscription.
unsubscribe_settingsobjectOptional custom-domain setting for unsubscribe links.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Resend Webhook BatchMAIL_CHANNELS_RESEND_WEBHOOK_BATCHAcciónSynchronously create one new external delivery attempt for an existing webhook batch. This sends events again to the batch's webhook endpoint. A successful action response means MailChannels completed the attempt, not that the endpoint returned a 2xx status; inspect status_code.
MAIL_CHANNELS_RESEND_WEBHOOK_BATCHAcciónSynchronously create one new external delivery attempt for an existing webhook batch. This sends events again to the batch's webhook endpoint. A successful action response means MailChannels completed the attempt, not that the endpoint returned a 2xx status; inspect status_code.
Parámetros de entrada
batch_idintegerObligatorioID of the existing webhook batch to deliver again. This sends the batch's events to its external webhook endpoint.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Rotate DKIM KeyMAIL_CHANNELS_ROTATE_DKIM_KEYAcciónIrreversibly rotate an active DKIM key: mark the existing key as rotated and create a replacement key. Publish the returned replacement DNS record before the old key's signing grace period expires or DKIM validation may fail.
MAIL_CHANNELS_ROTATE_DKIM_KEYAcciónIrreversibly rotate an active DKIM key: mark the existing key as rotated and create a replacement key. Publish the returned replacement DNS record before the old key's signing grace period expires or DKIM validation may fail.
Parámetros de entrada
domainstringObligatorioDomain whose active DKIM key will be rotated.
new_keyobjectObligatorioReplacement key configuration. MailChannels generates the key material.
selectorstringObligatorioSelector of the active DKIM key to rotate (1-63 characters).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send EmailMAIL_CHANNELS_SEND_EMAILAcciónDeliver email to the specified recipients. This action always performs real, irreversible delivery and consumes recipient quota; use RENDER_EMAIL to preview without delivery.
MAIL_CHANNELS_SEND_EMAILAcciónDeliver email to the specified recipients. This action always performs real, irreversible delivery and consumes recipient quota; use RENDER_EMAIL to preview without delivery.
Parámetros de entrada
fromobjectObligatorioDefault sender address and optional display name.
contentobject[]ObligatorioMessage bodies, such as text/plain and text/html content.
headersobjectCustom non-reserved message headers; merged headers may total at most 5 KB.
subjectstringObligatorioDefault subject; a personalization may override it.
reply_toobjectDefault Reply-To address.
attachmentsobject[]Attachments; total message size, including content and headers, must not exceed 30 MB.
campaign_idstringCampaign identifier included in related webhooks; maximum 48 UTF-8 characters with no spaces.
dkim_domainstringDefault MailChannels-managed DKIM signing domain; requires dkim_selector. Caller-supplied private keys are intentionally unsupported because request bodies are logged.
dkim_selectorstringDefault MailChannels-managed DKIM selector; uses the sender address domain when dkim_domain is omitted.
envelope_fromobjectDefault envelope sender; only its email value is used.
transactionalbooleanWhether messages are transactional. false requires DKIM and exactly one recipient per personalization.
personalizationsobject[]ObligatorioOne or more messages, each with recipients and optional per-message overrides.
tracking_settingsobjectOpen and click tracking settings; tracking requires a supporting subscription.
unsubscribe_settingsobjectOptional custom-domain setting for unsubscribe links.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send Email AsynchronouslyMAIL_CHANNELS_SEND_EMAIL_ASYNCHRONOUSAcciónQueue email for real, irreversible external delivery to the specified recipients. A successful response confirms queue acceptance only, not eventual delivery, and the operation consumes recipient quota.
MAIL_CHANNELS_SEND_EMAIL_ASYNCHRONOUSAcciónQueue email for real, irreversible external delivery to the specified recipients. A successful response confirms queue acceptance only, not eventual delivery, and the operation consumes recipient quota.
Parámetros de entrada
fromobjectObligatorioDefault sender address and optional display name.
contentobject[]ObligatorioMessage bodies, such as text/plain and text/html content.
headersobjectCustom non-reserved message headers; merged headers may total at most 5 KB.
subjectstringObligatorioDefault subject; a personalization may override it.
reply_toobjectDefault Reply-To address.
attachmentsobject[]Attachments; total message size, including content and headers, must not exceed 30 MB.
campaign_idstringCampaign identifier included in related webhooks; maximum 48 UTF-8 characters with no spaces.
dkim_domainstringDefault MailChannels-managed DKIM signing domain; requires dkim_selector. Caller-supplied private keys are intentionally unsupported because request bodies are logged.
dkim_selectorstringDefault MailChannels-managed DKIM selector; uses the sender address domain when dkim_domain is omitted.
envelope_fromobjectDefault envelope sender; only its email value is used.
transactionalbooleanWhether messages are transactional. false requires DKIM and exactly one recipient per personalization.
personalizationsobject[]ObligatorioOne or more messages, each with recipients and optional per-message overrides.
tracking_settingsobjectOpen and click tracking settings; tracking requires a supporting subscription.
unsubscribe_settingsobjectOptional custom-domain setting for unsubscribe links.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Sub-account LimitMAIL_CHANNELS_SET_SUB_ACCOUNT_LIMITAcciónSet a sub-account's monthly send limit; setting zero prevents it from sending.
MAIL_CHANNELS_SET_SUB_ACCOUNT_LIMITAcciónSet a sub-account's monthly send limit; setting zero prevents it from sending.
Parámetros de entrada
sendsintegerObligatorioMaximum sends for the billing period. Setting this to 0 prevents the sub-account from sending through its quota.
handlestringObligatorioHandle of the sub-account whose sending limit to set.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Suspend Sub-accountMAIL_CHANNELS_SUSPEND_SUB_ACCOUNTAcciónSuspend a sub-account and immediately prevent it from sending email until it is explicitly reactivated. This is a service-affecting operation.
MAIL_CHANNELS_SUSPEND_SUB_ACCOUNTAcciónSuspend a sub-account and immediately prevent it from sending email until it is explicitly reactivated. This is a service-affecting operation.
Parámetros de entrada
handlestringObligatorioHandle of the sub-account to suspend. Suspension immediately prevents the sub-account from sending email until it is explicitly reactivated.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Custom Tracking DomainMAIL_CHANNELS_UPDATE_CUSTOM_TRACKING_DOMAINAcciónChange the label or active status of one custom tracking domain identified by its exact hostname and event scope. At least one of name or status is required. Reactivation may require DNS verification.
MAIL_CHANNELS_UPDATE_CUSTOM_TRACKING_DOMAINAcciónChange the label or active status of one custom tracking domain identified by its exact hostname and event scope. At least one of name or status is required. Reactivation may require DNS verification.
Parámetros de entrada
namestringNew label for the custom tracking domain. Provide name, status, or both.
scopestringObligatorioenumEvent type identifying the custom tracking domain to update.
clickopenunsubscribestatusstringenumNew custom tracking domain status. Provide status, name, or both.
activedisabledhostnamestringObligatorioExact hostname of the custom tracking domain to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update DKIM Key StatusMAIL_CHANNELS_UPDATE_DKIM_KEY_STATUSAcciónIrreversibly revoke, retire, or begin rotating an existing DKIM key. This changes which key can sign mail and may require coordinated DNS changes.
MAIL_CHANNELS_UPDATE_DKIM_KEY_STATUSAcciónIrreversibly revoke, retire, or begin rotating an existing DKIM key. This changes which key can sign mail and may require coordinated DNS changes.
Parámetros de entrada
domainstringObligatorioDomain of the DKIM key to change.
statusstringObligatorioenumNew key status. revoked marks compromise; retired stops normal use; rotated starts the documented grace-period transition but does not create a replacement key.
revokedretiredrotatedselectorstringObligatorioSelector of the DKIM key to change (1-63 characters).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Validate All WebhooksMAIL_CHANNELS_VALIDATE_ALL_WEBHOOKSAcciónCreate and send a test callback to every enrolled webhook endpoint, then report whether each endpoint returned a 2xx response. This has an external side effect: every enrolled endpoint receives a test event.
MAIL_CHANNELS_VALIDATE_ALL_WEBHOOKSAcciónCreate and send a test callback to every enrolled webhook endpoint, then report whether each endpoint returned a 2xx response. This has an external side effect: every enrolled endpoint receives a test event.
Parámetros de entrada
request_idstringOptional identifier to include in each test webhook payload. MailChannels generates one when omitted.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not