Volver al catálogo

MailChannels

mail_channels

MailChannels provides transactional email delivery, domain and DKIM management, sub-account administration, usage reporting, suppression lists, metrics, and webhooks.

Acciones
43
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Reactivate a suspended sub-account, restoring its ability to send email.

Parámetros de entrada

  • handlestringObligatorio

    Handle of the suspended sub-account to reactivate.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check Domain AuthenticationMAIL_CHANNELS_CHECK_DOMAIN_AUTHENTICATIONAcción

Check a sending domain's DKIM, SPF, sender-domain DNS, and Domain Lockdown configuration without changing it.

Parámetros de entrada

  • domainstringObligatorio

    Sending domain to check. Stored DKIM keys for this domain are used when no more specific DKIM setting is supplied.

  • sender_idstring

    MailChannels 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_domainstring

    Envelope sender domain used for SPF and Domain Lockdown checks when it differs from domain.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create DKIM KeyMAIL_CHANNELS_CREATE_DKIM_KEYAcción

Create a MailChannels-managed DKIM key pair and return the public key and DNS record that must be published.

Parámetros de entrada

  • domainstringObligatorio

    Domain for the new MailChannels-managed DKIM key.

  • selectorstringObligatorio

    Unique DKIM selector for the domain (1-63 characters).

  • algorithmstring

    Key algorithm. MailChannels currently supports only rsa.

  • key_lengthinteger

    RSA key length in bits, from 1024 to 4096 in multiples of 1024.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Sub-accountMAIL_CHANNELS_CREATE_SUB_ACCOUNTAcción

Create a sub-account under the connected parent account. This creates persistent tenant state but no API or SMTP credential.

Parámetros de entrada

  • handlestring

    Unique lowercase alphanumeric handle (3-128 characters). Omit to let MailChannels generate one.

  • company_namestringObligatorio

    Display company name for the sub-account (3-128 characters).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Sub-account API KeyMAIL_CHANNELS_CREATE_SUB_ACCOUNT_API_KEYAcción

Explicitly 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

  • handlestringObligatorio

    Handle of the sub-account for which a new API key will be created.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Sub-account SMTP PasswordMAIL_CHANNELS_CREATE_SUB_ACCOUNT_SMTP_PASSWORDAcción

Explicitly 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

  • handlestringObligatorio

    Handle of the sub-account for which a new SMTP password will be created.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Suppression EntriesMAIL_CHANNELS_CREATE_SUPPRESSION_ENTRIESAcción

Atomically 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_accountsboolean

    Also create these entries for every associated sub-account. Applicable only to parent accounts.

  • suppression_entriesobject[]Obligatorio

    Suppression entries to create atomically; the account-wide total created by this request cannot exceed 1000.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete All WebhooksMAIL_CHANNELS_DELETE_ALL_WEBHOOKSAcción

Permanently 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Custom Tracking DomainMAIL_CHANNELS_DELETE_CUSTOM_TRACKING_DOMAINAcción

Permanently 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

  • scopestringObligatorioenum

    Event scope identifying the custom tracking domain to permanently delete.

    clickopenunsubscribe
  • hostnamestringObligatorio

    Exact hostname to permanently delete. Existing tracking and unsubscribe links using it will stop working immediately.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Sub-accountMAIL_CHANNELS_DELETE_SUB_ACCOUNTAcción

Permanently and irreversibly delete one MailChannels sub-account by its exact handle. This destructive action cannot be undone.

Parámetros de entrada

  • handlestringObligatorio

    Exact handle of the sub-account to permanently and irreversibly delete. Verify the handle before calling this action.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Sub-account API KeyMAIL_CHANNELS_DELETE_SUB_ACCOUNT_API_KEYAcción

Permanently 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

  • idintegerObligatorio

    Exact provider-assigned ID of the sub-account API key to revoke.

  • handlestringObligatorio

    Exact handle of the sub-account whose API key will be revoked.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Sub-account LimitMAIL_CHANNELS_DELETE_SUB_ACCOUNT_LIMITAcción

