Email

Set up sending domains step by step, manage sender addresses, the default sender and reply-to, check sending health and read history and suppressions with merchant admin credentials.

Email settings are available to merchant admin credentials only; installed apps cannot hold domain or email-settings scopes. Reads need read_email_settings, changes write_email_settings. Every response carries the text to show, in the request language: badges, setup steps and their messages, what public DNS shows for each record, the next step, problems with their fix and removal impacts. Times are text in the store's timezone. Render them as given; never derive labels, tones, eligibility or next steps from other fields. Sending-domain, sender, default, reply-to and MAIL FROM changes need the same action- and target-bound verification code as Store Admin; each endpoint names its action and target.

Reply-to returns the active address and any pending address, with its request and expiry times and whether it expired; resend_available_at is present only while a resend would still be refused. Save the active value to cancel the pending change, or the pending value to send its link again. An empty value removes the override.

History is newest first and pages with has_more and next_cursor only. date_from and date_to are store-local calendar dates (YYYY-MM-DD), and both days are included. Statistics take the same filters and return as_of, when the totals were counted, in the store's timezone (at most a minute old). Sent counts sent, bounced and complained email; delivered means the recipient's mail server accepted it (delivered_at), not that it reached the inbox; delivery_rate is delivered divided by sent. Each send has submission_state and submission_label, the text to show for it. Sends recorded before submission states existed carry the state derived from the delivery records that remain (the message id, the submission ledger, delivery feedback); where none remain the state is no_provider_record and the label says so. A submission in the unknown state must not be resent automatically. The suppression list shows a recipient's address only while the send that caused the suppression is still in the 90-day history; complaint suppressions cannot be lifted.

When shared sending capacity is reserved, email is delayed rather than dropped, and the chosen sender and consent are kept. Marketing email carries a visible unsubscribe footer and one-click unsubscribe headers (RFC 8058): a GET never unsubscribes, the one-click POST does. Transactional and test email leave those headers out, and Tringify's own account email uses a separate sending identity.

Start with the overview#

GET /api/2025-01/email/overview (read_email_settings) returns how the store sends email now and what to do next, exactly as Store Admin › Settings › Email shows it. badge.label is Sending from your domain, Setting up your domain or Sending from your Tringify address. steps are always these four, in this order: sending_domain, sender_address, default_sender, reply_to; each has label, status (done, current, action_required, upcoming, optional) and message. next_action is the single next step (absent when everything is done and healthy): key is one of add_sending_domain, add_records, fix_records, wait, restart_verification, connect_domain, add_sender, set_default_sender, confirm_reply_to, set_reply_to, change_default_sender, review_bounces or add_dmarc, with label, message, and the hosted MCP tool and arguments to call.

json
GET /api/2025-01/email/overview

{
  "success": true,
  "data": {
    "badge": { "label": "Setting up your domain", "tone": "neutral" },
    "steps": [
      { "key": "sending_domain", "label": "Sending domain", "status": "current", "message": "mail.example.com: Verifying." },
      { "key": "sender_address", "label": "Sender address", "status": "upcoming", "message": "Add a sender address once a sending domain is ready." },
      { "key": "default_sender", "label": "Default sender", "status": "upcoming", "message": "Order and account emails come from noreply@your-store.mytringify.com." },
      { "key": "reply_to", "label": "Reply-to address", "status": "optional", "message": "Customers can't reply to your emails yet." }
    ],
    "next_action": {
      "key": "wait",
      "label": "Wait for the next automatic check",
      "message": "Tringify is confirming the records. This usually takes a few minutes after they appear in public DNS.",
      "tool": "get_email_domain",
      "arguments": { "domain_id": "6c1e2f9a-0b7d-4e44-9a51-3f2d8c1b7e10" },
      "after": "Next automatic check: Oct 27, 2026, 9:53 AM"
    },
    "health": {
      "state": "good",
      "badge": { "label": "Healthy", "tone": "positive" },
      "summary": "Your emails are being delivered normally.",
      "metrics": [
        { "key": "bounce_rate", "label": "Bounce rate", "value": "0.4%", "tone": "positive", "period": "Last 30 days", "note": "Keep it below 2%." },
        { "key": "complaint_rate", "label": "Spam complaint rate", "value": "0%", "tone": "positive", "period": "Last 30 days", "note": "Keep it below 0.1%." },
        { "key": "suppressed", "label": "Addresses Tringify no longer emails", "value": "12", "tone": "neutral", "note": "They bounced permanently or marked an email as spam." }
      ],
      "issues": [],
      "as_of": "2026-10-27T09:55:00+08:00"
    }
  }
}

