API reference · 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
idstringrequiredThe sending domain's id (
emd_…).namestringrequiredstatusstringrequiredpendinguntil its records are found;verifiedsends;warningsends but its records were not found on the last checks and it is suspended after 72 hours unless they come back;suspendeddoes not send;failedwas not verified within 72 hours.One of
pending,verified,warning,suspended,failed.status_reasonstring or nullrequiredWhy a domain is
failed,warningorsuspended; null otherwise.One of
verification_timeout,records_missing,abuse,operator,null.can_sendbooleanrequiredWhether mail from this domain is accepted now.
return_path_domainstringrequiredThe bounce domain, such as
send.example.com.dkim_selectorstringrequiredThe DKIM selector your mail is signed with.
recordsarray of EmailDomainRecordrequiredShow 6 child fieldsHide child fields
purposestringrequireddkimsigns your mail,return_pathreceives bounces,dmarctells receivers what to do with unsigned mail.One of
dkim,return_path,dmarc.typestringrequiredOne of
CNAME,TXT.namestringrequiredThe record's full name.
valuestringrequiredThe record's value.
requiredbooleanrequiredWhether the domain needs it to be verified. DMARC is recommended, not required.
statusstring or nullrequiredWhether the last check found it; null for an optional record and before the first check.
One of
verified,missing,null.
verification_deadline_atstring or nullrequiredWhen a
pendingdomain becomesfailed; null in any other status.suspension_deadline_atstring or nullrequiredWhen a
warningdomain is suspended; null in any other status.last_checked_atstring or nullrequiredverified_atstring or nullrequiredWhen the domain was first verified.
created_atstringrequiredupdated_atstringrequired
The email object
An email.
Fields
idstringrequiredThe email's id (
eml_…).fromstringrequiredsubjectstringrequiredstatusstringrequiredsentonce Pantech's mail servers accepted it; each recipient's own status follows its delivery.One of
scheduled,queued,dispatching,sent,canceled,failed.sourcestringrequiredOne of
api,smtp.recipientsarray of EmailRecipientrequiredShow 4 child fieldsHide child fields
addressstringrequiredkindstringrequiredOne of
to,cc,bcc.statusstringrequiredsent: 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 nullrequiredThe receiving server's answer for a bounce, delay or failure.
tagsobjectrequiredscheduled_atstring or nullrequiredsent_atstring or nullrequiredfailure_reasonstring or nullrequiredWhy the email was not sent, such as
all_recipients_suppressedorsending_paused.created_atstringrequired
The email sending key object
An SMTP sending key.
Fields
idstringrequiredThe key's id (
esk_…).namestringrequiredstatusstringrequiredOne of
active,revoked.email_domain_idstring or nullrequiredThe one sending domain this key may send from; null for any of the organization's.
hintstringrequiredThe secret's first characters, such as
pmk_ab12cd.smtpEmailSMTPSettingsrequiredHow to send over SMTP with a sending key.
Show 4 child fieldsHide child fields
hoststringrequiredThe SMTP host, such as
smtp.pantechdynamics.com.portsarray of integerrequiredSubmission ports. Use 587; 2587 is for networks that block 587.
usernamestringrequiredAlways
pantech. The password is the key's secret.securitystringrequiredConnect in plain text, then upgrade with STARTTLS before logging in.
One of
starttls.
last_used_atstring or nullrequiredWhen the key last logged in, to the minute.
created_atstringrequiredrevoked_atstring or nullrequired
The email suppression object
An address Pantech will not send to.
Fields
addressstringrequiredreasonstringrequiredOne of
hard_bounce,complaint,manual.email_idstring or nullrequiredThe 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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Query parameters
qstringOnly domains whose name contains this text (case-insensitive), at most 255 characters.
At most 255 characters.
statusstringOnly domains in this status.
One of
pending,verified,warning,suspended,failed.limitintegerItems per page, 1 to 100. Defaults to 50.
From 1 to 100. Defaults to
50.cursorstringThe 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 EmailDomainrequiredShow 14 child fieldsHide child fields
idstringrequiredThe sending domain's id (
emd_…).namestringrequiredstatusstringrequiredpendinguntil its records are found;verifiedsends;warningsends but its records were not found on the last checks and it is suspended after 72 hours unless they come back;suspendeddoes not send;failedwas not verified within 72 hours.One of
pending,verified,warning,suspended,failed.status_reasonstring or nullrequiredWhy a domain is
failed,warningorsuspended; null otherwise.One of
verification_timeout,records_missing,abuse,operator,null.can_sendbooleanrequiredWhether mail from this domain is accepted now.
return_path_domainstringrequiredThe bounce domain, such as
send.example.com.dkim_selectorstringrequiredThe DKIM selector your mail is signed with.
recordsarray of EmailDomainRecordrequiredShow 6 child fieldsHide child fields
purposestringrequireddkimsigns your mail,return_pathreceives bounces,dmarctells receivers what to do with unsigned mail.One of
dkim,return_path,dmarc.typestringrequiredOne of
CNAME,TXT.namestringrequiredThe record's full name.
valuestringrequiredThe record's value.
requiredbooleanrequiredWhether the domain needs it to be verified. DMARC is recommended, not required.
statusstring or nullrequiredWhether the last check found it; null for an optional record and before the first check.
One of
verified,missing,null.
verification_deadline_atstring or nullrequiredWhen a
pendingdomain becomesfailed; null in any other status.suspension_deadline_atstring or nullrequiredWhen a
warningdomain is suspended; null in any other status.last_checked_atstring or nullrequiredverified_atstring or nullrequiredWhen the domain was first verified.
created_atstringrequiredupdated_atstringrequired
next_cursorstring or nullrequiredPass as
cursorfor the next page; null on the last one.
Errors
- 400
INVALID_FILTER: a query parameter is not one of its allowed values.detailnames it and what it takes.INVALID_CURSOR: the cursor is not valid for this list and these filters. Start again without a cursor. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. 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 (detailnames 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. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl "https://api.pantechdynamics.com/public/v1/email/domains" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Body
application/jsonnamestringrequiredThe domain, such as
example.comormail.example.com. An internationalised name is stored in punycode.At most 253 characters.
return_path_subdomainstringThe label of the bounce domain under
name. Defaultsend, givingsend.example.com.At most 63 characters.
Response 201
The new sending domain, pending verification.idstringrequiredThe sending domain's id (
emd_…).namestringrequiredstatusstringrequiredpendinguntil its records are found;verifiedsends;warningsends but its records were not found on the last checks and it is suspended after 72 hours unless they come back;suspendeddoes not send;failedwas not verified within 72 hours.One of
pending,verified,warning,suspended,failed.status_reasonstring or nullrequiredWhy a domain is
failed,warningorsuspended; null otherwise.One of
verification_timeout,records_missing,abuse,operator,null.can_sendbooleanrequiredWhether mail from this domain is accepted now.
return_path_domainstringrequiredThe bounce domain, such as
send.example.com.dkim_selectorstringrequiredThe DKIM selector your mail is signed with.
recordsarray of EmailDomainRecordrequiredShow 6 child fieldsHide child fields
purposestringrequireddkimsigns your mail,return_pathreceives bounces,dmarctells receivers what to do with unsigned mail.One of
dkim,return_path,dmarc.typestringrequiredOne of
CNAME,TXT.namestringrequiredThe record's full name.
valuestringrequiredThe record's value.
requiredbooleanrequiredWhether the domain needs it to be verified. DMARC is recommended, not required.
statusstring or nullrequiredWhether the last check found it; null for an optional record and before the first check.
One of
verified,missing,null.
verification_deadline_atstring or nullrequiredWhen a
pendingdomain becomesfailed; null in any other status.suspension_deadline_atstring or nullrequiredWhen a
warningdomain is suspended; null in any other status.last_checked_atstring or nullrequiredverified_atstring or nullrequiredWhen the domain was first verified.
created_atstringrequiredupdated_atstringrequired
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader 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. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. 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 (detailnames 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. - 409
EMAIL_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. - 422
VALIDATION_FAILED:errorsnames the field:nameREQUIRED,INVALID_NAME(not a domain you can own, such as a public suffix) orRESERVED_NAME(a Pantech name).return_path_subdomainINVALID_RETURN_PATH: send one DNS label such assendorbounces. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
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"
}'{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Path parameters
email_domain_idstringrequiredThe sending domain's id (
emd_…).
Response 200
The sending domain.idstringrequiredThe sending domain's id (
emd_…).namestringrequiredstatusstringrequiredpendinguntil its records are found;verifiedsends;warningsends but its records were not found on the last checks and it is suspended after 72 hours unless they come back;suspendeddoes not send;failedwas not verified within 72 hours.One of
pending,verified,warning,suspended,failed.status_reasonstring or nullrequiredWhy a domain is
failed,warningorsuspended; null otherwise.One of
verification_timeout,records_missing,abuse,operator,null.can_sendbooleanrequiredWhether mail from this domain is accepted now.
return_path_domainstringrequiredThe bounce domain, such as
send.example.com.dkim_selectorstringrequiredThe DKIM selector your mail is signed with.
recordsarray of EmailDomainRecordrequiredShow 6 child fieldsHide child fields
purposestringrequireddkimsigns your mail,return_pathreceives bounces,dmarctells receivers what to do with unsigned mail.One of
dkim,return_path,dmarc.typestringrequiredOne of
CNAME,TXT.namestringrequiredThe record's full name.
valuestringrequiredThe record's value.
requiredbooleanrequiredWhether the domain needs it to be verified. DMARC is recommended, not required.
statusstring or nullrequiredWhether the last check found it; null for an optional record and before the first check.
One of
verified,missing,null.
verification_deadline_atstring or nullrequiredWhen a
pendingdomain becomesfailed; null in any other status.suspension_deadline_atstring or nullrequiredWhen a
warningdomain is suspended; null in any other status.last_checked_atstring or nullrequiredverified_atstring or nullrequiredWhen the domain was first verified.
created_atstringrequiredupdated_atstringrequired
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. 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 (detailnames 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. - 404
EMAIL_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. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl "https://api.pantechdynamics.com/public/v1/email/domains/emd_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA 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_idstringrequiredThe sending domain's id (
emd_…).
Response 204
Deleted. No body.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader is longer than 255 characters. Use a shorter value. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thedeletescope. 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 (detailnames 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. - 404
EMAIL_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. - 409
CONFLICT: the sending domain was changed at the same time by another request. Get it again and retry. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl -X DELETE "https://api.pantechdynamics.com/public/v1/email/domains/emd_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA 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_idstringrequiredThe sending domain's id (
emd_…).
Response 200
The sending domain after the check.idstringrequiredThe sending domain's id (
emd_…).namestringrequiredstatusstringrequiredpendinguntil its records are found;verifiedsends;warningsends but its records were not found on the last checks and it is suspended after 72 hours unless they come back;suspendeddoes not send;failedwas not verified within 72 hours.One of
pending,verified,warning,suspended,failed.status_reasonstring or nullrequiredWhy a domain is
failed,warningorsuspended; null otherwise.One of
verification_timeout,records_missing,abuse,operator,null.can_sendbooleanrequiredWhether mail from this domain is accepted now.
return_path_domainstringrequiredThe bounce domain, such as
send.example.com.dkim_selectorstringrequiredThe DKIM selector your mail is signed with.
recordsarray of EmailDomainRecordrequiredShow 6 child fieldsHide child fields
purposestringrequireddkimsigns your mail,return_pathreceives bounces,dmarctells receivers what to do with unsigned mail.One of
dkim,return_path,dmarc.typestringrequiredOne of
CNAME,TXT.namestringrequiredThe record's full name.
valuestringrequiredThe record's value.
requiredbooleanrequiredWhether the domain needs it to be verified. DMARC is recommended, not required.
statusstring or nullrequiredWhether the last check found it; null for an optional record and before the first check.
One of
verified,missing,null.
verification_deadline_atstring or nullrequiredWhen a
pendingdomain becomesfailed; null in any other status.suspension_deadline_atstring or nullrequiredWhen a
warningdomain is suspended; null in any other status.last_checked_atstring or nullrequiredverified_atstring or nullrequiredWhen the domain was first verified.
created_atstringrequiredupdated_atstringrequired
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader is longer than 255 characters. Use a shorter value. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. 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 (detailnames 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. - 404
EMAIL_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. - 409
CONFLICT: the sending domain was changed at the same time by another request. Get it again and retry. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl -X POST "https://api.pantechdynamics.com/public/v1/email/domains/emd_06gk3x9tq7m2v8r4y1c5d0zp8w/verify" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Query parameters
limitintegerItems per page, 1 to 100. Defaults to 50.
From 1 to 100. Defaults to
50.cursorstringThe 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 EmailSendingKeyrequiredShow 9 child fieldsHide child fields
idstringrequiredThe key's id (
esk_…).namestringrequiredstatusstringrequiredOne of
active,revoked.email_domain_idstring or nullrequiredThe one sending domain this key may send from; null for any of the organization's.
hintstringrequiredThe secret's first characters, such as
pmk_ab12cd.smtpEmailSMTPSettingsrequiredHow to send over SMTP with a sending key.
Show 4 child fieldsHide child fields
hoststringrequiredThe SMTP host, such as
smtp.pantechdynamics.com.portsarray of integerrequiredSubmission ports. Use 587; 2587 is for networks that block 587.
usernamestringrequiredAlways
pantech. The password is the key's secret.securitystringrequiredConnect in plain text, then upgrade with STARTTLS before logging in.
One of
starttls.
last_used_atstring or nullrequiredWhen the key last logged in, to the minute.
created_atstringrequiredrevoked_atstring or nullrequired
next_cursorstring or nullrequiredPass as
cursorfor the next page; null on the last.
Errors
- 400
INVALID_PAGE:limitis not from 1 to 100.INVALID_CURSOR: the cursor is not one this list returned. Start again without it. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. 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 (detailnames 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. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl "https://api.pantechdynamics.com/public/v1/email/sending-keys" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Body
application/jsonnamestringrequiredWhere the key is used, such as
production-app.At most 100 characters.
email_domain_idstringLimit the key to this sending domain (
emd_…). Omit to allow every domain.
Response 201
The new sending key, with its secret.secretstring or nullrequiredThe SMTP password, in this answer only; it is never shown again. Null when a retry with the same
Idempotency-Keyreturns a key created earlier.idstringrequiredThe key's id (
esk_…).namestringrequiredstatusstringrequiredOne of
active,revoked.email_domain_idstring or nullrequiredThe one sending domain this key may send from; null for any of the organization's.
hintstringrequiredThe secret's first characters, such as
pmk_ab12cd.smtpEmailSMTPSettingsrequiredHow to send over SMTP with a sending key.
Show 4 child fieldsHide child fields
hoststringrequiredThe SMTP host, such as
smtp.pantechdynamics.com.portsarray of integerrequiredSubmission ports. Use 587; 2587 is for networks that block 587.
usernamestringrequiredAlways
pantech. The password is the key's secret.securitystringrequiredConnect in plain text, then upgrade with STARTTLS before logging in.
One of
starttls.
last_used_atstring or nullrequiredWhen the key last logged in, to the minute.
created_atstringrequiredrevoked_atstring or nullrequired
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader 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. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. 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 (detailnames 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. - 404
EMAIL_DOMAIN_NOT_FOUND:email_domain_idnames no sending domain in your organization. - 409
IDEMPOTENCY_CONFLICT: this Idempotency-Key was already used with a different request. Use a new key. - 422
VALIDATION_FAILED:errorsnames the field:nameREQUIREDorINVALID_NAME(1 to 100 characters on one line).email_domain_idINVALID_ID: send a sending domain id (emd_…). - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
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"
}'{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA 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_idstringrequiredThe sending key's id (
esk_…).
Response 204
Revoked. No body.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader is longer than 255 characters. Use a shorter value. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thedeletescope. 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 (detailnames 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. - 404
EMAIL_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. - 409
CONFLICT: the sending key was changed at the same time by another request. Get it again and retry. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl -X DELETE "https://api.pantechdynamics.com/public/v1/email/sending-keys/esk_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Body
application/jsonfromstringrequiredThe sender: an address at one of your verified sending domains, with an optional name, such as
Acme <billing@acme.com>.toarray of stringrequiredAt most 50 items.
ccarray of stringbccarray of stringreply_toarray of stringsubjectstringrequiredAt most 998 characters.
htmlstringThe HTML body. Send
html,textor both.textstringThe plain-text body.
headersobjectExtra headers, such as
List-Unsubscribe.tagsobjectUp to 10
key: valuelabels, returned on the email and its webhooks and filterable in the list.attachmentsarray of EmailAttachmentShow 3 child fieldsHide child fields
filenamestringrequiredcontentstringrequiredThe file, base64-encoded.
content_typestringSuch as
application/pdf; guessed from the file name when omitted.
scheduled_atstringSend later, at most 30 days ahead.
Response 202
The queued email.idstringrequiredThe email's id (
eml_…).fromstringrequiredsubjectstringrequiredstatusstringrequiredsentonce Pantech's mail servers accepted it; each recipient's own status follows its delivery.One of
scheduled,queued,dispatching,sent,canceled,failed.sourcestringrequiredOne of
api,smtp.recipientsarray of EmailRecipientrequiredShow 4 child fieldsHide child fields
addressstringrequiredkindstringrequiredOne of
to,cc,bcc.statusstringrequiredsent: 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 nullrequiredThe receiving server's answer for a bounce, delay or failure.
tagsobjectrequiredscheduled_atstring or nullrequiredsent_atstring or nullrequiredfailure_reasonstring or nullrequiredWhy the email was not sent, such as
all_recipients_suppressedorsending_paused.created_atstringrequired
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader 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. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. 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 (detailnames 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. - 409
IDEMPOTENCY_CONFLICT: this Idempotency-Key was already used with a different request. Use a new key. - 422
VALIDATION_FAILED:errorsnames the field, such as:fromREQUIRED,INVALID_ADDRESSorDOMAIN_NOT_VERIFIED(the address must be at one of your verified sending domains).toREQUIRED(at least onetoaddress),INVALID_ADDRESSorTOO_MANY_RECIPIENTS(at most 50 into, 500 in all).subjectREQUIRED;html/textREQUIRED(one of them) orTOO_LARGE(the message may not pass 25 MB).headersRESERVED_HEADER(such as From, To, Subject, DKIM-Signature or X-Pantech-*);tagsINVALID_TAGS;attachmentsINVALID_ATTACHMENT.scheduled_atINVALID_SCHEDULE(at most 30 days ahead). - 429
EMAIL_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 forRetry-Afterseconds. - 503
EMAIL_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.
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"
}'{
"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).
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Query parameters
limitintegerItems per page, 1 to 100. Defaults to 50.
From 1 to 100. Defaults to
50.cursorstringThe previous page's
next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.statusstringOne of
scheduled,queued,dispatching,sent,canceled,failed.recipientstringOnly emails to this address.
tagstringOnly emails with this tag, as
key=value.
Response 200
Emails.dataarray of EmailrequiredShow 11 child fieldsHide child fields
idstringrequiredThe email's id (
eml_…).fromstringrequiredsubjectstringrequiredstatusstringrequiredsentonce Pantech's mail servers accepted it; each recipient's own status follows its delivery.One of
scheduled,queued,dispatching,sent,canceled,failed.sourcestringrequiredOne of
api,smtp.recipientsarray of EmailRecipientrequiredShow 4 child fieldsHide child fields
addressstringrequiredkindstringrequiredOne of
to,cc,bcc.statusstringrequiredsent: 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 nullrequiredThe receiving server's answer for a bounce, delay or failure.
tagsobjectrequiredscheduled_atstring or nullrequiredsent_atstring or nullrequiredfailure_reasonstring or nullrequiredWhy the email was not sent, such as
all_recipients_suppressedorsending_paused.created_atstringrequired
next_cursorstring or nullrequired
Errors
- 400
INVALID_FILTER: a filter is not valid (detailnames it).INVALID_CURSOR: the cursor is not one this list returned. Start again without it. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. 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 (detailnames 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. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl "https://api.pantechdynamics.com/public/v1/emails" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Body
application/jsonemailsarray of objectrequiredAt most 100 items.
Show 12 child fieldsHide child fields
fromstringrequiredThe sender: an address at one of your verified sending domains, with an optional name, such as
Acme <billing@acme.com>.toarray of stringrequiredAt most 50 items.
ccarray of stringbccarray of stringreply_toarray of stringsubjectstringrequiredAt most 998 characters.
htmlstringThe HTML body. Send
html,textor both.textstringThe plain-text body.
headersobjectExtra headers, such as
List-Unsubscribe.tagsobjectUp to 10
key: valuelabels, returned on the email and its webhooks and filterable in the list.attachmentsarray of EmailAttachmentShow 3 child fieldsHide child fields
filenamestringrequiredcontentstringrequiredThe file, base64-encoded.
content_typestringSuch as
application/pdf; guessed from the file name when omitted.
scheduled_atstringSend later, at most 30 days ahead.
Response 202
The queued emails.dataarray of EmailrequiredShow 11 child fieldsHide child fields
idstringrequiredThe email's id (
eml_…).fromstringrequiredsubjectstringrequiredstatusstringrequiredsentonce Pantech's mail servers accepted it; each recipient's own status follows its delivery.One of
scheduled,queued,dispatching,sent,canceled,failed.sourcestringrequiredOne of
api,smtp.recipientsarray of EmailRecipientrequiredShow 4 child fieldsHide child fields
addressstringrequiredkindstringrequiredOne of
to,cc,bcc.statusstringrequiredsent: 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 nullrequiredThe receiving server's answer for a bounce, delay or failure.
tagsobjectrequiredscheduled_atstring or nullrequiredsent_atstring or nullrequiredfailure_reasonstring or nullrequiredWhy the email was not sent, such as
all_recipients_suppressedorsending_paused.created_atstringrequired
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader 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. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. 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 (detailnames 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. - 409
IDEMPOTENCY_CONFLICT: this Idempotency-Key was already used with a different request. Use a new key. - 422
VALIDATION_FAILED:errorsnames the field, such as:fromREQUIRED,INVALID_ADDRESSorDOMAIN_NOT_VERIFIED(the address must be at one of your verified sending domains).toREQUIRED(at least onetoaddress),INVALID_ADDRESSorTOO_MANY_RECIPIENTS(at most 50 into, 500 in all).subjectREQUIRED;html/textREQUIRED(one of them) orTOO_LARGE(the message may not pass 25 MB).headersRESERVED_HEADER(such as From, To, Subject, DKIM-Signature or X-Pantech-*);tagsINVALID_TAGS;attachmentsINVALID_ATTACHMENT.scheduled_atINVALID_SCHEDULE(at most 30 days ahead). - 429
EMAIL_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 forRetry-Afterseconds. - 503
EMAIL_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.
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"
}
]
}'{
"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).
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Path parameters
email_idstringrequiredThe email's id (
eml_…).
Response 200
The email.idstringrequiredThe email's id (
eml_…).fromstringrequiredsubjectstringrequiredstatusstringrequiredsentonce Pantech's mail servers accepted it; each recipient's own status follows its delivery.One of
scheduled,queued,dispatching,sent,canceled,failed.sourcestringrequiredOne of
api,smtp.recipientsarray of EmailRecipientrequiredShow 4 child fieldsHide child fields
addressstringrequiredkindstringrequiredOne of
to,cc,bcc.statusstringrequiredsent: 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 nullrequiredThe receiving server's answer for a bounce, delay or failure.
tagsobjectrequiredscheduled_atstring or nullrequiredsent_atstring or nullrequiredfailure_reasonstring or nullrequiredWhy the email was not sent, such as
all_recipients_suppressedorsending_paused.created_atstringrequiredeventsarray of EmailEventrequiredAt most 100 items.
Show 5 child fieldsHide child fields
typestringrequiredOne of
sent,delivered,delivery_delayed,bounced,complained,failed,suppressed.recipientstringrequiredcodeinteger or nullrequiredThe SMTP status code, when there is one.
detailstring or nullrequiredoccurred_atstringrequired
events_next_cursorstring or nullrequiredPass as
cursortoGET /public/v1/emails/{email_id}/eventsfor the events after these; null when these are all of them.
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. 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 (detailnames 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. - 404
EMAIL_NOT_FOUND: no email with this id exists in your organization. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl "https://api.pantechdynamics.com/public/v1/emails/eml_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Path parameters
email_idstringrequiredThe email's id (
eml_…).
Query parameters
limitintegerItems per page, 1 to 100. Defaults to 50.
From 1 to 100. Defaults to
50.cursorstringThe 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 EmailEventrequiredShow 5 child fieldsHide child fields
typestringrequiredOne of
sent,delivered,delivery_delayed,bounced,complained,failed,suppressed.recipientstringrequiredcodeinteger or nullrequiredThe SMTP status code, when there is one.
detailstring or nullrequiredoccurred_atstringrequired
next_cursorstring or nullrequired
Errors
- 400
INVALID_PAGE:limitis not from 1 to 100.INVALID_CURSOR: the cursor is not one this email's events returned. Start again without it. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. 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 (detailnames 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. - 404
EMAIL_NOT_FOUND: no email with that id in your organization. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl "https://api.pantechdynamics.com/public/v1/emails/eml_06gk3x9tq7m2v8r4y1c5d0zp8w/events" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
email_idstringrequiredThe email's id (
eml_…).
Body
application/jsonscheduled_atstringrequired
Response 200
The rescheduled email.idstringrequiredThe email's id (
eml_…).fromstringrequiredsubjectstringrequiredstatusstringrequiredsentonce Pantech's mail servers accepted it; each recipient's own status follows its delivery.One of
scheduled,queued,dispatching,sent,canceled,failed.sourcestringrequiredOne of
api,smtp.recipientsarray of EmailRecipientrequiredShow 4 child fieldsHide child fields
addressstringrequiredkindstringrequiredOne of
to,cc,bcc.statusstringrequiredsent: 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 nullrequiredThe receiving server's answer for a bounce, delay or failure.
tagsobjectrequiredscheduled_atstring or nullrequiredsent_atstring or nullrequiredfailure_reasonstring or nullrequiredWhy the email was not sent, such as
all_recipients_suppressedorsending_paused.created_atstringrequired
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader 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. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. 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 (detailnames 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. - 404
EMAIL_NOT_FOUND: no email with this id exists in your organization. - 409
EMAIL_NOT_SCHEDULED: only a scheduled email that has not been sent can be canceled or rescheduled. - 422
VALIDATION_FAILED:scheduled_atREQUIREDorINVALID_SCHEDULE(in the future, at most 30 days ahead). - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
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"
}'{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
email_idstringrequiredThe email's id (
eml_…).
Response 200
The canceled email.idstringrequiredThe email's id (
eml_…).fromstringrequiredsubjectstringrequiredstatusstringrequiredsentonce Pantech's mail servers accepted it; each recipient's own status follows its delivery.One of
scheduled,queued,dispatching,sent,canceled,failed.sourcestringrequiredOne of
api,smtp.recipientsarray of EmailRecipientrequiredShow 4 child fieldsHide child fields
addressstringrequiredkindstringrequiredOne of
to,cc,bcc.statusstringrequiredsent: 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 nullrequiredThe receiving server's answer for a bounce, delay or failure.
tagsobjectrequiredscheduled_atstring or nullrequiredsent_atstring or nullrequiredfailure_reasonstring or nullrequiredWhy the email was not sent, such as
all_recipients_suppressedorsending_paused.created_atstringrequired
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader is longer than 255 characters. Use a shorter value. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. 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 (detailnames 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. - 404
EMAIL_NOT_FOUND: no email with this id exists in your organization. - 409
EMAIL_NOT_SCHEDULED: only a scheduled email that has not been sent can be canceled or rescheduled. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl -X POST "https://api.pantechdynamics.com/public/v1/emails/eml_06gk3x9tq7m2v8r4y1c5d0zp8w/cancel" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Response 200
Sending status.statusstringrequiredOne of
sandbox,production,paused.daily_limitintegerrequiredRecipients a day, reset at midnight UTC.
sent_todayintegerrequiredpause_reasonstring or nullrequiredOne of
bounce_rate,complaint_rate,operator,null.pack_balanceintegerrequiredPrepaid emails left (see
GET /public/v1/email/packs). A production organization sends from them.smtpEmailSMTPSettingsrequiredHow to send over SMTP with a sending key.
Show 4 child fieldsHide child fields
hoststringrequiredThe SMTP host, such as
smtp.pantechdynamics.com.portsarray of integerrequiredSubmission ports. Use 587; 2587 is for networks that block 587.
usernamestringrequiredAlways
pantech. The password is the key's secret.securitystringrequiredConnect in plain text, then upgrade with STARTTLS before logging in.
One of
starttls.
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. 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 (detailnames 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. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl "https://api.pantechdynamics.com/public/v1/email/sending" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Query parameters
limitintegerItems per page, 1 to 100. Defaults to 50.
From 1 to 100. Defaults to
50.cursorstringThe previous page's
next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.qstringAt most 254 characters.
Response 200
Suppressed addresses.dataarray of EmailSuppressionrequiredShow 4 child fieldsHide child fields
addressstringrequiredreasonstringrequiredOne of
hard_bounce,complaint,manual.email_idstring or nullrequiredThe email that bounced or was reported, when there is one.
created_atstringrequired
next_cursorstring or nullrequired
Errors
- 400
INVALID_FILTER:qis longer than 254 characters.INVALID_CURSOR: the cursor is not one this list returned. Start again without it. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. 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 (detailnames 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. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl "https://api.pantechdynamics.com/public/v1/email/suppressions" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Body
application/jsonaddressstringrequired
Response 201
The suppression.addressstringrequiredreasonstringrequiredOne of
hard_bounce,complaint,manual.email_idstring or nullrequiredThe email that bounced or was reported, when there is one.
created_atstringrequired
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader 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. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. 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 (detailnames 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. - 409
EMAIL_SUPPRESSION_EXISTS: the address is already on your suppression list. - 422
VALIDATION_FAILED:addressINVALID_ADDRESS. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
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"
}'{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
addressstringrequiredThe suppressed address, URL-encoded.
Response 204
Removed. No body.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader is longer than 255 characters. Use a shorter value. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thedeletescope. 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 (detailnames 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. - 404
EMAIL_SUPPRESSION_NOT_FOUND: the address is not on your suppression list. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl -X DELETE "https://api.pantechdynamics.com/public/v1/email/suppressions/id_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Response 200
The packs.balanceintegerrequiredEmails left, one per recipient. Below zero by SMTP mail accepted as the packs ran out.
pack_sizeintegerrequiredEmails in one pack (1000).
max_packs_per_orderintegerrequiredsandbox_daily_freeintegerrequiredRecipients a day a sandbox organization sends for free.
statusstringrequiredSending status. Only
productionuses packs.One of
sandbox,production,paused.priceobject or nullrequiredOne pack's price before VAT, or null when packs are not sold in your currency.
Show 2 child fieldsHide child fields
currencystringrequiredOne of
NGN,USD.amount_minorintegerrequiredIn minor units (kobo or cents), before VAT.
ordersarray of EmailPackOrderrequiredThe 20 most recent purchases, newest first.
At most 20 items.
Show 10 child fieldsHide child fields
idstringrequiredepo_…packsintegerrequiredemailsintegerrequiredcurrencystringrequiredOne of
NGN,USD.amount_minorintegerrequiredThe price of the packs before VAT, in minor units.
total_minorinteger or nullrequiredWhat was charged, VAT included; null until paid.
statusstringrequiredOne of
pending,paid,failed.failure_codestring or nullrequiredOne of
insufficient_credit,currency_mismatch,null.paid_atstring or nullrequiredcreated_atstringrequired
orders_next_cursorstring or nullrequiredPass as
cursortoGET /public/v1/email/pack-ordersfor the purchases before these; null when these are all of them.
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. 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 (detailnames 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. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl "https://api.pantechdynamics.com/public/v1/email/packs" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Body
application/jsonpacksintegerrequiredPacks of 1,000 emails to buy.
From 1 to 1000.
Response 202
The order, pending until it is charged.idstringrequiredepo_…packsintegerrequiredemailsintegerrequiredcurrencystringrequiredOne of
NGN,USD.amount_minorintegerrequiredThe price of the packs before VAT, in minor units.
total_minorinteger or nullrequiredWhat was charged, VAT included; null until paid.
statusstringrequiredOne of
pending,paid,failed.failure_codestring or nullrequiredOne of
insufficient_credit,currency_mismatch,null.paid_atstring or nullrequiredcreated_atstringrequired
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED: theIdempotency-Keyheader is missing. Send a new unique value, such as a UUID, with every write.INVALID_IDEMPOTENCY_KEY: theIdempotency-Keyheader is longer than 255 characters. Use a shorter value. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. 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 (detailnames 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. - 409
IDEMPOTENCY_KEY_REUSED: thisIdempotency-Keywas 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. - 422
VALIDATION_FAILED:packsmust be a whole number from 1 to 1000. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
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
}'{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Query parameters
limitintegerItems per page, 1 to 100. Defaults to 50.
From 1 to 100. Defaults to
50.cursorstringThe 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 EmailPackOrderrequiredShow 10 child fieldsHide child fields
idstringrequiredepo_…packsintegerrequiredemailsintegerrequiredcurrencystringrequiredOne of
NGN,USD.amount_minorintegerrequiredThe price of the packs before VAT, in minor units.
total_minorinteger or nullrequiredWhat was charged, VAT included; null until paid.
statusstringrequiredOne of
pending,paid,failed.failure_codestring or nullrequiredOne of
insufficient_credit,currency_mismatch,null.paid_atstring or nullrequiredcreated_atstringrequired
next_cursorstring or nullrequired
Errors
- 400
INVALID_PAGE:limitis not from 1 to 100.INVALID_CURSOR: the cursor is not one this list returned. Start again without it. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. 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 (detailnames 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. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl "https://api.pantechdynamics.com/public/v1/email/pack-orders" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"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.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Path parameters
email_pack_order_idstringrequiredThe order's id (
epo_…).
Response 200
The order.idstringrequiredepo_…packsintegerrequiredemailsintegerrequiredcurrencystringrequiredOne of
NGN,USD.amount_minorintegerrequiredThe price of the packs before VAT, in minor units.
total_minorinteger or nullrequiredWhat was charged, VAT included; null until paid.
statusstringrequiredOne of
pending,paid,failed.failure_codestring or nullrequiredOne of
insufficient_credit,currency_mismatch,null.paid_atstring or nullrequiredcreated_atstringrequired
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. 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 (detailnames 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. - 404
EMAIL_PACK_ORDER_NOT_FOUND: no email pack order with this id exists in your organization. - 429
RATE_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. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
EMAIL_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.
curl "https://api.pantechdynamics.com/public/v1/email/pack-orders/epo_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"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"
}