Delete 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

  • handlestringObligatorio

    Exact 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Sub-account SMTP PasswordMAIL_CHANNELS_DELETE_SUB_ACCOUNT_SMTP_PASSWORDAcción

Permanently 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

  • idintegerObligatorio

    Exact provider-assigned ID of the SMTP password to revoke.

  • handlestringObligatorio

    Exact handle of the sub-account whose SMTP password will be revoked.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Suppression EntryMAIL_CHANNELS_DELETE_SUPPRESSION_ENTRYAcción

Destructively 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

  • sourcestringenum

    Suppression source to remove. Use all to remove every suppression entry for the recipient.

    apiunsubscribe_linklist_unsubscribehard_bouncespam_complaintall
  • recipientstringObligatorio

    Recipient whose suppression protection will be removed. The recipient is URL-encoded as one path segment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enroll WebhookMAIL_CHANNELS_ENROLL_WEBHOOKAcción

Enroll 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

  • endpointstringObligatorio

    URL to enroll for MailChannels event notifications.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Engagement MetricsMAIL_CHANNELS_GET_ENGAGEMENT_METRICSAcción

Retrieve account message open and click metrics, optionally filtered by time range and campaign.

Parámetros de entrada

  • end_timestring

    Exclusive range end in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to the current time.

  • intervalstringenum

    Time-series aggregation interval.

    hourdayweekmonth
  • start_timestring

    Inclusive range start in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to one month ago.

  • campaign_idstring

    Campaign identifier to filter by; omit for all campaigns.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Performance MetricsMAIL_CHANNELS_GET_PERFORMANCE_METRICSAcción

Retrieve account processed, delivered, hard-bounced, and complaint metrics.

Parámetros de entrada

  • end_timestring

    Exclusive range end in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to the current time.

  • intervalstringenum

    Time-series aggregation interval.

    hourdayweekmonth
  • start_timestring

    Inclusive range start in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to one month ago.

  • campaign_idstring

    Campaign identifier to filter by; omit for all campaigns.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Recipient Behaviour MetricsMAIL_CHANNELS_GET_RECIPIENT_BEHAVIOUR_METRICSAcción

Retrieve account recipient unsubscribe metrics, optionally filtered by time range and campaign.

Parámetros de entrada

  • end_timestring

    Exclusive range end in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to the current time.

  • intervalstringenum

    Time-series aggregation interval.

    hourdayweekmonth
  • start_timestring

    Inclusive range start in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to one month ago.

  • campaign_idstring

    Campaign identifier to filter by; omit for all campaigns.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Sub-account LimitMAIL_CHANNELS_GET_SUB_ACCOUNT_LIMITAcción

Return a sub-account's configured monthly send limit; -1 means it inherits the parent account's remaining capacity.

Parámetros de entrada

  • handlestringObligatorio

    Handle of the sub-account whose sending limit to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Sub-account UsageMAIL_CHANNELS_GET_SUB_ACCOUNT_USAGEAcción

Return a sub-account's usage, effective monthly limit, and current billing-period dates.

Parámetros de entrada

  • handlestringObligatorio

    Handle of the sub-account whose current billing-period usage to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get UsageMAIL_CHANNELS_GET_USAGEAcción

Return the connected account's usage, effective monthly limit, and current billing-period dates.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Volume MetricsMAIL_CHANNELS_GET_VOLUME_METRICSAcción

Retrieve account processed, delivered, and dropped message volume metrics.

Parámetros de entrada

  • end_timestring

    Exclusive range end in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to the current time.

  • intervalstringenum

    Time-series aggregation interval.

    hourdayweekmonth
  • start_timestring

    Inclusive range start in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to one month ago.

  • campaign_idstring

    Campaign identifier to filter by; omit for all campaigns.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Webhook Public KeyMAIL_CHANNELS_GET_WEBHOOK_PUBLIC_KEYAcción

Retrieve the MailChannels public key identified by a webhook's Signature-Input header for signature verification.