health.state is good, warning or critical. The bounce rate is a warning from 2% and critical from 5%; the spam complaint rate a warning from 0.1% and critical from 0.3%. Rates count only once the store sent at least 100 emails in the last 30 days. health.issues[] has key, title, message (the cause), fix and optionally since; keys are bounce_rate, complaint_rate, sender_fallback (the default sender can't send, so order and account emails use the Tringify address), marketing_paused, and every sending domain's issue key.

The sending domain object#

List sending domains, GET /api/2025-01/email/domains/{domainId} (read_email_settings), Register sending domain, Check domain verification, Restart domain verification and Set custom MAIL FROM all return this object.

json
{
  "id": "6c1e2f9a-0b7d-4e44-9a51-3f2d8c1b7e10",
  "domain": "mail.example.com",
  "base_domain": "example.com",
  "created_at": "2026-10-27T09:40:00+08:00",
  "sending_ready": false,
  "mail_from_domain": "bounce.mail.example.com",
  "address_count": 0,
  "has_default": false,
  "badge": { "label": "Needs DNS records", "tone": "warning" },
  "actions": ["check", "change_mail_from", "remove"],
  "setup": {
    "path": "your_dns",
    "state": "action_required",
    "summary": "Needs DNS records",
    "current_step": "add_records",
    "steps": [
      { "key": "add_domain", "label": "Add the sending domain", "status": "done", "message": "mail.example.com was added on Oct 27, 2026, 9:40 AM." },
      { "key": "add_records", "label": "Add the DNS records", "status": "action_required", "message": "Add these 6 records at the service that hosts example.com's DNS (often where you bought the domain). Tringify checks for them automatically." },
      { "key": "verifying", "label": "Tringify verifies the records", "status": "upcoming" },
      { "key": "verified", "label": "Verified", "status": "upcoming" },
      { "key": "ready", "label": "Ready to send", "status": "upcoming" }
    ],
    "records": [
      { "purpose": "dkim", "label": "Tringify email signing (DKIM) 1", "type": "CNAME", "host": "abc1._domainkey.mail", "name": "abc1._domainkey.mail.example.com", "zone": "example.com", "value": "<value to copy>", "status": "missing", "status_text": "Not found yet", "managed_by_tringify": false },
      { "purpose": "mail_from", "label": "Tringify email bounces (MX)", "type": "MX", "priority": 10, "host": "bounce.mail", "name": "bounce.mail.example.com", "zone": "example.com", "value": "<value to copy>", "status": "found", "status_text": "Found", "managed_by_tringify": false },
      { "purpose": "dmarc", "label": "Email policy (DMARC)", "type": "TXT", "host": "_dmarc.mail", "name": "_dmarc.mail.example.com", "zone": "example.com", "value": "v=DMARC1; p=none;", "status": "mismatch", "status_text": "Found v=DMARC1; p=bogus instead", "found": ["v=DMARC1; p=bogus"], "managed_by_tringify": false }
    ],
    "last_checked": "Last checked: Oct 27, 2026, 9:51 AM",
    "next_check": "Next automatic check: Oct 27, 2026, 9:53 AM",
    "next_check_at": "2026-10-27T09:53:00+08:00",
    "poll_after_ms": 0
  },
  "next_action": {
    "key": "add_records",
    "label": "Add the records at your DNS host",
    "message": "Add these 6 records at the service that hosts example.com's DNS (often where you bought the domain). Tringify checks for them automatically.",
    "tool": "verify_email_domain",
    "arguments": { "domain_id": "6c1e2f9a-0b7d-4e44-9a51-3f2d8c1b7e10" },
    "after": "Next automatic check: Oct 27, 2026, 9:53 AM"
  }
}

Field

Meaning

created_at, verified_at

RFC 3339 with the store's offset; verified_at is present once the domain was first verified.

sending_ready

The domain can send right now: its signing (DKIM) records are verified and its base domain is still connected to the store.

mail_from_domain

The bounce (MAIL FROM) subdomain in use, bounce.<domain> by default.

badge

label and tone (positive, neutral, warning, critical): Needs DNS records, Verifying, Ready to send or Action needed.

actions

What the domain allows now: check, restart (only after verification stopped), change_mail_from, add_sender (only when sending_ready), remove.

setup.path

tringify_dns: Tringify hosts the domain's DNS and writes every record itself, so the merchant adds nothing. your_dns: the merchant adds the records at their DNS host.

setup.state

action_required, verifying, ready or attention; setup.summary is the badge label.

setup.steps

Always add_domain, add_records, verifying, verified, ready, in this order, each with label, status (done, current, action_required, upcoming) and message. add_records is labelled Tringify adds the DNS records on tringify_dns and is done once the three signing records are found.

setup.records

Always 3 DKIM CNAME records, 2 MAIL FROM records (MX and TXT on the bounce subdomain) and 1 DMARC TXT record, in that order. host is relative to zone (@ is the zone apex), which is what most DNS hosts ask for; name is the full name. status is found, missing, mismatch, unchecked or lookup_failed; status_text says it in words, and on a mismatch what public DNS shows instead (found[] has the raw values). On tringify_dns every record has managed_by_tringify: true and its status_text is Added by Tringify, Tringify is adding this record or A record of yours at this name is in the way; show no copy buttons then. The DMARC record is the exception when the merchant already publishes a policy: Tringify adds none beside it, so a valid policy of the merchant's own at the domain or its organisational domain is found with managed_by_tringify: false and Found your policy at _dmarc.example.com (on either path). The DMARC record Tringify wrote in the zone it hosts is found with Added by Tringify.

setup.last_checked, setup.next_check

Last checked and Next automatic check, as text.

setup.next_check_at

The next automatic check, RFC 3339 with the store's offset.

setup.poll_after_ms

Greater than 0 while Tringify is verifying: read the domain again after that many milliseconds.

next_action

The single next step: key (add_records, fix_records, add_dmarc, wait, restart_verification, connect_domain, add_sender), label, message, after (when looking again makes sense) and the hosted MCP tool and arguments. Absent when nothing is left to do.

issue

What is wrong, absent otherwise: key (verification_failed, ownership_lost, dkim_drift, mail_from_missing, mail_from_drift, dmarc_missing, dmarc_invalid, records_blocked), title, message, fix and since. It describes a state, not a failed request.

Missing or invalid DMARC and missing or changed bounce (MAIL FROM) records never stop a domain from sending: the state stays ready, the issue (dmarc_missing, dmarc_invalid, mail_from_missing, mail_from_drift) and next_action (add_dmarc or add_records) say what to fix, and existing senders keep sending. A DNS lookup that fails for a moment never moves a domain backwards: the record shows lookup_failed and the state is unchanged. When Tringify hosts the domain's DNS it writes all six records itself (the DMARC record, p=none, only when no policy exists) and they are locked in the domain's DNS records. Every sending domain has a MAIL FROM subdomain; Set custom MAIL FROM changes it and an empty value goes back to the default.

Check now#

POST /api/2025-01/email/domains/{domainId}/verify runs the domain's next step at once: it reads the signing status and public DNS, advances the steps and schedules the next automatic check. It returns 200 with the sending domain object and the code EMAIL_LIFE_CHECKED (message "Checked mail.example.com just now." followed by the current step's message). It never fails because DNS is still updating; refusals are only EMAIL_DOMAIN_NOT_FOUND, EMAIL_DOMAIN_OUTSIDE_STORE_DOMAINS (with details.next_action connect_domain) and EMAIL_CAPACITY_DELAYED.

