API リファレンス
Management API: POST /sites/{id}/email/records/export, GET /sites/{id}/email/branding, PATCH /sites/{id}/email/branding, …
Export records
/sites/{id}/email/records/exportExport one period's sending records as a CSV file (the same file as Export on the dashboard's sending records page): time, channel, audience, type, campaign, recipient address, status, reason and whether it counted toward the quota. periodStart and the filters work like email.records.list (omit periodStart for the current period). Needs messaging:records as well. The file is made in the background with no row limit: poll operations.get with the returned operationId until SUCCEEDED; its result has a download link that works for 15 minutes (each operations.get returns a new one), plus fileName, rows and bytes. Give the link to the user; do not store or forward it. The file is kept 7 days, then the operation is EXPIRED. Only the credential that asked can read the result. Each export is recorded in the activity log. Errors: FORBIDDEN, VALIDATION (periodStart is not one of the periods email.records.list returns), STORAGE_UNAVAILABLE.
Parameters
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
Request body
periodStartstringstart of a period from email.records.list periods; omit for the current period.
audience"all" | "customer" | "team"channel"all" | "email" | "sms" | "line" | "whatsapp" | "in_app" | "webhook"status"all" | "sent" | "undelivered" | "not_sent" | "scheduled"metered"metered" | "all"
Response 200
operationIdstringrequiredPoll operations.get with it until status is SUCCEEDED; its result has the download link.
status"PENDING"requiredpollAfterSecondsintegerrequired
Errors
FORBIDDEN403VALIDATION400 · periodStart is not one of the periods email.records.list returnsSTORAGE_UNAVAILABLE422
MCP tool email_records_export
curl -X POST "https://app.kanorio.com/api/v1/sites/{id}/email/records/export" \
-H "Authorization: Bearer $KANORIO_TOKEN" \
-H "Content-Type: application/json" \
-d '{"audience":"customer","status":"undelivered"}'{
"operationId": "op_data_export_cmexport0006",
"status": "PENDING",
"pollAfterSeconds": 5
}Retrieve a branding
/sites/{id}/email/brandingRead how the site's emails look: logo size and position, the footer, and which social links show. Logo and accent color come from the site's brand settings. Shared by automated emails and campaigns. Errors: FORBIDDEN.
Parameters
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
Response 200
overridesobjectrequiredoverrides.footerTextstring | nullrequiredFooter in Markdown (links only); null = the default footer built from the site's contact details, address and policy pages; empty = no footer.
overrides.logoSize"SMALL" | "MEDIUM" | "LARGE"requiredoverrides.logoAlign"LEFT" | "CENTER" | "RIGHT"requiredoverrides.hiddenBrandLinkUrlsstring[]requiredSocial links (from the site's brand settings) not shown in the email footer.
derivedobjectrequiredTaken from the site's brand settings (change them with site.update_settings / site.profile.update), not editable here. logoIsIcon: the logo is an SVG icon, so emails show the store name instead.
derived.logoUrlstring | nullrequiredderived.logoIsIconbooleanrequiredderived.accentColorstringrequireddefaultFooterTextstringrequiredThe default footer used while overrides.footerText is null.
socialLinksobject[]requiredsocialLinks[].platformstringrequiredsocialLinks[].urlstringrequiredsocialLinks[].hiddenbooleanrequired
Errors
FORBIDDEN403
MCP tool email_branding_get
curl -X GET "https://app.kanorio.com/api/v1/sites/{id}/email/branding" \
-H "Authorization: Bearer $KANORIO_TOKEN"{
"overrides": {
"footerText": null,
"logoSize": "MEDIUM",
"logoAlign": "LEFT",
"hiddenBrandLinkUrls": []
},
"derived": {
"logoUrl": "https://media.kanorio.com/example/sunny-bakery-hero.jpg",
"logoIsIcon": false,
"accentColor": "#B4532A"
},
"defaultFooterText": "Bake Lab · [hello@example.com](mailto:hello@example.com) · [Privacy policy](https://example.com/privacy)",
"socialLinks": [
{
"platform": "instagram",
"url": "https://instagram.com/bakelab",
"hidden": false
}
]
}Update a branding
/sites/{id}/email/brandingChange how the site's emails look (fields you omit keep their value): footerText (Markdown, links only; null restores the default footer, empty string removes it), logoSize, logoAlign, hiddenBrandLinkUrls (social link URLs to leave out of the footer). Applies to the next emails sent. Errors: FORBIDDEN, VALIDATION.
Parameters
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
Request body
footerTextstring | nulllogoSize"SMALL" | "MEDIUM" | "LARGE"logoAlign"LEFT" | "CENTER" | "RIGHT"hiddenBrandLinkUrlsstring[]
Response 200
overridesobjectrequiredoverrides.footerTextstring | nullrequiredFooter in Markdown (links only); null = the default footer built from the site's contact details, address and policy pages; empty = no footer.
overrides.logoSize"SMALL" | "MEDIUM" | "LARGE"requiredoverrides.logoAlign"LEFT" | "CENTER" | "RIGHT"requiredoverrides.hiddenBrandLinkUrlsstring[]requiredSocial links (from the site's brand settings) not shown in the email footer.
derivedobjectrequiredTaken from the site's brand settings (change them with site.update_settings / site.profile.update), not editable here. logoIsIcon: the logo is an SVG icon, so emails show the store name instead.
derived.logoUrlstring | nullrequiredderived.logoIsIconbooleanrequiredderived.accentColorstringrequireddefaultFooterTextstringrequiredThe default footer used while overrides.footerText is null.
socialLinksobject[]requiredsocialLinks[].platformstringrequiredsocialLinks[].urlstringrequiredsocialLinks[].hiddenbooleanrequired
Errors
FORBIDDEN403VALIDATION400
MCP tool email_branding_update
curl -X PATCH "https://app.kanorio.com/api/v1/sites/{id}/email/branding" \
-H "Authorization: Bearer $KANORIO_TOKEN" \
-H "Content-Type: application/json" \
-d '{"logoAlign":"CENTER","hiddenBrandLinkUrls":["https://instagram.com/bakelab"]}'{
"overrides": {
"footerText": null,
"logoSize": "MEDIUM",
"logoAlign": "CENTER",
"hiddenBrandLinkUrls": [
"https://instagram.com/bakelab"
]
},
"derived": {
"logoUrl": "https://media.kanorio.com/example/sunny-bakery-hero.jpg",
"logoIsIcon": false,
"accentColor": "#B4532A"
},
"defaultFooterText": "Bake Lab · [hello@example.com](mailto:hello@example.com) · [Privacy policy](https://example.com/privacy)",
"socialLinks": [
{
"platform": "instagram",
"url": "https://instagram.com/bakelab",
"hidden": true
}
]
}Read the site's sender identity: sender name, address, reply-to, and the custom sending domain with its DNS records and verification state. Errors: FORBIDDEN.
Parameters
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
Response 200
planAllowedbooleanrequiredCustom sender name, address and domain need a plan with customer marketing; otherwise emails use fallbackFrom.
state"none" | "pending" | "failed" | "active" | "degraded"requiredSending domain: none (not set), pending (waiting for DNS), failed, active, degraded (was verified, DNS broke; campaigns paused).
domainstring | nullrequiredstatusReasonstring | nullrequiredrecordsobject[]requiredDNS records to add at the domain's DNS host (type, host, value, status).
dnsobjectrequiredkind: configured / managed (Kanorio writes the records) / owner_required (the domain owner must do it in Kanorio) / manual.
lastCheckedAtstring | nullrequiredverifiedAtstring | nullrequiredautoCheckStoppedbooleanrequiredPending for over 72 hours: automatic checks stopped; run email.sending_domain.refresh after fixing DNS.
senderNamestringrequiredsenderLocalPartstringrequiredThe part before @ in the sender address.
replyTostring | nullrequireddefaultReplyTostring | nullrequiredstoreNamestringrequiredsuggestedDomainstring | nullrequiredfallbackFromstringrequiredThe sender used while the domain is not verified.
Errors
FORBIDDEN403
MCP tool email_sender_get
curl -X GET "https://app.kanorio.com/api/v1/sites/{id}/email/sender" \
-H "Authorization: Bearer $KANORIO_TOKEN"{
"planAllowed": true,
"state": "active",
"domain": "mail.example.com",
"statusReason": null,
"records": [
{
"type": "TXT",
"host": "resend._domainkey.mail",
"fqdn": "resend._domainkey.mail.example.com",
"value": "p=MIGfMA0GCSqGSIb3DQEB…",
"status": "verified"
}
],
"dns": {
"kind": "configured",
"hostname": "example.com"
},
"lastCheckedAt": "2026-10-06T08:00:00.000Z",
"verifiedAt": "2026-10-01T02:30:00.000Z",
"autoCheckStopped": false,
"senderName": "Bake Lab",
"senderLocalPart": "hello",
"replyTo": null,
"defaultReplyTo": "owner@example.com",
"storeName": "Bake Lab",
"suggestedDomain": "example.com",
"fallbackFrom": "Bake Lab <bakelab@kanorio.email>"
}Change the sender name, the part before @ of the sender address (used once a sending domain is verified) and the reply-to address; fields you omit keep their value, an empty string goes back to the default (store name, hello, the store's contact email). Errors: FORBIDDEN, PLAN_REQUIRED, RATE_LIMITED, INVALID_LOCAL_PART, INVALID_SENDER_NAME, INVALID_REPLY_TO.
Parameters
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
Request body
senderNamestringlocalPartstringreplyTostring
Response 200
planAllowedbooleanrequiredCustom sender name, address and domain need a plan with customer marketing; otherwise emails use fallbackFrom.
state"none" | "pending" | "failed" | "active" | "degraded"requiredSending domain: none (not set), pending (waiting for DNS), failed, active, degraded (was verified, DNS broke; campaigns paused).
domainstring | nullrequiredstatusReasonstring | nullrequiredrecordsobject[]requiredDNS records to add at the domain's DNS host (type, host, value, status).
dnsobjectrequiredkind: configured / managed (Kanorio writes the records) / owner_required (the domain owner must do it in Kanorio) / manual.
lastCheckedAtstring | nullrequiredverifiedAtstring | nullrequiredautoCheckStoppedbooleanrequiredPending for over 72 hours: automatic checks stopped; run email.sending_domain.refresh after fixing DNS.
senderNamestringrequiredsenderLocalPartstringrequiredThe part before @ in the sender address.
replyTostring | nullrequireddefaultReplyTostring | nullrequiredstoreNamestringrequiredsuggestedDomainstring | nullrequiredfallbackFromstringrequiredThe sender used while the domain is not verified.
Errors
FORBIDDEN403PLAN_REQUIRED403RATE_LIMITED429INVALID_LOCAL_PART400INVALID_SENDER_NAME400INVALID_REPLY_TO400
MCP tool email_sender_update
curl -X PATCH "https://app.kanorio.com/api/v1/sites/{id}/email/sender" \
-H "Authorization: Bearer $KANORIO_TOKEN" \
-H "Content-Type: application/json" \
-d '{"senderName":"Bake Lab Taipei","replyTo":"orders@example.com"}'{
"planAllowed": true,
"state": "active",
"domain": "mail.example.com",
"statusReason": null,
"records": [
{
"type": "TXT",
"host": "resend._domainkey.mail",
"fqdn": "resend._domainkey.mail.example.com",
"value": "p=MIGfMA0GCSqGSIb3DQEB…",
"status": "verified"
}
],
"dns": {
"kind": "configured",
"hostname": "example.com"
},
"lastCheckedAt": "2026-10-06T08:00:00.000Z",
"verifiedAt": "2026-10-01T02:30:00.000Z",
"autoCheckStopped": false,
"senderName": "Bake Lab Taipei",
"senderLocalPart": "hello",
"replyTo": "orders@example.com",
"defaultReplyTo": "owner@example.com",
"storeName": "Bake Lab",
"suggestedDomain": "example.com",
"fallbackFrom": "Bake Lab <bakelab@kanorio.email>"
}Sending domain configure
/sites/{id}/email/sending-domainStart using the owner's own domain (for example mail.example.com) as the sending domain, so emails come from it instead of Kanorio's address. Returns the DNS records to add; when the domain's DNS is managed by Kanorio and belongs to this user, Kanorio adds them itself (dns.kind managed). Verification follows automatically once DNS is in place; check with email.sender.get or email.sending_domain.refresh. Errors: FORBIDDEN, PLAN_REQUIRED, RATE_LIMITED, INVALID_DOMAIN, PLATFORM_DOMAIN, PUBLIC_MAILBOX_DOMAIN (gmail.com and the like), DOMAIN_TAKEN (another Kanorio site uses it), DOMAIN_UNAVAILABLE, ALREADY_CONFIGURED (remove the current one first), CAPACITY_REACHED, NOT_CONFIGURED, PROVIDER_ERROR.
Parameters
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
Request body
domainstringrequired
Response 200
planAllowedbooleanrequiredCustom sender name, address and domain need a plan with customer marketing; otherwise emails use fallbackFrom.
state"none" | "pending" | "failed" | "active" | "degraded"requiredSending domain: none (not set), pending (waiting for DNS), failed, active, degraded (was verified, DNS broke; campaigns paused).
domainstring | nullrequiredstatusReasonstring | nullrequiredrecordsobject[]requiredDNS records to add at the domain's DNS host (type, host, value, status).
dnsobjectrequiredkind: configured / managed (Kanorio writes the records) / owner_required (the domain owner must do it in Kanorio) / manual.
lastCheckedAtstring | nullrequiredverifiedAtstring | nullrequiredautoCheckStoppedbooleanrequiredPending for over 72 hours: automatic checks stopped; run email.sending_domain.refresh after fixing DNS.
senderNamestringrequiredsenderLocalPartstringrequiredThe part before @ in the sender address.
replyTostring | nullrequireddefaultReplyTostring | nullrequiredstoreNamestringrequiredsuggestedDomainstring | nullrequiredfallbackFromstringrequiredThe sender used while the domain is not verified.
Errors
FORBIDDEN403PLAN_REQUIRED403RATE_LIMITED429INVALID_DOMAIN400PLATFORM_DOMAIN422PUBLIC_MAILBOX_DOMAIN422 · gmail.com and the likeDOMAIN_TAKEN422 · another Kanorio site uses itDOMAIN_UNAVAILABLE422ALREADY_CONFIGURED422 · remove the current one firstCAPACITY_REACHED422NOT_CONFIGURED422PROVIDER_ERROR422
MCP tool email_sending_domain_configure
curl -X PUT "https://app.kanorio.com/api/v1/sites/{id}/email/sending-domain" \
-H "Authorization: Bearer $KANORIO_TOKEN" \
-H "Content-Type: application/json" \
-d '{"domain":"mail.example.com"}'{
"planAllowed": true,
"state": "pending",
"domain": "mail.example.com",
"statusReason": null,
"records": [
{
"type": "TXT",
"host": "resend._domainkey.mail",
"fqdn": "resend._domainkey.mail.example.com",
"value": "p=MIGfMA0GCSqGSIb3DQEB…",
"status": "pending"
}
],
"dns": {
"kind": "manual"
},
"lastCheckedAt": "2026-10-06T08:00:00.000Z",
"verifiedAt": "2026-10-01T02:30:00.000Z",
"autoCheckStopped": false,
"senderName": "Bake Lab",
"senderLocalPart": "hello",
"replyTo": null,
"defaultReplyTo": "owner@example.com",
"storeName": "Bake Lab",
"suggestedDomain": "example.com",
"fallbackFrom": "Bake Lab <bakelab@kanorio.email>"
}Sending domain refresh
/sites/{id}/email/sending-domain/refreshCheck the sending domain's DNS again now (the same as Check again in the dashboard), after the owner added or fixed the records. Within a minute of the last check the previous result is returned (recentlyChecked). Errors: FORBIDDEN, PLAN_REQUIRED, RATE_LIMITED, NO_DOMAIN, NOT_CONFIGURED.
Parameters
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
Response 200
planAllowedbooleanrequiredCustom sender name, address and domain need a plan with customer marketing; otherwise emails use fallbackFrom.
state"none" | "pending" | "failed" | "active" | "degraded"requiredSending domain: none (not set), pending (waiting for DNS), failed, active, degraded (was verified, DNS broke; campaigns paused).
domainstring | nullrequiredstatusReasonstring | nullrequiredrecordsobject[]requiredDNS records to add at the domain's DNS host (type, host, value, status).
dnsobjectrequiredkind: configured / managed (Kanorio writes the records) / owner_required (the domain owner must do it in Kanorio) / manual.
lastCheckedAtstring | nullrequiredverifiedAtstring | nullrequiredautoCheckStoppedbooleanrequiredPending for over 72 hours: automatic checks stopped; run email.sending_domain.refresh after fixing DNS.
senderNamestringrequiredsenderLocalPartstringrequiredThe part before @ in the sender address.
replyTostring | nullrequireddefaultReplyTostring | nullrequiredstoreNamestringrequiredsuggestedDomainstring | nullrequiredfallbackFromstringrequiredThe sender used while the domain is not verified.
recentlyCheckedbooleanrequired
Errors
FORBIDDEN403PLAN_REQUIRED403RATE_LIMITED429NO_DOMAIN422NOT_CONFIGURED422
MCP tool email_sending_domain_refresh
curl -X POST "https://app.kanorio.com/api/v1/sites/{id}/email/sending-domain/refresh" \
-H "Authorization: Bearer $KANORIO_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'{
"planAllowed": true,
"state": "active",
"domain": "mail.example.com",
"statusReason": null,
"records": [
{
"type": "TXT",
"host": "resend._domainkey.mail",
"fqdn": "resend._domainkey.mail.example.com",
"value": "p=MIGfMA0GCSqGSIb3DQEB…",
"status": "verified"
}
],
"dns": {
"kind": "configured",
"hostname": "example.com"
},
"lastCheckedAt": "2026-10-06T08:00:00.000Z",
"verifiedAt": "2026-10-01T02:30:00.000Z",
"autoCheckStopped": false,
"senderName": "Bake Lab",
"senderLocalPart": "hello",
"replyTo": null,
"defaultReplyTo": "owner@example.com",
"storeName": "Bake Lab",
"suggestedDomain": "example.com",
"fallbackFrom": "Bake Lab <bakelab@kanorio.email>",
"recentlyChecked": false
}Sending domain remove
/sites/{id}/email/sending-domain/removeStop using the custom sending domain: emails go back to Kanorio's address (fallbackFrom) and the domain is released, so using it again means verifying DNS again. Confirm with the user first and pass confirm: true. Errors: FORBIDDEN, PLAN_REQUIRED, RATE_LIMITED, NO_DOMAIN, NOT_CONFIGURED.
Parameters
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
Request body
confirmtruerequired
Response 200
planAllowedbooleanrequiredCustom sender name, address and domain need a plan with customer marketing; otherwise emails use fallbackFrom.
state"none" | "pending" | "failed" | "active" | "degraded"requiredSending domain: none (not set), pending (waiting for DNS), failed, active, degraded (was verified, DNS broke; campaigns paused).
domainstring | nullrequiredstatusReasonstring | nullrequiredrecordsobject[]requiredDNS records to add at the domain's DNS host (type, host, value, status).
dnsobjectrequiredkind: configured / managed (Kanorio writes the records) / owner_required (the domain owner must do it in Kanorio) / manual.
lastCheckedAtstring | nullrequiredverifiedAtstring | nullrequiredautoCheckStoppedbooleanrequiredPending for over 72 hours: automatic checks stopped; run email.sending_domain.refresh after fixing DNS.
senderNamestringrequiredsenderLocalPartstringrequiredThe part before @ in the sender address.
replyTostring | nullrequireddefaultReplyTostring | nullrequiredstoreNamestringrequiredsuggestedDomainstring | nullrequiredfallbackFromstringrequiredThe sender used while the domain is not verified.
Errors
FORBIDDEN403PLAN_REQUIRED403RATE_LIMITED429NO_DOMAIN422NOT_CONFIGURED422
MCP tool email_sending_domain_remove
curl -X POST "https://app.kanorio.com/api/v1/sites/{id}/email/sending-domain/remove" \
-H "Authorization: Bearer $KANORIO_TOKEN" \
-H "Content-Type: application/json" \
-d '{"confirm":true}'{
"planAllowed": true,
"state": "none",
"domain": null,
"statusReason": null,
"records": [],
"dns": {
"kind": "configured",
"hostname": "example.com"
},
"lastCheckedAt": "2026-10-06T08:00:00.000Z",
"verifiedAt": null,
"autoCheckStopped": false,
"senderName": "Bake Lab",
"senderLocalPart": "hello",
"replyTo": null,
"defaultReplyTo": "owner@example.com",
"storeName": "Bake Lab",
"suggestedDomain": "example.com",
"fallbackFrom": "Bake Lab <bakelab@kanorio.email>"
}List what the site sent in one billing period, newest first: automatic emails to customers, campaign emails and notices to the site team, with each one's status (the dashboard's Email › Sending records). At most 30 per page. periodStart picks a period from periods (default: the current one). Filter by audience, channel, status group, or metered (only what counted toward the sending quota). Without customers:view, customers' addresses are masked and names left out. For one campaign's recipients use campaigns.list_recipients; for what automations sent, automations.log.list. Errors: FORBIDDEN, VALIDATION (periodStart is not one of periods), INVALID_CURSOR.
Parameters
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
periodStartstring · querystart of a period from periods; omit for the current period.
audience"all" | "customer" | "team" · querychannel"all" | "email" | "in_app" | "webhook" · querystatus"all" | "sent" | "undelivered" | "not_sent" | "scheduled" · querymetered"metered" | "all" · querymetered: only what counted toward the quota; all (default): everything, including what was blocked or skipped.
limitinteger · queryMaximum number of items to return, 1–30. Defaults to 30.
cursorstring · queryOpaque cursor from the previous page's nextCursor. Omit for the first page.
Response 200
dataobject[]requireddata[].idstringrequiredRecord id; pass it to email.records.get.
data[].audience"customer" | "team"requireddata[].origin"scenario" | "campaign" | "team"requiredscenario: an automatic email (order confirmation, form reply…); campaign: a campaign send; team: a notice to the site team.
data[].channel"email" | "sms" | "line" | "whatsapp" | "in_app" | "webhook"requireddata[].scenarioKeystring | nullrequiredWhich automatic email, for origin scenario.
data[].campaignobject | nullrequiredWhich campaign, for origin campaign (null when the campaign was deleted).
data[].campaign.idstringrequireddata[].campaign.namestringrequireddata[].messageTypestring | nullrequireddata[].eventKeystring | nullrequiredThe event a team notice was about.
data[].recipientstringrequiredThe customer's address (masked, a***@example.com, without customers:view) or the team member or destination name.
data[].displayStatusstringrequireddelivered, opened, clicked, bounced, skipped, scheduled…
data[].statusGroup"sent" | "undelivered" | "not_sent" | "scheduled"requireddata[].statusReasonstring | nullrequiredWhy it was not sent or not delivered, for example marketing_frequency (sending interval) or suppressed.
data[].meteredbooleanrequiredSent and counted toward the period's sending quota.
data[].atstringrequiredWhen it was sent (scheduled time for scheduled ones).
data[].contactobject | nullrequireddata[].contact.idstringrequireddata[].contact.labelstringrequiredEmpty when masked.
data[].orderIdstring | nullrequiredhasMorebooleanrequiredTrue when another page exists; pass nextCursor to fetch it.
nextCursorstring | nullrequiredCursor for the next page, or null on the last page.
periodobjectrequiredThe period these records belong to.
period.startstringrequiredperiod.endstringrequiredperiod.currentbooleanrequiredperiodsobject[]requiredPeriods you can pick with periodStart, newest first.
periods[].startstringrequiredperiods[].endstringrequiredperiods[].currentbooleanrequired
Errors
FORBIDDEN403VALIDATION400 · periodStart is not one of periodsINVALID_CURSOR400
MCP tool email_records_list
curl -X GET "https://app.kanorio.com/api/v1/sites/{id}/email/records" \
-H "Authorization: Bearer $KANORIO_TOKEN"{
"data": [
{
"id": "m:clx_record01",
"audience": "customer",
"origin": "scenario",
"channel": "email",
"scenarioKey": "order.paid",
"campaign": null,
"messageType": "order_confirmation",
"eventKey": null,
"recipient": "a***@example.com",
"displayStatus": "opened",
"statusGroup": "sent",
"statusReason": null,
"metered": true,
"at": "2026-10-06T08:00:00.000Z",
"contact": {
"id": "contact_example01",
"label": ""
},
"orderId": "order_example01"
}
],
"hasMore": false,
"nextCursor": null,
"period": {
"start": "2026-11-01T00:00:00.000Z",
"end": "2026-12-01T00:00:00.000Z",
"current": true
},
"periods": [
{
"start": "2026-11-01T00:00:00.000Z",
"end": "2026-12-01T00:00:00.000Z",
"current": true
},
{
"start": "2026-10-01T00:00:00.000Z",
"end": "2026-11-01T00:00:00.000Z",
"current": false
}
]
}Retrieve a record
/sites/{id}/email/records/{recordId}Get one sending record (id from email.records.list, campaigns.list_recipients or automations.log.list): its status, when it was created, sent or scheduled, the related order number, and the delivery events the email provider reported (delivered, opened, clicked, bounced). Customers' addresses are masked without customers:view. Errors: FORBIDDEN, RECORD_NOT_FOUND.
Parameters
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
recordIdstring · pathrequiredRecord id, for example m:clx123.
Response 200
idstringrequiredRecord id; pass it to email.records.get.
audience"customer" | "team"requiredorigin"scenario" | "campaign" | "team"requiredscenario: an automatic email (order confirmation, form reply…); campaign: a campaign send; team: a notice to the site team.
channel"email" | "sms" | "line" | "whatsapp" | "in_app" | "webhook"requiredscenarioKeystring | nullrequiredWhich automatic email, for origin scenario.
campaignobject | nullrequiredWhich campaign, for origin campaign (null when the campaign was deleted).
campaign.idstringrequiredcampaign.namestringrequiredmessageTypestring | nullrequiredeventKeystring | nullrequiredThe event a team notice was about.
recipientstringrequiredThe customer's address (masked, a***@example.com, without customers:view) or the team member or destination name.
displayStatusstringrequireddelivered, opened, clicked, bounced, skipped, scheduled…
statusGroup"sent" | "undelivered" | "not_sent" | "scheduled"requiredstatusReasonstring | nullrequiredWhy it was not sent or not delivered, for example marketing_frequency (sending interval) or suppressed.
meteredbooleanrequiredSent and counted toward the period's sending quota.
atstringrequiredWhen it was sent (scheduled time for scheduled ones).
contactobject | nullrequiredcontact.idstringrequiredcontact.labelstringrequiredEmpty when masked.
orderIdstring | nullrequiredcreatedAtstringrequiredsentAtstring | nullrequiredscheduledForstring | nullrequiredorderNumberinteger | nullrequiredeventsobject[]requiredevents[].typestringrequiredevents[].occurredAtstringrequired
Errors
FORBIDDEN403RECORD_NOT_FOUND404
MCP tool email_records_get
curl -X GET "https://app.kanorio.com/api/v1/sites/{id}/email/records/{recordId}" \
-H "Authorization: Bearer $KANORIO_TOKEN"{
"id": "m:clx_record01",
"audience": "customer",
"origin": "scenario",
"channel": "email",
"scenarioKey": "order.paid",
"campaign": null,
"messageType": "order_confirmation",
"eventKey": null,
"recipient": "a***@example.com",
"displayStatus": "opened",
"statusGroup": "sent",
"statusReason": null,
"metered": true,
"at": "2026-10-06T08:00:00.000Z",
"contact": {
"id": "contact_example01",
"label": ""
},
"orderId": "order_example01",
"createdAt": "2026-10-06T08:00:00.000Z",
"sentAt": "2026-10-06T08:00:00.000Z",
"scheduledFor": null,
"orderNumber": 1042,
"events": [
{
"type": "delivered",
"occurredAt": "2026-10-06T08:00:00.000Z"
},
{
"type": "opened",
"occurredAt": "2026-10-06T08:00:00.000Z"
}
]
}