Parámetros de entrada

  • idstringObligatorio

    Signing-key ID from the webhook Signature-Input header.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Custom Tracking DomainsMAIL_CHANNELS_LIST_CUSTOM_TRACKING_DOMAINSAcción

Return one page of custom domains registered for click tracking, open tracking, or unsubscribe links.

Parámetros de entrada

  • namestring

    Filter by custom tracking domain label.

  • limitinteger

    Maximum custom tracking domains in this page (1-1000).

  • scopestringenum

    Filter by the event type handled by the domain.

    clickopenunsubscribe
  • cursorstring

    Opaque continuation cursor returned by a previous call; omit for the first page.

  • statusstringenum

    Filter by custom tracking domain status.

    activedisabled

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List DKIM KeysMAIL_CHANNELS_LIST_DKIM_KEYSAcción

Return one page of DKIM keys for a domain, optionally filtered by selector or lifecycle status.

Parámetros de entrada

  • limitinteger

    Maximum keys in this page (1-100).

  • cursorstring

    Opaque continuation cursor returned by a previous call; omit for the first page.

  • domainstringObligatorio

    Domain whose MailChannels-managed DKIM keys to list.

  • statusstringenum

    Lifecycle status to match.

    activeretiredrevokedrotated
  • selectorstring

    Exact DKIM selector to match (1-63 characters).

  • include_dns_recordboolean

    Include the suggested DKIM DNS TXT record for each key.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Sender MetricsMAIL_CHANNELS_LIST_SENDER_METRICSAcción

Return one page of campaign or sub-account delivery metrics sorted by message volume.

Parámetros de entrada

  • limitinteger

    Maximum senders in this page (1-1000).

  • cursorstring

    Opaque continuation cursor returned by a previous call; omit for the first page.

  • offsetinteger

    Number of matching senders to skip on the first page.

  • end_timestring

    Exclusive range end in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to the current time.

  • sort_orderstringenum

    Sort by total processed plus dropped messages.

    ascdesc
  • start_timestring

    Inclusive range start in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format; defaults to one month ago.

  • sender_typestringObligatorioenum

    Group metrics by campaigns or sub-accounts.

    campaignssub-accounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Sub-account API KeysMAIL_CHANNELS_LIST_SUB_ACCOUNT_API_KEYSAcción

Return 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

  • limitinteger

    Maximum API keys in this page (1-1000).

  • cursorstring

    Opaque continuation cursor from a previous call; omit for the first page.

  • handlestringObligatorio

    Handle of the sub-account whose API-key metadata will be listed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Sub-accountsMAIL_CHANNELS_LIST_SUB_ACCOUNTSAcción

Return one page of sub-accounts owned by the connected parent account, including handle, company name, and enabled state.

Parámetros de entrada

  • limitinteger

    Maximum sub-accounts in this page (1-1000).

  • cursorstring

    Opaque continuation cursor returned by a previous call; omit for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Sub-account SMTP PasswordsMAIL_CHANNELS_LIST_SUB_ACCOUNT_SMTP_PASSWORDSAcción

List 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

  • handlestringObligatorio

    Handle of the sub-account whose SMTP-password metadata will be listed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Suppression EntriesMAIL_CHANNELS_LIST_SUPPRESSION_ENTRIESAcción

Return one page of suppression entries for the connected account, optionally filtered by recipient, source, or creation date range.

Parámetros de entrada

  • limitinteger

    Maximum suppression entries in this page (1-1000).

  • cursorstring

    Opaque continuation cursor returned by a previous call; omit for the first page.

  • sourcestringenum

    Origin of the suppression entry to match.

    apiunsubscribe_linklist_unsubscribehard_bouncespam_complaint
  • recipientstring

    Exact recipient whose suppression entries should be returned.

  • created_afterstring

    Return entries created after this date or UTC timestamp, formatted as YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ.

  • created_beforestring

    Return entries created before this date or UTC timestamp, formatted as YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Webhook BatchesMAIL_CHANNELS_LIST_WEBHOOK_BATCHESAcción