Tringify keeps checking in the background: every minute at first, backing off to once an hour while verifying, every 6 hours once ready, and 30 minutes after a temporary failure. Don't call verify in a loop; read the domain again after poll_after_ms or at next_check_at. Verification stops when the signing records aren't found within 72 hours (issue.key verification_failed, action restart); Restart domain verification creates new signing records. The merchant is notified in Store Admin and by email once per change: the domain is ready to send, needs them to finish setup (records still missing after an hour, or verification stopped), or can no longer send (signing records changed or base domain no longer connected; the notification names the fallback sender).

Sender addresses#

json
{
  "id": "1f0c7d2e-5b8a-4c3e-9e61-2a7b9d4c8f31",
  "email": "orders@mail.example.com",
  "local_part": "orders",
  "domain": "mail.example.com",
  "domain_type": "custom",
  "email_type": "transactional",
  "is_default": true,
  "is_verified": true,
  "created_at": "2026-10-27T10:02:00+08:00",
  "badge": { "label": "Ready to send", "tone": "positive" },
  "actions": ["remove"],
  "note": "Order and account emails come from this address."
}

domain_type is custom or subdomain (the Tringify address). badge is Ready to send, or the domain's badge while it isn't. actions lists set_default and remove when allowed; the Tringify address has none. note is an optional sentence to show. The default sender can be removed, and so can a sending domain that holds it: the removal check says the Tringify address takes over.

Removal checks#

Before removing a sending domain or a sender address, call GET /api/2025-01/email/domains/{domainId}/removal-check or GET /api/2025-01/email/senders/{addressId}/removal-check (read_email_settings). Show confirm and every impacts[].message; impact keys are senders (addresses removed with the domain), default_sender (order and account emails come from the Tringify address instead), marketing_paused and dns_records (Tringify deletes the email records it added, or the merchant can delete them at their DNS host). After the merchant approves, request a code for verification and send the DELETE with otp_code.

json
GET /api/2025-01/email/domains/6c1e2f9a-0b7d-4e44-9a51-3f2d8c1b7e10/removal-check

{
  "success": true,
  "data": {
    "allowed": true,
    "confirm": "Remove the sending domain mail.example.com? This can't be undone.",
    "impacts": [
      { "key": "senders", "message": "These sender addresses are removed too: orders@mail.example.com." },
      { "key": "default_sender", "message": "Order and account emails are sent from noreply@your-store.mytringify.com instead." },
      { "key": "dns_records", "message": "Tringify deletes the email records it added to example.com's DNS." }
    ],
    "verification": { "action": "delete_email_domain", "target_type": "email_domain", "target_id": "6c1e2f9a-0b7d-4e44-9a51-3f2d8c1b7e10" },
    "next_action": {
      "key": "request_code",
      "label": "Confirm with a verification code",
      "tool": "request_verification_code",
      "arguments": { "action": "delete_email_domain", "target_type": "email_domain", "target_id": "6c1e2f9a-0b7d-4e44-9a51-3f2d8c1b7e10" }
    }
  }
}

