Documentation

esc
    API reference · Email / Email

    Email

    Send transactional email from your own domains, over the API or SMTP: sending domains, emails, SMTP sending keys, packs and suppressions.

    Add a sending domain and publish the DNS records it shows (a CNAME for its DKIM key and one for its bounce domain) at your DNS host. Once both are found the domain is verified, and you can send from any address at it with POST /emails, or over SMTP with a sending key. A new organization starts in the sandbox, 20 recipients a day for free, until Pantech reviews it for production, which sends from prepaid packs of 1,000 emails bought from your credit. Addresses that bounce permanently or report spam are suppressed and not sent to again.

    The email domain object

    A domain your organization sends email from.

    Fields

    • idstringrequired

      The sending domain's id (emd_…).

    • namestringrequired
    • statusstringrequired

      pending until its records are found; verified sends; warning sends but its records were not found on the last checks and it is suspended after 72 hours unless they come back; suspended does not send; failed was not verified within 72 hours.

      One of pending, verified, warning, suspended, failed.

    • status_reasonstring or nullrequired

      Why a domain is failed, warning or suspended; null otherwise.

      One of verification_timeout, records_missing, abuse, operator, null.

    • can_sendbooleanrequired

      Whether mail from this domain is accepted now.

    • return_path_domainstringrequired

      The bounce domain, such as send.example.com.

    • dkim_selectorstringrequired

      The DKIM selector your mail is signed with.

    • recordsarray of EmailDomainRecordrequired
      Show 6 child fields
      • purposestringrequired

        dkim signs your mail, return_path receives bounces, dmarc tells receivers what to do with unsigned mail.

        One of dkim, return_path, dmarc.

      • typestringrequired

        One of CNAME, TXT.

      • namestringrequired

        The record's full name.

      • valuestringrequired

        The record's value.

      • requiredbooleanrequired

        Whether the domain needs it to be verified. DMARC is recommended, not required.

      • statusstring or nullrequired

        Whether the last check found it; null for an optional record and before the first check.

        One of verified, missing, null.

    • verification_deadline_atstring or nullrequired

      When a pending domain becomes failed; null in any other status.

    • suspension_deadline_atstring or nullrequired

      When a warning domain is suspended; null in any other status.

    • last_checked_atstring or nullrequired
    • verified_atstring or nullrequired

      When the domain was first verified.

    • created_atstringrequired
    • updated_atstringrequired

    The email object

    An email.

    Fields

    • idstringrequired

      The email's id (eml_…).

    • fromstringrequired
    • subjectstringrequired
    • statusstringrequired

      sent once Pantech's mail servers accepted it; each recipient's own status follows its delivery.

      One of scheduled, queued, dispatching, sent, canceled, failed.

    • sourcestringrequired

      One of api, smtp.

    • recipientsarray of EmailRecipientrequired
      Show 4 child fields
      • addressstringrequired
      • kindstringrequired

        One of to, cc, bcc.

      • statusstringrequired

        sent: accepted by Pantech's mail servers; delivered: accepted by the recipient's; delayed: being retried.

        One of queued, suppressed, sent, delayed, delivered, bounced, complained, failed, canceled.

      • reasonstring or nullrequired

        The receiving server's answer for a bounce, delay or failure.

    • tagsobjectrequired
    • scheduled_atstring or nullrequired
    • sent_atstring or nullrequired
    • failure_reasonstring or nullrequired

      Why the email was not sent, such as all_recipients_suppressed or sending_paused.

    • created_atstringrequired

    The email sending key object

    An SMTP sending key.

    Fields

    • idstringrequired

      The key's id (esk_…).

    • namestringrequired
    • statusstringrequired

      One of active, revoked.

    • email_domain_idstring or nullrequired

      The one sending domain this key may send from; null for any of the organization's.

    • hintstringrequired

      The secret's first characters, such as pmk_ab12cd.

    • smtpEmailSMTPSettingsrequired

      How to send over SMTP with a sending key.

      Show 4 child fields
      • hoststringrequired

        The SMTP host, such as smtp.pantechdynamics.com.

      • portsarray of integerrequired

        Submission ports. Use 587; 2587 is for networks that block 587.

      • usernamestringrequired

        Always pantech. The password is the key's secret.

      • securitystringrequired

        Connect in plain text, then upgrade with STARTTLS before logging in.

        One of starttls.

    • last_used_atstring or nullrequired

      When the key last logged in, to the minute.

    • created_atstringrequired
    • revoked_atstring or nullrequired

    The email suppression object

    An address Pantech will not send to.

    Fields

    • addressstringrequired
    • reasonstringrequired

      One of hard_bounce, complaint, manual.

    • email_idstring or nullrequired

      The email that bounced or was reported, when there is one.

    • created_atstringrequired

    List sending domains

    The domains your organization sends email from, newest first, each with the DNS records it needs and whether they were found.

    GET/public/v1/email/domains
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Query parameters

    • qstring

      Only domains whose name contains this text (case-insensitive), at most 255 characters.

      At most 255 characters.

    • statusstring

      Only domains in this status.

      One of pending, verified, warning, suspended, failed.

    • limitinteger

      Items per page, 1 to 100. Defaults to 50.

      From 1 to 100. Defaults to 50.

    • cursorstring

      The previous page's next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.

    Response 200

    Sending domains.
    • dataarray of EmailDomainrequired
      Show 14 child fields
      • idstringrequired

        The sending domain's id (emd_…).

      • namestringrequired
      • statusstringrequired

        pending until its records are found; verified sends; warning sends but its records were not found on the last checks and it is suspended after 72 hours unless they come back; suspended does not send; failed was not verified within 72 hours.

        One of pending, verified, warning, suspended, failed.

      • status_reasonstring or nullrequired

        Why a domain is failed, warning or suspended; null otherwise.

        One of verification_timeout, records_missing, abuse, operator, null.

      • can_sendbooleanrequired

        Whether mail from this domain is accepted now.

      • return_path_domainstringrequired

        The bounce domain, such as send.example.com.

      • dkim_selectorstringrequired

        The DKIM selector your mail is signed with.

      • recordsarray of EmailDomainRecordrequired
        Show 6 child fields
        • purposestringrequired

          dkim signs your mail, return_path receives bounces, dmarc tells receivers what to do with unsigned mail.

          One of dkim, return_path, dmarc.

        • typestringrequired

          One of CNAME, TXT.

        • namestringrequired

          The record's full name.

        • valuestringrequired

          The record's value.

        • requiredbooleanrequired

          Whether the domain needs it to be verified. DMARC is recommended, not required.

        • statusstring or nullrequired

          Whether the last check found it; null for an optional record and before the first check.

          One of verified, missing, null.

      • verification_deadline_atstring or nullrequired

        When a pending domain becomes failed; null in any other status.

      • suspension_deadline_atstring or nullrequired

        When a warning domain is suspended; null in any other status.

      • last_checked_atstring or nullrequired
      • verified_atstring or nullrequired

        When the domain was first verified.

      • created_atstringrequired
      • updated_atstringrequired
    • next_cursorstring or nullrequired

      Pass as cursor for the next page; null on the last one.

    Errors

    • 400INVALID_FILTER: a query parameter is not one of its allowed values. detail names it and what it takes. INVALID_CURSOR: the cursor is not valid for this list and these filters. Start again without a cursor.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on this sending domain (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Query
    curl "https://api.pantechdynamics.com/public/v1/email/domains" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "data": [
        {
          "id": "emd_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "name": "web-1",
          "status": "pending",
          "status_reason": "verification_timeout",
          "can_send": true,
          "return_path_domain": "return-path-domain",
          "dkim_selector": "dkim-selector",
          "records": [
            {
              "purpose": "dkim",
              "type": "CNAME",
              "name": "web-1",
              "value": "value",
              "required": true,
              "status": "verified"
            }
          ],
          "verification_deadline_at": "2026-10-03T09:30:00Z",
          "suspension_deadline_at": "2026-10-03T09:30:00Z",
          "last_checked_at": "2026-10-03T09:30:00Z",
          "verified_at": "2026-10-03T09:30:00Z",
          "created_at": "2026-10-03T09:30:00Z",
          "updated_at": "2026-10-03T09:30:00Z"
        }
      ],
      "next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
    }

    Add a sending domain

    Adds a domain you send email from, such as example.com. The answer's records are the DNS records to publish at your DNS host: a CNAME for the DKIM key (pantech1._domainkey.<domain>) and a CNAME for the bounce domain (send.<domain>), both pointing at Pantech, plus an optional DMARC TXT record. Pantech checks them within minutes of being published; once both are found the domain is verified and you can send from any address at it. A domain whose records are not found within 72 hours becomes failed; verify it again to restart. Pantech rotates the DKIM key behind the CNAME by itself. At most 100 sending domains per organization. Owners and admins only.

    Idempotency: a retry with the same Idempotency-Key returns the domain the first request made. The same key with a different request returns 409 IDEMPOTENCY_CONFLICT.

    POST/public/v1/email/domains
    Write keyNeeds Idempotency-KeyReturns201Created

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Body

    application/json
    • namestringrequired

      The domain, such as example.com or mail.example.com. An internationalised name is stored in punycode.

      At most 253 characters.

    • return_path_subdomainstring

      The label of the bounce domain under name. Default send, giving send.example.com.

      At most 63 characters.

    Response 201

    The new sending domain, pending verification.
    • idstringrequired

      The sending domain's id (emd_…).

    • namestringrequired
    • statusstringrequired

      pending until its records are found; verified sends; warning sends but its records were not found on the last checks and it is suspended after 72 hours unless they come back; suspended does not send; failed was not verified within 72 hours.

      One of pending, verified, warning, suspended, failed.

    • status_reasonstring or nullrequired

      Why a domain is failed, warning or suspended; null otherwise.

      One of verification_timeout, records_missing, abuse, operator, null.

    • can_sendbooleanrequired

      Whether mail from this domain is accepted now.

    • return_path_domainstringrequired

      The bounce domain, such as send.example.com.

    • dkim_selectorstringrequired

      The DKIM selector your mail is signed with.

    • recordsarray of EmailDomainRecordrequired
      Show 6 child fields
      • purposestringrequired

        dkim signs your mail, return_path receives bounces, dmarc tells receivers what to do with unsigned mail.

        One of dkim, return_path, dmarc.

      • typestringrequired

        One of CNAME, TXT.

      • namestringrequired

        The record's full name.

      • valuestringrequired

        The record's value.

      • requiredbooleanrequired

        Whether the domain needs it to be verified. DMARC is recommended, not required.

      • statusstring or nullrequired

        Whether the last check found it; null for an optional record and before the first check.

        One of verified, missing, null.

    • verification_deadline_atstring or nullrequired

      When a pending domain becomes failed; null in any other status.

    • suspension_deadline_atstring or nullrequired

      When a warning domain is suspended; null in any other status.

    • last_checked_atstring or nullrequired
    • verified_atstring or nullrequired

      When the domain was first verified.

    • created_atstringrequired
    • updated_atstringrequired

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value. INVALID_REQUEST_BODY: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on this sending domain (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. EMAIL_DOMAIN_LIMIT_REACHED: your organization already has 100 sending domains. Delete one first, or contact support. ACCOUNT_SUSPENDED: the organization's account is suspended or past due. Settle the open invoice first.
    • 409EMAIL_DOMAIN_EXISTS: this domain is already a sending domain in your organization. IDEMPOTENCY_CONFLICT: this Idempotency-Key was already used with a different request. Use a new key.
    • 422VALIDATION_FAILED: errors names the field: name REQUIRED, INVALID_NAME (not a domain you can own, such as a public suffix) or RESERVED_NAME (a Pantech name). return_path_subdomain INVALID_RETURN_PATH: send one DNS label such as send or bounces.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Body
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/email/domains" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
        "name": "web-1"
      }'
    Response 201
    {
      "id": "emd_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "name": "web-1",
      "status": "pending",
      "status_reason": "verification_timeout",
      "can_send": true,
      "return_path_domain": "return-path-domain",
      "dkim_selector": "dkim-selector",
      "records": [
        {
          "purpose": "dkim",
          "type": "CNAME",
          "name": "web-1",
          "value": "value",
          "required": true,
          "status": "verified"
        }
      ],
      "verification_deadline_at": "2026-10-03T09:30:00Z",
      "suspension_deadline_at": "2026-10-03T09:30:00Z",
      "last_checked_at": "2026-10-03T09:30:00Z",
      "verified_at": "2026-10-03T09:30:00Z",
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z"
    }

    Get a sending domain

    One sending domain with the DNS records it needs and, once checked, whether each was found.

    GET/public/v1/email/domains/{email_domain_id}
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Path parameters

    • email_domain_idstringrequired

      The sending domain's id (emd_…).

    Response 200

    The sending domain.
    • idstringrequired

      The sending domain's id (emd_…).

    • namestringrequired
    • statusstringrequired

      pending until its records are found; verified sends; warning sends but its records were not found on the last checks and it is suspended after 72 hours unless they come back; suspended does not send; failed was not verified within 72 hours.

      One of pending, verified, warning, suspended, failed.

    • status_reasonstring or nullrequired

      Why a domain is failed, warning or suspended; null otherwise.

      One of verification_timeout, records_missing, abuse, operator, null.

    • can_sendbooleanrequired

      Whether mail from this domain is accepted now.

    • return_path_domainstringrequired

      The bounce domain, such as send.example.com.

    • dkim_selectorstringrequired

      The DKIM selector your mail is signed with.

    • recordsarray of EmailDomainRecordrequired
      Show 6 child fields
      • purposestringrequired

        dkim signs your mail, return_path receives bounces, dmarc tells receivers what to do with unsigned mail.

        One of dkim, return_path, dmarc.

      • typestringrequired

        One of CNAME, TXT.

      • namestringrequired

        The record's full name.

      • valuestringrequired

        The record's value.

      • requiredbooleanrequired

        Whether the domain needs it to be verified. DMARC is recommended, not required.

      • statusstring or nullrequired

        Whether the last check found it; null for an optional record and before the first check.

        One of verified, missing, null.

    • verification_deadline_atstring or nullrequired

      When a pending domain becomes failed; null in any other status.

    • suspension_deadline_atstring or nullrequired

      When a warning domain is suspended; null in any other status.

    • last_checked_atstring or nullrequired
    • verified_atstring or nullrequired

      When the domain was first verified.

    • created_atstringrequired
    • updated_atstringrequired

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on this sending domain (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404EMAIL_DOMAIN_NOT_FOUND: no sending domain with this id in your organization. List your sending domains to find it. RESOURCE_NOT_FOUND: the id is not a sending domain id (emd_…). Check the id.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    curl "https://api.pantechdynamics.com/public/v1/email/domains/emd_06gk3x9tq7m2v8r4y1c5d0zp8w" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "id": "emd_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "name": "web-1",
      "status": "pending",
      "status_reason": "verification_timeout",
      "can_send": true,
      "return_path_domain": "return-path-domain",
      "dkim_selector": "dkim-selector",
      "records": [
        {
          "purpose": "dkim",
          "type": "CNAME",
          "name": "web-1",
          "value": "value",
          "required": true,
          "status": "verified"
        }
      ],
      "verification_deadline_at": "2026-10-03T09:30:00Z",
      "suspension_deadline_at": "2026-10-03T09:30:00Z",
      "last_checked_at": "2026-10-03T09:30:00Z",
      "verified_at": "2026-10-03T09:30:00Z",
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z"
    }

    Delete a sending domain

    Removes the sending domain. Mail from its addresses is refused at once, including mail already scheduled. Remove its DNS records at your DNS host afterwards. The name can be added again later, with new records. Owners and admins only.

    Idempotency: a retry with the same Idempotency-Key answers the original result.

    DELETE/public/v1/email/domains/{email_domain_id}
    Write keyNeeds Idempotency-KeyReturns204No Content

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • email_domain_idstringrequired

      The sending domain's id (emd_…).

    Response 204

    Deleted. No body.

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the delete scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on this sending domain (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404EMAIL_DOMAIN_NOT_FOUND: no sending domain with this id in your organization. List your sending domains to find it. RESOURCE_NOT_FOUND: the id is not a sending domain id (emd_…). Check the id.
    • 409CONFLICT: the sending domain was changed at the same time by another request. Get it again and retry.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Idempotency
    curl -X DELETE "https://api.pantechdynamics.com/public/v1/email/domains/emd_06gk3x9tq7m2v8r4y1c5d0zp8w" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)"
    HTTP/1.1 204 No Content

    Check a sending domain's records now

    Looks the domain's DNS records up within seconds instead of on the next check. Call it after publishing them. A failed domain, or one whose 72 hours ran out, gets a new 72-hour window first. If DNS cannot be asked right now, the domain is returned unchanged. Owners and admins only.

    Idempotency: a retry with the same Idempotency-Key answers the original result.

    POST/public/v1/email/domains/{email_domain_id}/verify
    Write keyNeeds Idempotency-KeyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • email_domain_idstringrequired

      The sending domain's id (emd_…).

    Response 200

    The sending domain after the check.
    • idstringrequired

      The sending domain's id (emd_…).

    • namestringrequired
    • statusstringrequired

      pending until its records are found; verified sends; warning sends but its records were not found on the last checks and it is suspended after 72 hours unless they come back; suspended does not send; failed was not verified within 72 hours.

      One of pending, verified, warning, suspended, failed.

    • status_reasonstring or nullrequired

      Why a domain is failed, warning or suspended; null otherwise.

      One of verification_timeout, records_missing, abuse, operator, null.

    • can_sendbooleanrequired

      Whether mail from this domain is accepted now.

    • return_path_domainstringrequired

      The bounce domain, such as send.example.com.

    • dkim_selectorstringrequired

      The DKIM selector your mail is signed with.

    • recordsarray of EmailDomainRecordrequired
      Show 6 child fields
      • purposestringrequired

        dkim signs your mail, return_path receives bounces, dmarc tells receivers what to do with unsigned mail.

        One of dkim, return_path, dmarc.

      • typestringrequired

        One of CNAME, TXT.

      • namestringrequired

        The record's full name.

      • valuestringrequired

        The record's value.

      • requiredbooleanrequired

        Whether the domain needs it to be verified. DMARC is recommended, not required.

      • statusstring or nullrequired

        Whether the last check found it; null for an optional record and before the first check.

        One of verified, missing, null.

    • verification_deadline_atstring or nullrequired

      When a pending domain becomes failed; null in any other status.

    • suspension_deadline_atstring or nullrequired

      When a warning domain is suspended; null in any other status.

    • last_checked_atstring or nullrequired
    • verified_atstring or nullrequired

      When the domain was first verified.

    • created_atstringrequired
    • updated_atstringrequired

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on this sending domain (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404EMAIL_DOMAIN_NOT_FOUND: no sending domain with this id in your organization. List your sending domains to find it. RESOURCE_NOT_FOUND: the id is not a sending domain id (emd_…). Check the id.
    • 409CONFLICT: the sending domain was changed at the same time by another request. Get it again and retry.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/email/domains/emd_06gk3x9tq7m2v8r4y1c5d0zp8w/verify" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)"
    Response 200
    {
      "id": "emd_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "name": "web-1",
      "status": "pending",
      "status_reason": "verification_timeout",
      "can_send": true,
      "return_path_domain": "return-path-domain",
      "dkim_selector": "dkim-selector",
      "records": [
        {
          "purpose": "dkim",
          "type": "CNAME",
          "name": "web-1",
          "value": "value",
          "required": true,
          "status": "verified"
        }
      ],
      "verification_deadline_at": "2026-10-03T09:30:00Z",
      "suspension_deadline_at": "2026-10-03T09:30:00Z",
      "last_checked_at": "2026-10-03T09:30:00Z",
      "verified_at": "2026-10-03T09:30:00Z",
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z"
    }

    List sending keys

    The SMTP sending keys of your organization, active first, newest first. A key's secret is never shown again after it is created; hint is its first characters, to tell keys apart.

    GET/public/v1/email/sending-keys
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Query parameters

    • limitinteger

      Items per page, 1 to 100. Defaults to 50.

      From 1 to 100. Defaults to 50.

    • cursorstring

      The previous page's next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.

    Response 200

    Sending keys.
    • dataarray of EmailSendingKeyrequired
      Show 9 child fields
      • idstringrequired

        The key's id (esk_…).

      • namestringrequired
      • statusstringrequired

        One of active, revoked.

      • email_domain_idstring or nullrequired

        The one sending domain this key may send from; null for any of the organization's.

      • hintstringrequired

        The secret's first characters, such as pmk_ab12cd.

      • smtpEmailSMTPSettingsrequired

        How to send over SMTP with a sending key.

        Show 4 child fields
        • hoststringrequired

          The SMTP host, such as smtp.pantechdynamics.com.

        • portsarray of integerrequired

          Submission ports. Use 587; 2587 is for networks that block 587.

        • usernamestringrequired

          Always pantech. The password is the key's secret.

        • securitystringrequired

          Connect in plain text, then upgrade with STARTTLS before logging in.

          One of starttls.

      • last_used_atstring or nullrequired

        When the key last logged in, to the minute.

      • created_atstringrequired
      • revoked_atstring or nullrequired
    • next_cursorstring or nullrequired

      Pass as cursor for the next page; null on the last.

    Errors

    • 400INVALID_PAGE: limit is not from 1 to 100. INVALID_CURSOR: the cursor is not one this list returned. Start again without it.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on sending keys (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Query
    curl "https://api.pantechdynamics.com/public/v1/email/sending-keys" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "data": [
        {
          "id": "esk_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "name": "web-1",
          "status": "active",
          "email_domain_id": "emd_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "hint": "hint",
          "smtp": {
            "host": "smtp.pantechdynamics.com",
            "ports": [
              1
            ],
            "username": "username",
            "security": "starttls"
          },
          "last_used_at": "2026-10-03T09:30:00Z",
          "created_at": "2026-10-03T09:30:00Z",
          "revoked_at": "2026-10-03T09:30:00Z"
        }
      ],
      "next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
    }

    Create a sending key

    Creates an SMTP sending key: the password your application uses to send email through Pantech over SMTP (smtp in the answer has the host, ports and username). The secret is in this answer only; store it now, it is never shown again. A key sends mail only; it cannot call this API. Set email_domain_id to let it send from one sending domain only. At most 50 active keys per organization. Owners and admins only.

    Idempotency: a retry with the same Idempotency-Key returns the key the first request created, without its secret. The same key with a different request returns 409 IDEMPOTENCY_CONFLICT.

    POST/public/v1/email/sending-keys
    Write keyNeeds Idempotency-KeyReturns201Created

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Body

    application/json
    • namestringrequired

      Where the key is used, such as production-app.

      At most 100 characters.

    • email_domain_idstring

      Limit the key to this sending domain (emd_…). Omit to allow every domain.

    Response 201

    The new sending key, with its secret.
    • secretstring or nullrequired

      The SMTP password, in this answer only; it is never shown again. Null when a retry with the same Idempotency-Key returns a key created earlier.

    • idstringrequired

      The key's id (esk_…).

    • namestringrequired
    • statusstringrequired

      One of active, revoked.

    • email_domain_idstring or nullrequired

      The one sending domain this key may send from; null for any of the organization's.

    • hintstringrequired

      The secret's first characters, such as pmk_ab12cd.

    • smtpEmailSMTPSettingsrequired

      How to send over SMTP with a sending key.

      Show 4 child fields
      • hoststringrequired

        The SMTP host, such as smtp.pantechdynamics.com.

      • portsarray of integerrequired

        Submission ports. Use 587; 2587 is for networks that block 587.

      • usernamestringrequired

        Always pantech. The password is the key's secret.

      • securitystringrequired

        Connect in plain text, then upgrade with STARTTLS before logging in.

        One of starttls.

    • last_used_atstring or nullrequired

      When the key last logged in, to the minute.

    • created_atstringrequired
    • revoked_atstring or nullrequired

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value. INVALID_REQUEST_BODY: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on sending keys (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. EMAIL_SENDING_KEY_LIMIT_REACHED: your organization already has 50 active sending keys. Revoke one first.
    • 404EMAIL_DOMAIN_NOT_FOUND: email_domain_id names no sending domain in your organization.
    • 409IDEMPOTENCY_CONFLICT: this Idempotency-Key was already used with a different request. Use a new key.
    • 422VALIDATION_FAILED: errors names the field: name REQUIRED or INVALID_NAME (1 to 100 characters on one line). email_domain_id INVALID_ID: send a sending domain id (emd_…).
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Body
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/email/sending-keys" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
        "name": "web-1"
      }'
    Response 201
    {
      "secret": "secret",
      "id": "esk_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "name": "web-1",
      "status": "active",
      "email_domain_id": "emd_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "hint": "hint",
      "smtp": {
        "host": "smtp.pantechdynamics.com",
        "ports": [
          1
        ],
        "username": "username",
        "security": "starttls"
      },
      "last_used_at": "2026-10-03T09:30:00Z",
      "created_at": "2026-10-03T09:30:00Z",
      "revoked_at": "2026-10-03T09:30:00Z"
    }

    Revoke a sending key

    Revokes the key: within a minute, SMTP logins with it fail and messages on a connection already open with it are refused. A revoked key stays listed and cannot be restored; create a new one. Owners and admins only.

    Idempotency: a retry with the same Idempotency-Key answers the original result.

    DELETE/public/v1/email/sending-keys/{email_sending_key_id}
    Write keyNeeds Idempotency-KeyReturns204No Content

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • email_sending_key_idstringrequired

      The sending key's id (esk_…).

    Response 204

    Revoked. No body.

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the delete scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on sending keys (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404EMAIL_SENDING_KEY_NOT_FOUND: no sending key with this id in your organization. List your sending keys to find it. RESOURCE_NOT_FOUND: the id is not a sending key id (esk_…). Check the id.
    • 409CONFLICT: the sending key was changed at the same time by another request. Get it again and retry.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Idempotency
    curl -X DELETE "https://api.pantechdynamics.com/public/v1/email/sending-keys/esk_06gk3x9tq7m2v8r4y1c5d0zp8w" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)"
    HTTP/1.1 204 No Content

    Send an email

    Sends one email from an address at one of your verified sending domains. The answer is 202: the email is queued (or scheduled, with scheduled_at), and GET /public/v1/emails/{email_id} and the email.* webhooks follow each recipient to delivered, bounced or complained. Recipients on your suppression list are not sent to and show as suppressed. Each recipient counts once toward your daily limit and your bill.

    Pantech signs every email with your domain's DKIM key and adds the unsubscribe-free transactional headers mailbox providers expect. headers adds your own headers; the ones that identify the message (From, To, Subject, Message-ID, DKIM-Signature and similar) cannot be set there.

    Idempotency: a retry with the same Idempotency-Key returns the original email without sending it again. The same key with a different request returns 409 IDEMPOTENCY_CONFLICT.

    POST/public/v1/emails
    Write keyNeeds Idempotency-KeyReturns202Accepted

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Body

    application/json
    • fromstringrequired

      The sender: an address at one of your verified sending domains, with an optional name, such as Acme <billing@acme.com>.

    • toarray of stringrequired

      At most 50 items.

    • ccarray of string
    • bccarray of string
    • reply_toarray of string
    • subjectstringrequired

      At most 998 characters.

    • htmlstring

      The HTML body. Send html, text or both.

    • textstring

      The plain-text body.

    • headersobject

      Extra headers, such as List-Unsubscribe.

    • tagsobject

      Up to 10 key: value labels, returned on the email and its webhooks and filterable in the list.

    • attachmentsarray of EmailAttachment
      Show 3 child fields
      • filenamestringrequired
      • contentstringrequired

        The file, base64-encoded.

      • content_typestring

        Such as application/pdf; guessed from the file name when omitted.

    • scheduled_atstring

      Send later, at most 30 days ahead.

    Response 202

    The queued email.
    • idstringrequired

      The email's id (eml_…).

    • fromstringrequired
    • subjectstringrequired
    • statusstringrequired

      sent once Pantech's mail servers accepted it; each recipient's own status follows its delivery.

      One of scheduled, queued, dispatching, sent, canceled, failed.

    • sourcestringrequired

      One of api, smtp.

    • recipientsarray of EmailRecipientrequired
      Show 4 child fields
      • addressstringrequired
      • kindstringrequired

        One of to, cc, bcc.

      • statusstringrequired

        sent: accepted by Pantech's mail servers; delivered: accepted by the recipient's; delayed: being retried.

        One of queued, suppressed, sent, delayed, delivered, bounced, complained, failed, canceled.

      • reasonstring or nullrequired

        The receiving server's answer for a bounce, delay or failure.

    • tagsobjectrequired
    • scheduled_atstring or nullrequired
    • sent_atstring or nullrequired
    • failure_reasonstring or nullrequired

      Why the email was not sent, such as all_recipients_suppressed or sending_paused.

    • created_atstringrequired

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value. INVALID_REQUEST_BODY: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. EMAIL_SENDING_PAUSED: sending is paused for your organization because too many recent messages bounced or were reported as spam. Contact support. ACCOUNT_SUSPENDED: your organization is suspended. Settle the overdue invoice to send again.
    • 409IDEMPOTENCY_CONFLICT: this Idempotency-Key was already used with a different request. Use a new key.
    • 422VALIDATION_FAILED: errors names the field, such as: from REQUIRED, INVALID_ADDRESS or DOMAIN_NOT_VERIFIED (the address must be at one of your verified sending domains). to REQUIRED (at least one to address), INVALID_ADDRESS or TOO_MANY_RECIPIENTS (at most 50 in to, 500 in all). subject REQUIRED; html/text REQUIRED (one of them) or TOO_LARGE (the message may not pass 25 MB). headers RESERVED_HEADER (such as From, To, Subject, DKIM-Signature or X-Pantech-*); tags INVALID_TAGS; attachments INVALID_ATTACHMENT. scheduled_at INVALID_SCHEDULE (at most 30 days ahead).
    • 429EMAIL_DAILY_LIMIT_REACHED: your organization reached its daily sending limit, counted per recipient. It resets at midnight UTC (Retry-After); contact support to raise it. RATE_LIMITED: too many requests. Wait for Retry-After seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Body
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/emails" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
        "from": "from",
        "to": [
          "to"
        ],
        "subject": "subject"
      }'
    Response 202
    {
      "id": "eml_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "from": "from",
      "subject": "subject",
      "status": "scheduled",
      "source": "api",
      "recipients": [
        {
          "address": "ada@example.com",
          "kind": "to",
          "status": "queued",
          "reason": null
        }
      ],
      "tags": {
        "env": "production"
      },
      "scheduled_at": "2026-10-03T09:30:00Z",
      "sent_at": "2026-10-03T09:30:00Z",
      "failure_reason": null,
      "created_at": "2026-10-03T09:30:00Z"
    }

    List emails

    Your organization's emails, newest first, kept for 60 days. Filter by status, by a recipient address, or by a tag (key=value).

    GET/public/v1/emails
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Query parameters

    • limitinteger

      Items per page, 1 to 100. Defaults to 50.

      From 1 to 100. Defaults to 50.

    • cursorstring

      The previous page's next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.

    • statusstring

      One of scheduled, queued, dispatching, sent, canceled, failed.

    • recipientstring

      Only emails to this address.

    • tagstring

      Only emails with this tag, as key=value.

    Response 200

    Emails.
    • dataarray of Emailrequired
      Show 11 child fields
      • idstringrequired

        The email's id (eml_…).

      • fromstringrequired
      • subjectstringrequired
      • statusstringrequired

        sent once Pantech's mail servers accepted it; each recipient's own status follows its delivery.

        One of scheduled, queued, dispatching, sent, canceled, failed.

      • sourcestringrequired

        One of api, smtp.

      • recipientsarray of EmailRecipientrequired
        Show 4 child fields
        • addressstringrequired
        • kindstringrequired

          One of to, cc, bcc.

        • statusstringrequired

          sent: accepted by Pantech's mail servers; delivered: accepted by the recipient's; delayed: being retried.

          One of queued, suppressed, sent, delayed, delivered, bounced, complained, failed, canceled.

        • reasonstring or nullrequired

          The receiving server's answer for a bounce, delay or failure.

      • tagsobjectrequired
      • scheduled_atstring or nullrequired
      • sent_atstring or nullrequired
      • failure_reasonstring or nullrequired

        Why the email was not sent, such as all_recipients_suppressed or sending_paused.

      • created_atstringrequired
    • next_cursorstring or nullrequired

    Errors

    • 400INVALID_FILTER: a filter is not valid (detail names it). INVALID_CURSOR: the cursor is not one this list returned. Start again without it.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Query
    curl "https://api.pantechdynamics.com/public/v1/emails" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "data": [
        {
          "id": "eml_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "from": "from",
          "subject": "subject",
          "status": "scheduled",
          "source": "api",
          "recipients": [
            {
              "address": "ada@example.com",
              "kind": "to",
              "status": "queued",
              "reason": null
            }
          ],
          "tags": {
            "env": "production"
          },
          "scheduled_at": "2026-10-03T09:30:00Z",
          "sent_at": "2026-10-03T09:30:00Z",
          "failure_reason": null,
          "created_at": "2026-10-03T09:30:00Z"
        }
      ],
      "next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
    }

    Send a batch of emails

    Sends 1 to 100 emails in one request, each as POST /public/v1/emails takes it. They are accepted together or not at all: one invalid email refuses the batch, and errors names it as emails[i].field. The answer lists the emails in the order sent.

    Idempotency: a retry with the same Idempotency-Key returns the original emails without sending them again.

    POST/public/v1/emails/batch
    Write keyNeeds Idempotency-KeyReturns202Accepted

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Body

    application/json
    • emailsarray of objectrequired

      At most 100 items.

      Show 12 child fields
      • fromstringrequired

        The sender: an address at one of your verified sending domains, with an optional name, such as Acme <billing@acme.com>.

      • toarray of stringrequired

        At most 50 items.

      • ccarray of string
      • bccarray of string
      • reply_toarray of string
      • subjectstringrequired

        At most 998 characters.

      • htmlstring

        The HTML body. Send html, text or both.

      • textstring

        The plain-text body.

      • headersobject

        Extra headers, such as List-Unsubscribe.

      • tagsobject

        Up to 10 key: value labels, returned on the email and its webhooks and filterable in the list.

      • attachmentsarray of EmailAttachment
        Show 3 child fields
        • filenamestringrequired
        • contentstringrequired

          The file, base64-encoded.

        • content_typestring

          Such as application/pdf; guessed from the file name when omitted.

      • scheduled_atstring

        Send later, at most 30 days ahead.

    Response 202

    The queued emails.
    • dataarray of Emailrequired
      Show 11 child fields
      • idstringrequired

        The email's id (eml_…).

      • fromstringrequired
      • subjectstringrequired
      • statusstringrequired

        sent once Pantech's mail servers accepted it; each recipient's own status follows its delivery.

        One of scheduled, queued, dispatching, sent, canceled, failed.

      • sourcestringrequired

        One of api, smtp.

      • recipientsarray of EmailRecipientrequired
        Show 4 child fields
        • addressstringrequired
        • kindstringrequired

          One of to, cc, bcc.

        • statusstringrequired

          sent: accepted by Pantech's mail servers; delivered: accepted by the recipient's; delayed: being retried.

          One of queued, suppressed, sent, delayed, delivered, bounced, complained, failed, canceled.

        • reasonstring or nullrequired

          The receiving server's answer for a bounce, delay or failure.

      • tagsobjectrequired
      • scheduled_atstring or nullrequired
      • sent_atstring or nullrequired
      • failure_reasonstring or nullrequired

        Why the email was not sent, such as all_recipients_suppressed or sending_paused.

      • created_atstringrequired

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value. INVALID_REQUEST_BODY: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. EMAIL_SENDING_PAUSED: sending is paused for your organization because too many recent messages bounced or were reported as spam. Contact support. ACCOUNT_SUSPENDED: your organization is suspended. Settle the overdue invoice to send again.
    • 409IDEMPOTENCY_CONFLICT: this Idempotency-Key was already used with a different request. Use a new key.
    • 422VALIDATION_FAILED: errors names the field, such as: from REQUIRED, INVALID_ADDRESS or DOMAIN_NOT_VERIFIED (the address must be at one of your verified sending domains). to REQUIRED (at least one to address), INVALID_ADDRESS or TOO_MANY_RECIPIENTS (at most 50 in to, 500 in all). subject REQUIRED; html/text REQUIRED (one of them) or TOO_LARGE (the message may not pass 25 MB). headers RESERVED_HEADER (such as From, To, Subject, DKIM-Signature or X-Pantech-*); tags INVALID_TAGS; attachments INVALID_ATTACHMENT. scheduled_at INVALID_SCHEDULE (at most 30 days ahead).
    • 429EMAIL_DAILY_LIMIT_REACHED: your organization reached its daily sending limit, counted per recipient. It resets at midnight UTC (Retry-After); contact support to raise it. RATE_LIMITED: too many requests. Wait for Retry-After seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Body
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/emails/batch" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
        "emails": [
          {
            "from": "from",
            "to": [
              "to"
            ],
            "cc": [
              "cc"
            ],
            "bcc": [
              "bcc"
            ],
            "reply_to": [
              "reply-to"
            ],
            "subject": "subject",
            "html": "html",
            "text": "text",
            "headers": {},
            "tags": {
              "env": "production"
            },
            "attachments": [
              {
                "filename": "filename",
                "content": "content",
                "content_type": "content-type"
              }
            ],
            "scheduled_at": "2026-10-03T09:30:00Z"
          }
        ]
      }'
    Response 202
    {
      "data": [
        {
          "id": "eml_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "from": "from",
          "subject": "subject",
          "status": "scheduled",
          "source": "api",
          "recipients": [
            {
              "address": "ada@example.com",
              "kind": "to",
              "status": "queued",
              "reason": null
            }
          ],
          "tags": {
            "env": "production"
          },
          "scheduled_at": "2026-10-03T09:30:00Z",
          "sent_at": "2026-10-03T09:30:00Z",
          "failure_reason": null,
          "created_at": "2026-10-03T09:30:00Z"
        }
      ]
    }

    Get an email

    One email, each recipient's status and every event that happened to it (sent, delivered, delayed, bounced, complained, failed, suppressed).

    GET/public/v1/emails/{email_id}
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Path parameters

    • email_idstringrequired

      The email's id (eml_…).

    Response 200

    The email.
    • idstringrequired

      The email's id (eml_…).

    • fromstringrequired
    • subjectstringrequired
    • statusstringrequired

      sent once Pantech's mail servers accepted it; each recipient's own status follows its delivery.

      One of scheduled, queued, dispatching, sent, canceled, failed.

    • sourcestringrequired

      One of api, smtp.

    • recipientsarray of EmailRecipientrequired
      Show 4 child fields
      • addressstringrequired
      • kindstringrequired

        One of to, cc, bcc.

      • statusstringrequired

        sent: accepted by Pantech's mail servers; delivered: accepted by the recipient's; delayed: being retried.

        One of queued, suppressed, sent, delayed, delivered, bounced, complained, failed, canceled.

      • reasonstring or nullrequired

        The receiving server's answer for a bounce, delay or failure.

    • tagsobjectrequired
    • scheduled_atstring or nullrequired
    • sent_atstring or nullrequired
    • failure_reasonstring or nullrequired

      Why the email was not sent, such as all_recipients_suppressed or sending_paused.

    • created_atstringrequired
    • eventsarray of EmailEventrequired

      At most 100 items.

      Show 5 child fields
      • typestringrequired

        One of sent, delivered, delivery_delayed, bounced, complained, failed, suppressed.

      • recipientstringrequired
      • codeinteger or nullrequired

        The SMTP status code, when there is one.

      • detailstring or nullrequired
      • occurred_atstringrequired
    • events_next_cursorstring or nullrequired

      Pass as cursor to GET /public/v1/emails/{email_id}/events for the events after these; null when these are all of them.

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404EMAIL_NOT_FOUND: no email with this id exists in your organization.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    curl "https://api.pantechdynamics.com/public/v1/emails/eml_06gk3x9tq7m2v8r4y1c5d0zp8w" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "id": "eml_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "from": "from",
      "subject": "subject",
      "status": "scheduled",
      "source": "api",
      "recipients": [
        {
          "address": "ada@example.com",
          "kind": "to",
          "status": "queued",
          "reason": null
        }
      ],
      "tags": {
        "env": "production"
      },
      "scheduled_at": "2026-10-03T09:30:00Z",
      "sent_at": "2026-10-03T09:30:00Z",
      "failure_reason": null,
      "created_at": "2026-10-03T09:30:00Z",
      "events": [
        {
          "type": "sent",
          "recipient": "recipient",
          "code": "starter",
          "detail": "detail",
          "occurred_at": "2026-10-03T09:30:00Z"
        }
      ],
      "events_next_cursor": "events-next-cursor"
    }

    List an email's events

    Every event that happened to an email (sent, delivered, delayed, bounced, complained, failed, suppressed), oldest first, a page at a time. GET /public/v1/emails/{email_id} carries the first 100 and an events_next_cursor to continue from; a cursor belongs to the email it came from.

    GET/public/v1/emails/{email_id}/events
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Path parameters

    • email_idstringrequired

      The email's id (eml_…).

    Query parameters

    • limitinteger

      Items per page, 1 to 100. Defaults to 50.

      From 1 to 100. Defaults to 50.

    • cursorstring

      The previous page's next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.

    Response 200

    A page of the email's events.
    • dataarray of EmailEventrequired
      Show 5 child fields
      • typestringrequired

        One of sent, delivered, delivery_delayed, bounced, complained, failed, suppressed.

      • recipientstringrequired
      • codeinteger or nullrequired

        The SMTP status code, when there is one.

      • detailstring or nullrequired
      • occurred_atstringrequired
    • next_cursorstring or nullrequired

    Errors

    • 400INVALID_PAGE: limit is not from 1 to 100. INVALID_CURSOR: the cursor is not one this email's events returned. Start again without it.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404EMAIL_NOT_FOUND: no email with that id in your organization.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Query
    curl "https://api.pantechdynamics.com/public/v1/emails/eml_06gk3x9tq7m2v8r4y1c5d0zp8w/events" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "data": [
        {
          "type": "sent",
          "recipient": "recipient",
          "code": "starter",
          "detail": "detail",
          "occurred_at": "2026-10-03T09:30:00Z"
        }
      ],
      "next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
    }

    Reschedule an email

    Moves a scheduled email to a new scheduled_at, at most 30 days ahead. It must be in the future.

    PATCH/public/v1/emails/{email_id}
    Write keyNeeds Idempotency-KeyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • email_idstringrequired

      The email's id (eml_…).

    Body

    application/json
    • scheduled_atstringrequired

    Response 200

    The rescheduled email.
    • idstringrequired

      The email's id (eml_…).

    • fromstringrequired
    • subjectstringrequired
    • statusstringrequired

      sent once Pantech's mail servers accepted it; each recipient's own status follows its delivery.

      One of scheduled, queued, dispatching, sent, canceled, failed.

    • sourcestringrequired

      One of api, smtp.

    • recipientsarray of EmailRecipientrequired
      Show 4 child fields
      • addressstringrequired
      • kindstringrequired

        One of to, cc, bcc.

      • statusstringrequired

        sent: accepted by Pantech's mail servers; delivered: accepted by the recipient's; delayed: being retried.

        One of queued, suppressed, sent, delayed, delivered, bounced, complained, failed, canceled.

      • reasonstring or nullrequired

        The receiving server's answer for a bounce, delay or failure.

    • tagsobjectrequired
    • scheduled_atstring or nullrequired
    • sent_atstring or nullrequired
    • failure_reasonstring or nullrequired

      Why the email was not sent, such as all_recipients_suppressed or sending_paused.

    • created_atstringrequired

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value. INVALID_REQUEST_BODY: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404EMAIL_NOT_FOUND: no email with this id exists in your organization.
    • 409EMAIL_NOT_SCHEDULED: only a scheduled email that has not been sent can be canceled or rescheduled.
    • 422VALIDATION_FAILED: scheduled_at REQUIRED or INVALID_SCHEDULE (in the future, at most 30 days ahead).
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Body
    Idempotency
    curl -X PATCH "https://api.pantechdynamics.com/public/v1/emails/eml_06gk3x9tq7m2v8r4y1c5d0zp8w" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
        "scheduled_at": "2026-10-03T09:30:00Z"
      }'
    Response 200
    {
      "id": "eml_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "from": "from",
      "subject": "subject",
      "status": "scheduled",
      "source": "api",
      "recipients": [
        {
          "address": "ada@example.com",
          "kind": "to",
          "status": "queued",
          "reason": null
        }
      ],
      "tags": {
        "env": "production"
      },
      "scheduled_at": "2026-10-03T09:30:00Z",
      "sent_at": "2026-10-03T09:30:00Z",
      "failure_reason": null,
      "created_at": "2026-10-03T09:30:00Z"
    }

    Cancel a scheduled email

    Cancels a scheduled email before it is sent. Its recipients show as canceled.

    POST/public/v1/emails/{email_id}/cancel
    Write keyNeeds Idempotency-KeyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • email_idstringrequired

      The email's id (eml_…).

    Response 200

    The canceled email.
    • idstringrequired

      The email's id (eml_…).

    • fromstringrequired
    • subjectstringrequired
    • statusstringrequired

      sent once Pantech's mail servers accepted it; each recipient's own status follows its delivery.

      One of scheduled, queued, dispatching, sent, canceled, failed.

    • sourcestringrequired

      One of api, smtp.

    • recipientsarray of EmailRecipientrequired
      Show 4 child fields
      • addressstringrequired
      • kindstringrequired

        One of to, cc, bcc.

      • statusstringrequired

        sent: accepted by Pantech's mail servers; delivered: accepted by the recipient's; delayed: being retried.

        One of queued, suppressed, sent, delayed, delivered, bounced, complained, failed, canceled.

      • reasonstring or nullrequired

        The receiving server's answer for a bounce, delay or failure.

    • tagsobjectrequired
    • scheduled_atstring or nullrequired
    • sent_atstring or nullrequired
    • failure_reasonstring or nullrequired

      Why the email was not sent, such as all_recipients_suppressed or sending_paused.

    • created_atstringrequired

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404EMAIL_NOT_FOUND: no email with this id exists in your organization.
    • 409EMAIL_NOT_SCHEDULED: only a scheduled email that has not been sent can be canceled or rescheduled.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/emails/eml_06gk3x9tq7m2v8r4y1c5d0zp8w/cancel" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)"
    Response 200
    {
      "id": "eml_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "from": "from",
      "subject": "subject",
      "status": "scheduled",
      "source": "api",
      "recipients": [
        {
          "address": "ada@example.com",
          "kind": "to",
          "status": "queued",
          "reason": null
        }
      ],
      "tags": {
        "env": "production"
      },
      "scheduled_at": "2026-10-03T09:30:00Z",
      "sent_at": "2026-10-03T09:30:00Z",
      "failure_reason": null,
      "created_at": "2026-10-03T09:30:00Z"
    }

    Get sending status

    Your organization's sending status and daily limit. A new organization starts in sandbox (20 recipients a day, free) until Pantech reviews it for production; sending is paused when recent bounce or complaint rates are too high. smtp has the settings for sending over SMTP with a sending key.

    GET/public/v1/email/sending
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Response 200

    Sending status.
    • statusstringrequired

      One of sandbox, production, paused.

    • daily_limitintegerrequired

      Recipients a day, reset at midnight UTC.

    • sent_todayintegerrequired
    • pause_reasonstring or nullrequired

      One of bounce_rate, complaint_rate, operator, null.

    • pack_balanceintegerrequired

      Prepaid emails left (see GET /public/v1/email/packs). A production organization sends from them.

    • smtpEmailSMTPSettingsrequired

      How to send over SMTP with a sending key.

      Show 4 child fields
      • hoststringrequired

        The SMTP host, such as smtp.pantechdynamics.com.

      • portsarray of integerrequired

        Submission ports. Use 587; 2587 is for networks that block 587.

      • usernamestringrequired

        Always pantech. The password is the key's secret.

      • securitystringrequired

        Connect in plain text, then upgrade with STARTTLS before logging in.

        One of starttls.

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    curl "https://api.pantechdynamics.com/public/v1/email/sending" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "status": "sandbox",
      "daily_limit": 1,
      "sent_today": 1,
      "pause_reason": "bounce_rate",
      "pack_balance": 1,
      "smtp": {
        "host": "smtp.pantechdynamics.com",
        "ports": [
          1
        ],
        "username": "username",
        "security": "starttls"
      }
    }

    List suppressed addresses

    Addresses Pantech will not send to for your organization, newest first: those that bounced permanently, reported an email as spam, or that you added. q finds addresses containing it.

    GET/public/v1/email/suppressions
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Query parameters

    • limitinteger

      Items per page, 1 to 100. Defaults to 50.

      From 1 to 100. Defaults to 50.

    • cursorstring

      The previous page's next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.

    • qstring

      At most 254 characters.

    Response 200

    Suppressed addresses.
    • dataarray of EmailSuppressionrequired
      Show 4 child fields
      • addressstringrequired
      • reasonstringrequired

        One of hard_bounce, complaint, manual.

      • email_idstring or nullrequired

        The email that bounced or was reported, when there is one.

      • created_atstringrequired
    • next_cursorstring or nullrequired

    Errors

    • 400INVALID_FILTER: q is longer than 254 characters. INVALID_CURSOR: the cursor is not one this list returned. Start again without it.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Query
    curl "https://api.pantechdynamics.com/public/v1/email/suppressions" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "data": [
        {
          "address": "ada@example.com",
          "reason": "hard_bounce",
          "email_id": "eml_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "created_at": "2026-10-03T09:30:00Z"
        }
      ],
      "next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
    }

    Suppress an address

    Adds an address to your suppression list: emails to it are no longer sent. Owners and admins only.

    POST/public/v1/email/suppressions
    Write keyNeeds Idempotency-KeyReturns201Created

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Body

    application/json
    • addressstringrequired

    Response 201

    The suppression.
    • addressstringrequired
    • reasonstringrequired

      One of hard_bounce, complaint, manual.

    • email_idstring or nullrequired

      The email that bounced or was reported, when there is one.

    • created_atstringrequired

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value. INVALID_REQUEST_BODY: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 409EMAIL_SUPPRESSION_EXISTS: the address is already on your suppression list.
    • 422VALIDATION_FAILED: address INVALID_ADDRESS.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Body
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/email/suppressions" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
        "address": "ada@example.com"
      }'
    Response 201
    {
      "address": "ada@example.com",
      "reason": "hard_bounce",
      "email_id": "eml_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "created_at": "2026-10-03T09:30:00Z"
    }

    Remove a suppressed address

    Removes an address from your suppression list, so emails to it are sent again. Remove an address only when you know it accepts mail again: a second permanent bounce suppresses it again and counts against your bounce rate. Owners and admins only.

    DELETE/public/v1/email/suppressions/{address}
    Write keyNeeds Idempotency-KeyReturns204No Content

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • addressstringrequired

      The suppressed address, URL-encoded.

    Response 204

    Removed. No body.

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the delete scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404EMAIL_SUPPRESSION_NOT_FOUND: the address is not on your suppression list.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Idempotency
    curl -X DELETE "https://api.pantechdynamics.com/public/v1/email/suppressions/id_06gk3x9tq7m2v8r4y1c5d0zp8w" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)"
    HTTP/1.1 204 No Content

    Get email packs

    Your organization's prepaid email packs: the emails left, the price of a pack of 1,000 in your billing currency (before VAT), and recent purchases. A production organization sends from its packs, one email per recipient; the sandbox sends up to 20 recipients a day for free and does not use packs. The balance can go below zero by SMTP mail accepted just as the packs ran out; the next pack covers it.

    GET/public/v1/email/packs
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Response 200

    The packs.
    • balanceintegerrequired

      Emails left, one per recipient. Below zero by SMTP mail accepted as the packs ran out.

    • pack_sizeintegerrequired

      Emails in one pack (1000).

    • max_packs_per_orderintegerrequired
    • sandbox_daily_freeintegerrequired

      Recipients a day a sandbox organization sends for free.

    • statusstringrequired

      Sending status. Only production uses packs.

      One of sandbox, production, paused.

    • priceobject or nullrequired

      One pack's price before VAT, or null when packs are not sold in your currency.

      Show 2 child fields
      • currencystringrequired

        One of NGN, USD.

      • amount_minorintegerrequired

        In minor units (kobo or cents), before VAT.

    • ordersarray of EmailPackOrderrequired

      The 20 most recent purchases, newest first.

      At most 20 items.

      Show 10 child fields
      • idstringrequired

        epo_…

      • packsintegerrequired
      • emailsintegerrequired
      • currencystringrequired

        One of NGN, USD.

      • amount_minorintegerrequired

        The price of the packs before VAT, in minor units.

      • total_minorinteger or nullrequired

        What was charged, VAT included; null until paid.

      • statusstringrequired

        One of pending, paid, failed.

      • failure_codestring or nullrequired

        One of insufficient_credit, currency_mismatch, null.

      • paid_atstring or nullrequired
      • created_atstringrequired
    • orders_next_cursorstring or nullrequired

      Pass as cursor to GET /public/v1/email/pack-orders for the purchases before these; null when these are all of them.

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    curl "https://api.pantechdynamics.com/public/v1/email/packs" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "balance": 1,
      "pack_size": 1,
      "max_packs_per_order": 1,
      "sandbox_daily_free": 1,
      "status": "sandbox",
      "price": {
        "currency": "NGN",
        "amount_minor": 1059200
      },
      "orders": [
        {
          "id": "epo_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "packs": 1,
          "emails": 1,
          "currency": "NGN",
          "amount_minor": 1059200,
          "total_minor": 1,
          "status": "pending",
          "failure_code": "insufficient_credit",
          "paid_at": "2026-10-03T09:30:00Z",
          "created_at": "2026-10-03T09:30:00Z"
        }
      ],
      "orders_next_cursor": "orders-next-cursor"
    }

    Buy email packs

    Buys packs packs of 1,000 emails, charged to your organization's credit. The answer is a pending order: it is charged within a few seconds, then becomes paid (the emails are added) or failed with failure_code insufficient_credit (nothing is charged; add credit and buy again). Follow it with GET /public/v1/email/pack-orders/{email_pack_order_id}. Packs do not expire.

    POST/public/v1/email/packs
    Write keyNeeds Idempotency-KeyReturns202Accepted

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Body

    application/json
    • packsintegerrequired

      Packs of 1,000 emails to buy.

      From 1 to 1000.

    Response 202

    The order, pending until it is charged.
    • idstringrequired

      epo_…

    • packsintegerrequired
    • emailsintegerrequired
    • currencystringrequired

      One of NGN, USD.

    • amount_minorintegerrequired

      The price of the packs before VAT, in minor units.

    • total_minorinteger or nullrequired

      What was charged, VAT included; null until paid.

    • statusstringrequired

      One of pending, paid, failed.

    • failure_codestring or nullrequired

      One of insufficient_credit, currency_mismatch, null.

    • paid_atstring or nullrequired
    • created_atstringrequired

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 409IDEMPOTENCY_KEY_REUSED: this Idempotency-Key was already used for a different purchase. Send a new key. EMAIL_PACKS_NOT_SOLD: email packs are not sold in your organization's currency yet. ACCOUNT_SUSPENDED: your organization is suspended and cannot buy anything until its balance is settled.
    • 422VALIDATION_FAILED: packs must be a whole number from 1 to 1000.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Body
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/email/packs" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
        "packs": 1
      }'
    Response 202
    {
      "id": "epo_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "packs": 1,
      "emails": 1,
      "currency": "NGN",
      "amount_minor": 1059200,
      "total_minor": 1,
      "status": "pending",
      "failure_code": "insufficient_credit",
      "paid_at": "2026-10-03T09:30:00Z",
      "created_at": "2026-10-03T09:30:00Z"
    }

    List email pack orders

    Every purchase of email packs, newest first, a page at a time. GET /public/v1/email/packs carries the 20 most recent and an orders_next_cursor to continue from.

    GET/public/v1/email/pack-orders
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Query parameters

    • limitinteger

      Items per page, 1 to 100. Defaults to 50.

      From 1 to 100. Defaults to 50.

    • cursorstring

      The previous page's next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.

    Response 200

    A page of pack orders.
    • dataarray of EmailPackOrderrequired
      Show 10 child fields
      • idstringrequired

        epo_…

      • packsintegerrequired
      • emailsintegerrequired
      • currencystringrequired

        One of NGN, USD.

      • amount_minorintegerrequired

        The price of the packs before VAT, in minor units.

      • total_minorinteger or nullrequired

        What was charged, VAT included; null until paid.

      • statusstringrequired

        One of pending, paid, failed.

      • failure_codestring or nullrequired

        One of insufficient_credit, currency_mismatch, null.

      • paid_atstring or nullrequired
      • created_atstringrequired
    • next_cursorstring or nullrequired

    Errors

    • 400INVALID_PAGE: limit is not from 1 to 100. INVALID_CURSOR: the cursor is not one this list returned. Start again without it.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Query
    curl "https://api.pantechdynamics.com/public/v1/email/pack-orders" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "data": [
        {
          "id": "epo_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "packs": 1,
          "emails": 1,
          "currency": "NGN",
          "amount_minor": 1059200,
          "total_minor": 1,
          "status": "pending",
          "failure_code": "insufficient_credit",
          "paid_at": "2026-10-03T09:30:00Z",
          "created_at": "2026-10-03T09:30:00Z"
        }
      ],
      "next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
    }

    Get an email pack order

    One purchase of email packs, to see whether it was charged.

    GET/public/v1/email/pack-orders/{email_pack_order_id}
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Path parameters

    • email_pack_order_idstringrequired

      The order's id (epo_…).

    Response 200

    The order.
    • idstringrequired

      epo_…

    • packsintegerrequired
    • emailsintegerrequired
    • currencystringrequired

      One of NGN, USD.

    • amount_minorintegerrequired

      The price of the packs before VAT, in minor units.

    • total_minorinteger or nullrequired

      What was charged, VAT included; null until paid.

    • statusstringrequired

      One of pending, paid, failed.

    • failure_codestring or nullrequired

      One of insufficient_credit, currency_mismatch, null.

    • paid_atstring or nullrequired
    • created_atstringrequired

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key may not do this. Use a key created by an owner or admin. ACCESS_DENIED: your organization's access policies do not allow this action on email (detail names the action). Ask an owner or admin to grant it. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404EMAIL_PACK_ORDER_NOT_FOUND: no email pack order with this id exists in your organization.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503EMAIL_UNAVAILABLE: email is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    curl "https://api.pantechdynamics.com/public/v1/email/pack-orders/epo_06gk3x9tq7m2v8r4y1c5d0zp8w" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "id": "epo_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "packs": 1,
      "emails": 1,
      "currency": "NGN",
      "amount_minor": 1059200,
      "total_minor": 1,
      "status": "pending",
      "failure_code": "insufficient_credit",
      "paid_at": "2026-10-03T09:30:00Z",
      "created_at": "2026-10-03T09:30:00Z"
    }

    Was this page helpful?

    Updated