Return 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

  • limitinteger

    Maximum webhook batches in this page (1-500).

  • cursorstring

    Opaque continuation cursor from a previous call. It retains all filters and the page size; omit it for the first page.

  • webhookstring

    Exact 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_afterstring

    Inclusive UTC creation-time lower bound in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ format. The requested range cannot exceed 31 days.

  • created_beforestring

    Exclusive 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List WebhooksMAIL_CHANNELS_LIST_WEBHOOKSAcción

List all webhook endpoints enrolled for the connected MailChannels account.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Register Custom Tracking DomainMAIL_CHANNELS_REGISTER_CUSTOM_TRACKING_DOMAINAcción

Register 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

  • namestringObligatorio

    Unique label used to select this domain when sending a message.

  • scopestringObligatorioenum

    Event type this custom tracking domain handles.

    clickopenunsubscribe
  • hostnamestringObligatorio

    Hostname to register. It must have a CNAME record pointing to links.mailchannels.net.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Render EmailMAIL_CHANNELS_RENDER_EMAILAcción

Render 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

  • fromobjectObligatorio

    Default sender address and optional display name.

  • contentobject[]Obligatorio

    Message bodies, such as text/plain and text/html content.

  • headersobject

    Custom non-reserved message headers; merged headers may total at most 5 KB.

  • subjectstringObligatorio

    Default subject; a personalization may override it.

  • reply_toobject

    Default Reply-To address.

  • attachmentsobject[]

    Attachments; total message size, including content and headers, must not exceed 30 MB.

  • campaign_idstring

    Campaign identifier included in related webhooks; maximum 48 UTF-8 characters with no spaces.

  • dkim_domainstring

    Default MailChannels-managed DKIM signing domain; requires dkim_selector. Caller-supplied private keys are intentionally unsupported because request bodies are logged.

  • dkim_selectorstring

    Default MailChannels-managed DKIM selector; uses the sender address domain when dkim_domain is omitted.

  • envelope_fromobject

    Default envelope sender; only its email value is used.

  • transactionalboolean

    Whether messages are transactional. false requires DKIM and exactly one recipient per personalization.

  • personalizationsobject[]Obligatorio

    One or more messages, each with recipients and optional per-message overrides.

  • tracking_settingsobject

    Open and click tracking settings; tracking requires a supporting subscription.

  • unsubscribe_settingsobject

    Optional custom-domain setting for unsubscribe links.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Resend Webhook BatchMAIL_CHANNELS_RESEND_WEBHOOK_BATCHAcción

Synchronously 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_idintegerObligatorio

    ID of the existing webhook batch to deliver again. This sends the batch's events to its external webhook endpoint.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rotate DKIM KeyMAIL_CHANNELS_ROTATE_DKIM_KEYAcción

Irreversibly 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

  • domainstringObligatorio

    Domain whose active DKIM key will be rotated.

  • new_keyobjectObligatorio

    Replacement key configuration. MailChannels generates the key material.

  • selectorstringObligatorio

    Selector of the active DKIM key to rotate (1-63 characters).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send EmailMAIL_CHANNELS_SEND_EMAILAcción

Deliver 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

  • fromobjectObligatorio

    Default sender address and optional display name.

  • contentobject[]Obligatorio

    Message bodies, such as text/plain and text/html content.

  • headersobject

    Custom non-reserved message headers; merged headers may total at most 5 KB.

  • subjectstringObligatorio

    Default subject; a personalization may override it.

  • reply_toobject

    Default Reply-To address.

  • attachmentsobject[]

    Attachments; total message size, including content and headers, must not exceed 30 MB.

  • campaign_idstring

    Campaign identifier included in related webhooks; maximum 48 UTF-8 characters with no spaces.

  • dkim_domainstring

    Default MailChannels-managed DKIM signing domain; requires dkim_selector. Caller-supplied private keys are intentionally unsupported because request bodies are logged.

  • dkim_selectorstring

    Default MailChannels-managed DKIM selector; uses the sender address domain when dkim_domain is omitted.

  • envelope_fromobject

    Default envelope sender; only its email value is used.

  • transactionalboolean

    Whether messages are transactional. false requires DKIM and exactly one recipient per personalization.

  • personalizationsobject[]Obligatorio

    One or more messages, each with recipients and optional per-message overrides.

  • tracking_settingsobject

    Open and click tracking settings; tracking requires a supporting subscription.

  • unsubscribe_settingsobject

    Optional custom-domain setting for unsubscribe links.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send Email AsynchronouslyMAIL_CHANNELS_SEND_EMAIL_ASYNCHRONOUSAcción