A missing or wrong code on any protected email change is refused with DANGEROUS_CODE_REQUIRED or DANGEROUS_CODE_INVALID; details.verification names the action and target and details.next_action (key request_code) is the exact request_verification_code call to make. Actions and targets: add sending domain add_email_domain / email_identity / <store_id>|<domain>; restart restart_email_domain / email_domain / domain id; MAIL FROM email_mail_from / email_identity / <store_id>|<domain_id>|<mail_from>; remove domain delete_email_domain / email_domain / domain id; add sender add_email_address / email_identity / <store_id>|<local>@<domain>; remove sender delete_email_address / email_address / address id; set default set_default_email_address / email_address / address id; reply-to email_reply_to / email_identity / <store_id>|<email>.

What changed on 27 October 2026#

  • New: GET /email/overview, GET /email/domains/{domainId}, GET /email/domains/{domainId}/removal-check and GET /email/senders/{addressId}/removal-check.

  • Deleted: GET /email/domains/{domainId}/records. The records are setup.records on the domain.

  • Check domain verification returns the sending domain object with EMAIL_LIFE_CHECKED instead of a separate verify result (provider, ses, status, verified, success, owned, next_check_at, next_check are gone from it).

  • Removed from the sending domain: provider, sending_provider, ses, status, dns_records, dmarc_recommendation, records_added, dns_conflicts, delegation_active, configured_dns_zone, dns_zone, dns_managed, owned, can_restart, mail_from_requested, mail_from_pending, last_check_at, next_check_at (now in setup), local_part and email_type. Removed from the sender address: sending_provider, ses_is_verified, can_delete and permanent. The provider request parameter is gone from every email endpoint.

  • Removing the default sender, or a sending domain that holds it, is allowed; EMAIL_ADDRESS_DELETE_DEFAULT and EMAIL_DOMAIN_DELETE_WITH_DEFAULT no longer exist.

  • Verification-code errors carry details.next_action with the request_verification_code call.

Endpoints#

List sender addresses

GET read_email_settings Admin tokens only

List the addresses the store sends email from.

is_verified reports whether an address can send right now, with the same rule sending enforces; badge is its sending domain's status while it can't. actions (set_default, remove) are what the merchant may do now; the store's Tringify address has no remove. When the default transactional sender cannot send, order and account email goes out from the store's Tringify address. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List sending domains

GET read_email_settings Admin tokens only

List the store's custom sending domains.

Each domain is the same object as Get a sending domain: its setup steps and DNS records, badge, actions, next_action and issue. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Get the customer reply-to address

GET read_email_settings Admin tokens only

Get where customer replies to store emails go.

pending_reply_to is an address waiting for its inbox to confirm the link sent to it. transactional_reply and marketing_reply say where replies to each type of store email go: support (the customer reply-to address, or the store's Inbox address when none is set), inbox (the store's Inbox address) or none (no Reply-To). Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Set where replies go by email type

PUT write_email_settings Admin tokens only

Choose where customers' replies to transactional and marketing emails go.

support uses the customer reply-to address (the store's Inbox address when none is set), inbox the store's Inbox address, none sends without a Reply-To, so replies go to the no-reply sender and are lost. A field left out stays as it is. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
transactional_reply string

support, inbox or none.

Example: support
marketing_reply string

support, inbox or none.

Example: inbox

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 EMAIL_REPLY_MODE_INVALID

    A value is not support, inbox or none.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Set the customer reply-to address

PUT write_email_settings Admin tokens only

Set where customer replies to store emails go.

An empty value removes the Reply-To override. It does not disable an externally hosted From mailbox. A new address takes effect once its inbox confirms the link Tringify emails to it; until then the response returns it as pending_reply_to, with pending_requested_at, pending_expires_at and pending_expired; resend_available_at is present only while a resend would still be refused (EMAIL_REPLY_TO_RESEND_TOO_SOON). Save the active value to cancel and revoke the pending link (EMAIL_REPLY_TO_PENDING_CANCELLED); save the pending value to resend the link. Times are in the store's timezone. Links expire after seven days. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed. Needs a verification code: request it with request_verification_code (POST /api/2025-01/verification-codes) using action email_reply_to, target_type email_identity and target_id storeId|value: the store id, a | and the trimmed reply-to address (empty when removing it). Tringify emails the code to the token's member; ask them for it and send it as otp_code. A code works once, only for this action and target, until it expires. A missing or rejected code returns an error whose details.next_action is this exact request_verification_code call (details.verification holds the binding).

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
customer_reply_to required string

Email address for customer replies, or an empty string.

Example: help@example.com
otp_code required string

Verification code for action email_reply_to, target_type email_identity and target_id storeId|value: the store id, a | and the trimmed reply-to address (empty when removing it). Request it with request_verification_code.

Example: 123456

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 EMAIL_REPLY_TO_INVALID

    Not a single plain email address.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 DANGEROUS_CODE_REQUIRED

    otp_code is missing. Request a verification code with request_verification_code for action email_reply_to, target_type email_identity and target_id storeId|value: the store id, a | and the trimmed reply-to address (empty when removing it).

  • 400 DANGEROUS_CODE_INVALID

    The code is wrong, expired, already used, out of attempts, or was requested for another action or target. Request a new one.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Check an email suppression

GET read_email_settings Admin tokens only

Check whether the store's emails to an address are blocked.

Addresses that bounced permanently or reported the store's email as spam are suppressed. Suppression lookup is scoped to this store. Complaint suppressions cannot be lifted. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Query parameters

Name Type Description
email required string

The address to check.

Example: customer@example.net

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 INVALID_INPUT

    Not a single plain email address.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Create sender

POST write_email_settings Admin tokens only

Create a sender address on a verified sending domain.

Creating a sender does not make it the default. Transactional and marketing limits are returned with the sender list. Needs a verification code: request it with request_verification_code (POST /api/2025-01/verification-codes) using action add_email_address, target_type email_identity and target_id storeId|local_part@domain: the store id, a | and the sender address, with local_part and domain trimmed and lowercased. Tringify emails the code to the token's member; ask them for it and send it as otp_code. A code works once, only for this action and target, until it expires. A missing or rejected code returns an error whose details.next_action is this exact request_verification_code call (details.verification holds the binding). Mutations return a backend-localized code and message; show them verbatim. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
domain required string

Verified sending domain.

local_part required string

Sender local part.

email_type required string

transactional or marketing.

otp_code required string

Verification code for action add_email_address, target_type email_identity and target_id storeId|local_part@domain: the store id, a | and the sender address, with local_part and domain trimmed and lowercased. Request it with request_verification_code.

Example: 123456

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 DANGEROUS_CODE_REQUIRED

    otp_code is missing. Request a verification code with request_verification_code for action add_email_address, target_type email_identity and target_id storeId|local_part@domain: the store id, a | and the sender address, with local_part and domain trimmed and lowercased.

  • 400 DANGEROUS_CODE_INVALID

    The code is wrong, expired, already used, out of attempts, or was requested for another action or target. Request a new one.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Delete sender

DELETE write_email_settings Admin tokens only

Delete a custom sender address.

Call Check sender removal first and show its confirm sentence and impacts. The store's Tringify address is permanent (its actions never include remove). Removing the default order and account sender makes the Tringify address the default; removing the default marketing sender pauses marketing email until another is chosen. Needs a verification code: request it with request_verification_code (POST /api/2025-01/verification-codes) using action delete_email_address, target_type email_address and target_id the addressId. Tringify emails the code to the token's member; ask them for it and send it as otp_code. A code works once, only for this action and target, until it expires. A missing or rejected code returns an error whose details.next_action is this exact request_verification_code call (details.verification holds the binding). Mutations return a backend-localized code and message; show them verbatim. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Path parameters

Name Type Description
addressId required string

Store-scoped resource UUID.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
otp_code required string

Verification code for action delete_email_address, target_type email_address and target_id the addressId. Request it with request_verification_code.

Example: 123456

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 DANGEROUS_CODE_REQUIRED

    otp_code is missing. Request a verification code with request_verification_code for action delete_email_address, target_type email_address and target_id the addressId.

  • 400 DANGEROUS_CODE_INVALID

    The code is wrong, expired, already used, out of attempts, or was requested for another action or target. Request a new one.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Choose default sender

PUT write_email_settings Admin tokens only

Make a sender the default for its email type.

Needs a verification code: request it with request_verification_code (POST /api/2025-01/verification-codes) using action set_default_email_address, target_type email_address and target_id the addressId. Tringify emails the code to the token's member; ask them for it and send it as otp_code. A code works once, only for this action and target, until it expires. A missing or rejected code returns an error whose details.next_action is this exact request_verification_code call (details.verification holds the binding). Mutations return a backend-localized code and message; show them verbatim. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Path parameters

Name Type Description
addressId required string

Store-scoped resource UUID.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
otp_code required string

Verification code for action set_default_email_address, target_type email_address and target_id the addressId. Request it with request_verification_code.

Example: 123456

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 DANGEROUS_CODE_REQUIRED

    otp_code is missing. Request a verification code with request_verification_code for action set_default_email_address, target_type email_address and target_id the addressId.

  • 400 DANGEROUS_CODE_INVALID

    The code is wrong, expired, already used, out of attempts, or was requested for another action or target. Request a new one.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Register sending domain

POST write_email_settings Admin tokens only

Register a sending domain under a verified store domain.

Needs a verification code: request it with request_verification_code (POST /api/2025-01/verification-codes) using action add_email_domain, target_type email_identity and target_id storeId|domain: the store id, a | and the domain, trimmed and lowercased. Tringify emails the code to the token's member; ask them for it and send it as otp_code. A code works once, only for this action and target, until it expires. A missing or rejected code returns an error whose details.next_action is this exact request_verification_code call (details.verification holds the binding). Mutations return a backend-localized code and message; show them verbatim. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
domain required string

Sending domain under a verified registrable base.

otp_code required string

Verification code for action add_email_domain, target_type email_identity and target_id storeId|domain: the store id, a | and the domain, trimmed and lowercased. Request it with request_verification_code.

Example: 123456

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 DANGEROUS_CODE_REQUIRED

    otp_code is missing. Request a verification code with request_verification_code for action add_email_domain, target_type email_identity and target_id storeId|domain: the store id, a | and the domain, trimmed and lowercased.

  • 400 DANGEROUS_CODE_INVALID

    The code is wrong, expired, already used, out of attempts, or was requested for another action or target. Request a new one.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List sending domain options

GET read_email_settings Admin tokens only

See which domains the store can register for sending email.

bases groups the store's verified custom domains by registrable domain; register any of them, or another subdomain under the same base, with Register sending domain. pending lists custom domains that are not verified yet and so cannot send email; verify them first. registered lists the sending domains the store already has. The store's mytringify address is never listed. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Check a sending domain now

POST write_email_settings Admin tokens only

Run the next step of a sending domain's setup now.

Success means the check ran, not that the domain can send: the response is the sending domain (see Get a sending domain) as it is after the check, and the message says what the check found. Tringify keeps checking by itself (setup.next_check); call this when the merchant changed DNS, not in a loop. A pending or transient DNS state is never an error. Mutations return a backend-localized code and message; show them verbatim. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Path parameters

Name Type Description
domainId required string

Store-scoped resource UUID.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The request body has a property; this endpoint takes no body. Send no body or an empty object {}.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Restart domain verification

POST write_email_settings Admin tokens only

Restart a sending domain's verification after it stopped, with new signing (DKIM) records.

Needs a verification code: request it with request_verification_code (POST /api/2025-01/verification-codes) using action restart_email_domain, target_type email_domain and target_id the domainId. Tringify emails the code to the token's member; ask them for it and send it as otp_code. A code works once, only for this action and target, until it expires. A missing or rejected code returns an error whose details.next_action is this exact request_verification_code call (details.verification holds the binding). Mutations return a backend-localized code and message; show them verbatim. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Path parameters

Name Type Description
domainId required string

Store-scoped resource UUID.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
otp_code required string

Verification code for action restart_email_domain, target_type email_domain and target_id the domainId. Request it with request_verification_code.

Example: 123456

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 DANGEROUS_CODE_REQUIRED

    otp_code is missing. Request a verification code with request_verification_code for action restart_email_domain, target_type email_domain and target_id the domainId.

  • 400 DANGEROUS_CODE_INVALID

    The code is wrong, expired, already used, out of attempts, or was requested for another action or target. Request a new one.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Remove sending domain

DELETE write_email_settings Admin tokens only

Remove a sending domain and its sender addresses.

Call Check sending domain removal first and show its confirm sentence and impacts. Its senders are removed; a default order and account sender falls back to the store's Tringify address and a default marketing sender pauses marketing email. Records Tringify wrote in DNS it hosts are deleted. Needs a verification code: request it with request_verification_code (POST /api/2025-01/verification-codes) using action delete_email_domain, target_type email_domain and target_id the domainId. Tringify emails the code to the token's member; ask them for it and send it as otp_code. A code works once, only for this action and target, until it expires. A missing or rejected code returns an error whose details.next_action is this exact request_verification_code call (details.verification holds the binding). Mutations return a backend-localized code and message; show them verbatim. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Path parameters

Name Type Description
domainId required string

Store-scoped resource UUID.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
otp_code required string

Verification code for action delete_email_domain, target_type email_domain and target_id the domainId. Request it with request_verification_code.

Example: 123456

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 DANGEROUS_CODE_REQUIRED

    otp_code is missing. Request a verification code with request_verification_code for action delete_email_domain, target_type email_domain and target_id the domainId.

  • 400 DANGEROUS_CODE_INVALID

    The code is wrong, expired, already used, out of attempts, or was requested for another action or target. Request a new one.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List email history

GET read_email_settings Admin tokens only

List the store's sent email, newest first.

Use has_more and next_cursor; never derive navigation from totals. History is retained for 90 days. Times are RFC 3339 in the store's timezone, with its offset. Each send has submission_state (not_admitted, submitting, ready, accepted, rejected, unknown or no_provider_record) and submission_label, the backend text to show for it; no_provider_record is an email handled before Tringify recorded sending results, with no result left to derive it from. Unknown submissions must not be automatically resent. Each send also carries type_display and status_display, its type and status worded by the API; type_options and status_options list the filter values as value with a label. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Query parameters

Name Type Description
type string

A value from type_options returned with history.

status string

A value from status_options returned with history.

date_from string

Store-local calendar date YYYY-MM-DD; the day is included.

date_to string

Store-local calendar date YYYY-MM-DD; the whole day is included.

cursor string

Opaque next_cursor from the preceding history page; omit for first page.

limit integer

History page size; at most the returned service limit.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Get email statistics

GET read_email_settings Admin tokens only

Get delivery totals for the filtered history.

Uses the same type/status/date filters as history. Sent means sent+bounced+complained; delivered means recipient server acceptance; delivery_rate=delivered/sent*100. as_of is when the totals were counted (RFC 3339, store timezone); they may be up to a minute old. Failed statistics must be displayed as unavailable. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Query parameters

Name Type Description
type string

A value from type_options returned with history.

status string

A value from status_options returned with history.

date_from string

Store-local calendar date YYYY-MM-DD; the day is included.

date_to string

Store-local calendar date YYYY-MM-DD; the whole day is included.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Lift bounce suppression

POST write_email_settings Admin tokens only

Allow email to an address again after a permanent bounce.

Only bounce suppressions can be lifted; complaint suppressions cannot. Mutations return a backend-localized code and message; show them verbatim. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
email required string

Recipient address. Only bounce suppressions may be lifted.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List suppressions

GET read_email_settings Admin tokens only

Browse recipient suppressions, newest first.

Store-scoped cursor listing. Recipient addresses and send links are available only while the associated 90-day history is retained. A missing recipient_email means the address is no longer retained, not an empty mailbox. Use has_more and next_cursor; complaints cannot be lifted. Each row carries reason_display, why the address is suppressed, worded by the API. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Query parameters

Name Type Description
cursor string

Opaque next_cursor.

limit integer

Page size; omit for the service default. The applied limit is returned.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Change the bounce subdomain

PUT write_email_settings Admin tokens only

Choose the subdomain bounces return to (MAIL FROM).

Every sending domain has one, bounce. by default. Use an unused subdomain of the sending domain; its MX and SPF records then appear in setup.records (Tringify writes them in DNS it hosts). Never replace the root MX/SPF. Missing bounce records never stop sending. An empty mail_from_domain restores bounce.. Needs a verification code: request it with request_verification_code (POST /api/2025-01/verification-codes) using action email_mail_from, target_type email_identity and target_id storeId|domainId|mail_from_domain: the store id, the sending domain id and the MAIL FROM subdomain trimmed, lowercased and without a trailing dot (empty when restoring the default), joined with |. Tringify emails the code to the token's member; ask them for it and send it as otp_code. A code works once, only for this action and target, until it expires. A missing or rejected code returns an error whose details.next_action is this exact request_verification_code call (details.verification holds the binding). Mutations return a backend-localized code and message; show them verbatim. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Path parameters

Name Type Description
domainId required string

Sending domain UUID.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
mail_from_domain required string

Dedicated unused subdomain, or empty for bounce..

Example: bounce.mail.example.com
otp_code required string

Verification code for action email_mail_from, target_type email_identity and target_id storeId|domainId|mail_from_domain: the store id, the sending domain id and the MAIL FROM subdomain trimmed, lowercased and without a trailing dot (empty when restoring the default), joined with |. Request it with request_verification_code.

Example: 123456

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 DANGEROUS_CODE_REQUIRED

    otp_code is missing. Request a verification code with request_verification_code for action email_mail_from, target_type email_identity and target_id storeId|domainId|mail_from_domain: the store id, the sending domain id and the MAIL FROM subdomain trimmed, lowercased and without a trailing dot (empty when restoring the default), joined with |.

  • 400 DANGEROUS_CODE_INVALID

    The code is wrong, expired, already used, out of attempts, or was requested for another action or target. Request a new one.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Get the email setup overview

GET read_email_settings Admin tokens only

See the store's email setup in order and its sending health.

steps are always sending_domain, sender_address, default_sender and reply_to, each with a backend status (done, current, action_required, upcoming or optional) and message. next_action is the single next thing to do, with the hosted MCP tool and arguments that perform or check it; it is absent when everything is done and healthy. health has state (good, warning or critical), a badge, a summary, metrics (bounce rate, spam complaint rate over the last 30 days, suppressed addresses) and issues, each with its cause (message) and fix in plain words. Rates count from 100 sends in 30 days. All text is backend-written in English; show it as given. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Get a sending domain

GET read_email_settings Admin tokens only

Get one sending domain with its setup steps and DNS records.

setup is the one step tracker: path (tringify_dns when Tringify hosts the DNS and writes the records itself, your_dns when the merchant adds them), state (action_required, verifying, ready or attention), summary, current_step, steps (add_domain, add_records, verifying, verified, ready — each with status and message), records (3 DKIM, 2 MAIL FROM and 1 DMARC record, each with host relative to zone, full name, value, status found, missing, mismatch, unchecked or lookup_failed, and status_text with what public DNS shows instead), last_checked, next_check, next_check_at (RFC 3339 in the store's timezone) and poll_after_ms. badge, actions (check, restart, change_mail_from, add_sender, remove), next_action (MCP tool + arguments) and issue (title, message, fix) are backend-decided. Missing bounce or DMARC records never stop sending. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Path parameters

Name Type Description
domainId required string

Store-scoped resource UUID.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Check sending domain removal

GET read_email_settings Admin tokens only

See what removing a sending domain takes with it.

Show confirm and every impacts[].message (senders removed, the default sender falling back to the store's Tringify address, marketing pausing, DNS records) and get approval; then call next_action (request_verification_code with the given arguments) and remove the domain with the emailed code. Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Path parameters

Name Type Description
domainId required string

Store-scoped resource UUID.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Check sender removal

GET read_email_settings Admin tokens only

See what removing a sender address changes.

Show confirm and every impacts[].message; then call next_action (request_verification_code with the given arguments) and delete the sender with the emailed code. The store's Tringify address can't be removed (EMAIL_ADDRESS_DELETE_MANAGED). Installed and third-party app credentials cannot request or hold read_domains, write_domains, read_email_settings or write_email_settings. Merchant admin tokens and the merchant’s own MCP connection retain explicitly granted access. The mytringify subdomain is permanent and cannot be renamed.

Path parameters

Name Type Description
addressId required string

Store-scoped resource UUID.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Webhook events#

Merchant webhooks cover sender create/default/delete, sending-domain create/update/delete, reply-to changes, suppression lifts, delivery, failure, bounce and complaint. Configuration events commit with the setting. Each delivery outcome is recorded once, so retries never produce duplicate feedback events. Apps cannot subscribe to these private email topics.

Sender added

EVENT email_senders/create App scope: read_email_settings Staff permission: settings.email:read

Sender added.

Payload fields

Field Type Description
id string Always present
action string Selectable in the Payload builder
data object Selectable in the Payload builder

Default sender changed

EVENT email_senders/update App scope: read_email_settings Staff permission: settings.email:read

Sender default changed.

Payload fields

Field Type Description
id string Always present
action string Selectable in the Payload builder
data object Selectable in the Payload builder

Sender removed

EVENT email_senders/delete App scope: read_email_settings Staff permission: settings.email:read

Sender removed.

Payload fields

Field Type Description
id string Always present
action string Selectable in the Payload builder
data object Selectable in the Payload builder

Sending domain added

EVENT email_domains/create App scope: read_email_settings Staff permission: settings.email:read

Sending domain added.

Payload fields

Field Type Description
id string Always present
action string Selectable in the Payload builder
data object Selectable in the Payload builder

Sending domain removed

EVENT email_domains/delete App scope: read_email_settings Staff permission: settings.email:read

Sending domain removed.

Payload fields

Field Type Description
id string Always present
action string Selectable in the Payload builder
data object Selectable in the Payload builder

Reply-to changed

EVENT email_reply_to/update App scope: read_email_settings Staff permission: settings.email:read

Reply-to state changed.

Payload fields

Field Type Description
id string Always present
action string Selectable in the Payload builder
data object Selectable in the Payload builder

Bounce suppression lifted

EVENT email_suppressions/lifted App scope: read_email_settings Staff permission: settings.email:read

Bounce suppression lifted.

Payload fields

Field Type Description
email.id string Always present
email.type string Selectable in the Payload builder
email.recipient_email string Selectable in the Payload builder
email.order_id string | null Selectable in the Payload builder
email.bounce_type string Selectable in the Payload builder
email.suppressed boolean Selectable in the Payload builder
email.occurred_at string Selectable in the Payload builder

Email delivered to recipient server

EVENT emails/delivered App scope: read_email_settings Staff permission: settings.email:read

Recipient server accepted email.

Payload fields

Field Type Description
email.id string Always present
email.type string Selectable in the Payload builder
email.recipient_email string Selectable in the Payload builder
email.order_id string | null Selectable in the Payload builder
email.bounce_type string Selectable in the Payload builder
email.suppressed boolean Selectable in the Payload builder
email.occurred_at string Selectable in the Payload builder

Email failed

EVENT emails/failed App scope: read_email_settings Staff permission: settings.email:read

Email delivery failed.

Payload fields

Field Type Description
email.id string Always present
email.type string Selectable in the Payload builder
email.recipient_email string Selectable in the Payload builder
email.order_id string | null Selectable in the Payload builder
email.bounce_type string Selectable in the Payload builder
email.suppressed boolean Selectable in the Payload builder
email.occurred_at string Selectable in the Payload builder

Sending domain updated

EVENT email_domains/update App scope: read_email_settings Staff permission: settings.email:read

Fired when a sending domain becomes verified or can no longer send email.

Payload fields

Field Type Description
email_domain.id string Always present
email_domain.domain string Selectable in the Payload builder
email_domain.status string Selectable in the Payload builder
email_domain.sending_ready boolean Selectable in the Payload builder
email_domain.reason string Selectable in the Payload builder

Email bounced

EVENT emails/bounced App scope: read_email_settings Staff permission: settings.email:read

Fired when an email the store sent bounces. A permanent bounce stops further emails to that address until the merchant lifts it.

Payload fields

Field Type Description
email.id string Always present
email.type string Selectable in the Payload builder
email.recipient_email string Selectable in the Payload builder
email.order_id string | null Selectable in the Payload builder
email.bounce_type string Selectable in the Payload builder
email.suppressed boolean Selectable in the Payload builder
email.occurred_at string Selectable in the Payload builder

Email marked as spam

EVENT emails/complained App scope: read_email_settings Staff permission: settings.email:read

Fired when a recipient marks an email the store sent as spam. Further emails to that address stop.

Payload fields

Field Type Description
email.id string Always present
email.type string Selectable in the Payload builder
email.recipient_email string Selectable in the Payload builder
email.order_id string | null Selectable in the Payload builder
email.bounce_type string Selectable in the Payload builder
email.suppressed boolean Selectable in the Payload builder
email.occurred_at string Selectable in the Payload builder