Queue 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

  • fromobjectObligatorio

    Default sender address and optional display name.

  • contentobject[]Obligatorio

    Message bodies, such as text/plain and text/html content.

  • headersobject

    Custom non-reserved message headers; merged headers may total at most 5 KB.

  • subjectstringObligatorio

    Default subject; a personalization may override it.

  • reply_toobject

    Default Reply-To address.

  • attachmentsobject[]

    Attachments; total message size, including content and headers, must not exceed 30 MB.

  • campaign_idstring

    Campaign identifier included in related webhooks; maximum 48 UTF-8 characters with no spaces.

  • dkim_domainstring

    Default MailChannels-managed DKIM signing domain; requires dkim_selector. Caller-supplied private keys are intentionally unsupported because request bodies are logged.

  • dkim_selectorstring

    Default MailChannels-managed DKIM selector; uses the sender address domain when dkim_domain is omitted.

  • envelope_fromobject

    Default envelope sender; only its email value is used.

  • transactionalboolean

    Whether messages are transactional. false requires DKIM and exactly one recipient per personalization.

  • personalizationsobject[]Obligatorio

    One or more messages, each with recipients and optional per-message overrides.

  • tracking_settingsobject

    Open and click tracking settings; tracking requires a supporting subscription.

  • unsubscribe_settingsobject

    Optional custom-domain setting for unsubscribe links.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Sub-account LimitMAIL_CHANNELS_SET_SUB_ACCOUNT_LIMITAcción

Set a sub-account's monthly send limit; setting zero prevents it from sending.

Parámetros de entrada

  • sendsintegerObligatorio

    Maximum sends for the billing period. Setting this to 0 prevents the sub-account from sending through its quota.

  • handlestringObligatorio

    Handle of the sub-account whose sending limit to set.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Suspend Sub-accountMAIL_CHANNELS_SUSPEND_SUB_ACCOUNTAcción

Suspend 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

  • handlestringObligatorio

    Handle of the sub-account to suspend. Suspension immediately prevents the sub-account from sending email until it is explicitly reactivated.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Custom Tracking DomainMAIL_CHANNELS_UPDATE_CUSTOM_TRACKING_DOMAINAcción

Change 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

  • namestring

    New label for the custom tracking domain. Provide name, status, or both.

  • scopestringObligatorioenum

    Event type identifying the custom tracking domain to update.

    clickopenunsubscribe
  • statusstringenum

    New custom tracking domain status. Provide status, name, or both.

    activedisabled
  • hostnamestringObligatorio

    Exact hostname of the custom tracking domain to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update DKIM Key StatusMAIL_CHANNELS_UPDATE_DKIM_KEY_STATUSAcción

Irreversibly 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

  • domainstringObligatorio

    Domain of the DKIM key to change.

  • statusstringObligatorioenum

    New key status. revoked marks compromise; retired stops normal use; rotated starts the documented grace-period transition but does not create a replacement key.

    revokedretiredrotated
  • selectorstringObligatorio

    Selector of the DKIM key to change (1-63 characters).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate All WebhooksMAIL_CHANNELS_VALIDATE_ALL_WEBHOOKSAcción

Create 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_idstring

    Optional identifier to include in each test webhook payload. MailChannels generates one when omitted.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not