Skip to content
Hermesmail
Docs pages

API differences

Hermesmail aims to keep request and response shapes wire-compatible with Resend across supported transactional endpoints while staying honest wherever behaviour intentionally diverges. Pair this page with Migrate to Hermesmail when planning a cut-over.

Platform-wide differences

These rules apply across the API rather than to any single route.

Requests without a User-Agent header

Hermesmail accepts API requests that omit the User-Agent header and processes them normally, storing null for user_agent in request logs. Resend's edge rejects requests without User-Agent using a non-JSON 403 block; Hermesmail does not enforce that block so minimal HTTP clients work without extra headers.

API key prefix

Hermesmail API keys begin with hm_ (followed by an eight-character lookup prefix, an underscore and the secret), whereas Resend API keys begin with re_. Validation checks for a key prefix should accept hm_.

Quota response headers

Successful send responses report team quota usage using Hermesmail-branded header names rather than Resend-branded ones:

  • Daily usage (present only on plans with a daily cap): x-hermesmail-daily-quota
  • Monthly usage: x-hermesmail-monthly-quota

See Limits for the full set of quota and rate-limit headers and error responses.

Webhook source addresses

Hermesmail webhook deliveries do not originate from a fixed list of IP addresses. Authenticate every incoming webhook by verifying the svix-id, svix-timestamp and svix-signature headers against your endpoint's whsec_ signing secret, and drop any IP allowlist that was maintained for Resend.

Operations not planned

These Resend endpoints are intentionally outside Hermesmail's scope and answer 404 not_found:

Operation Reason
POST /domains/{domain_id}/forge Hermesmail runs no mail transfer agent of its own, so this route answers 404 not_found (DOM-058).
GET /inboxes/{inbox_id}/agent AI features are outside the product (SPEC §1), so both agent routes answer 404 not_found (IBX-011).
PATCH /inboxes/{inbox_id}/agent AI features are outside the product (SPEC §1), so both agent routes answer 404 not_found (IBX-011).

Per-operation differences

Generated from our compatibility map, these entries record every schema or behavioural difference on operations that Hermesmail implements today:

POST /emails

  • body.attachments[].content: Base64 text or 0–255 byte array (EML-011).
  • body.attachments[].content[]: Byte 0–255 (EML-011).
  • body.bcc: A display name is at most 256 characters (MAX_DISPLAY_NAME_LENGTH), where upstream names no limit.
  • body.cc: A display name is at most 256 characters (MAX_DISPLAY_NAME_LENGTH), where upstream names no limit.
  • body.from: A display name is at most 256 characters (MAX_DISPLAY_NAME_LENGTH), where upstream names no limit.
  • body.headers.*: Each header value is a string with no control character but tab (ruling E3). A value is at most 2,048 characters (MAX_HEADER_VALUE_LENGTH), and all names and values together at most 32,768 (MAX_HEADERS_TOTAL_LENGTH), where upstream names no limit.
  • body.headers: A header Hermesmail or the provider writes is refused with 422 validation_error naming it, in any letter case: From, Sender, To, Cc, Bcc, Subject, Reply-To, Date, MIME-Version, Content-Type, Content-Transfer-Encoding, Content-Disposition, Content-ID, Return-Path, DKIM-Signature, Received and any name starting X-SES-; upstream publishes no such list.
  • body.reply_to: At most 50 addresses (MAX_REPLY_TO), where upstream names no limit. A display name is at most 256 characters (MAX_DISPLAY_NAME_LENGTH), where upstream names no limit.
  • body.subject: At most 998 characters (MAX_SUBJECT_LENGTH), where upstream names no limit.
  • body.tags[].name: Required in each tag, as the docs say, where upstream marks it optional (EML-010).
  • body.tags[].value: Required in each tag, as the docs say, where upstream marks it optional (EML-010).
  • body.template: Not supported yet: any value is refused with 422 naming the field (API-009, EML-018).
  • body.template.id: Not supported yet: any value is refused with 422 naming the field (API-009, EML-018).
  • body.template.variables: Not supported yet: any value is refused with 422 naming the field (API-009, EML-018).
  • body.template.variables.*: Not supported yet: any value is refused with 422 naming the field (API-009, EML-018).
  • body.to: A display name is at most 256 characters (MAX_DISPLAY_NAME_LENGTH), where upstream names no limit.
  • body.topic_id: Not supported yet: any value is refused with 422 naming the field (API-009, EML-018).
  • response.id: UUID format (API-048); always present (optional upstream).
  • body.from: Addresses follow our own strict grammar: no quoted local part, comment, group or IP literal, where upstream publishes none.
  • body.to: Addresses follow our own strict grammar: no quoted local part, comment, group or IP literal, where upstream publishes none.
  • body.cc: Addresses follow our own strict grammar: no quoted local part, comment, group or IP literal, where upstream publishes none.
  • body.bcc: Addresses follow our own strict grammar: no quoted local part, comment, group or IP literal, where upstream publishes none.
  • body.reply_to: Addresses follow our own strict grammar: no quoted local part, comment, group or IP literal, where upstream publishes none.
  • body.scheduled_at: ISO 8601 with a time zone, or one phrase of our own small grammar (such as in 10 minutes or Friday at 3:30pm ET); upstream publishes no grammar, so its phrases are unverified (ruling D4) and anything outside ours is refused with 422 rather than guessed. At most 30 days ahead.
  • body.attachments[]: An attachment with both content and path is refused with 422 invalid_attachment, where upstream does not say which one wins.
  • response: A body over 64 KiB that would take the bodies being read at once past 45 MiB answers 503 service_unavailable with retry-after: 5 before it is read (the body budget); upstream documents no such answer. A send whose attachments are given by path holds what each fetch keeps against the same budget, its declared length and then each chunk past it, and answers the same 503 when that does not fit (SEC-P4-03). A team's fetches and bodies together hold at most one largest message's raw bytes for fetches, so a request with a large inline body and a path near the message limit may answer this 503.
  • response: Usage headers are x-hermesmail-monthly-quota and, on a plan with a daily cap, x-hermesmail-daily-quota, where upstream uses its own brand in their names (API-039). An idempotent replay carries neither.
  • response: Without a key, a body too large for the route or of another content type answers 401 missing_api_key, not 413 or 415: the key is checked before the body is read (ruling D5).
  • response: Unreadable JSON answers 400 validation_error before an Idempotency-Key is looked up, so no key is claimed or replayed for it (ruling D5).

GET /emails

  • query.after: An id here is a UUID (API-048), where upstream names no format.
  • query.before: An id here is a UUID (API-048), where upstream names no format.
  • response.data: Always present (optional upstream).
  • response.data[].bcc: Always present (optional upstream).
  • response.data[].cc: Always present (optional upstream).
  • response.data[].created_at: Always present (optional upstream).
  • response.data[].from: Always present (optional upstream).
  • response.data[].html: Left out of each item, so a page reads no body (ruling D3), where upstream’s item has it; GET /emails/{email_id} returns it.
  • response.data[].id: UUID format (API-048); always present (optional upstream).
  • response.data[].last_event: Always present (optional upstream).
  • response.data[].message_id: Null until the provider accepts the message (EML-041), where upstream never marks it nullable; always present in our answer, where upstream marks it optional.
  • response.data[].object: Fixed value; always present (optional upstream).
  • response.data[].reply_to: Always present (optional upstream).
  • response.data[].scheduled_at: Sent as the docs return it, though upstream’s schema leaves it out; null for an immediate send, else a time in Postgres style (ADR 0007, EML-043), a style no live response has confirmed (ruling D4).
  • response.data[].subject: Always present (optional upstream).
  • response.data[].tags: Sent as the docs return it, though upstream’s schema leaves it out (EML-010).
  • response.data[].tags[]: Sent as the docs return it, though upstream’s schema leaves it out (EML-010).
  • response.data[].tags[].name: Sent as the docs return it, though upstream’s schema leaves it out (EML-010).
  • response.data[].tags[].value: Sent as the docs return it, though upstream’s schema leaves it out (EML-010).
  • response.data[].text: Left out of each item, so a page reads no body (ruling D3), where upstream’s item has it; GET /emails/{email_id} returns it.
  • response.data[].to: Always present (optional upstream).
  • response.has_more: Always present (optional upstream).
  • response.object: Fixed value; always present (optional upstream).

GET /emails/{email_id}

  • path.email_id: An id here is a UUID (API-048), where upstream names no format.
  • response.bcc: Always present (optional upstream).
  • response.cc: Always present (optional upstream).
  • response.created_at: Always present (optional upstream).
  • response.from: Always present (optional upstream).
  • response.html: Null when the email was sent without html, or when its file is gone (ADR 0005), where upstream never marks it nullable; always present in our answer, where upstream marks it optional.
  • response.id: UUID format (API-048); always present (optional upstream).
  • response.last_event: Always present (optional upstream).
  • response.message_id: Null until the provider accepts the message (EML-041), where upstream never marks it nullable; always present in our answer, where upstream marks it optional.
  • response.object: Fixed value; always present (optional upstream).
  • response.reply_to: Always present (optional upstream).
  • response.scheduled_at: Sent as the docs return it, though upstream’s schema leaves it out; null for an immediate send, else a time in Postgres style (ADR 0007, EML-043), a style no live response has confirmed (ruling D4).
  • response.subject: Always present (optional upstream).
  • response.tags: Sent as the docs return it, though upstream’s schema leaves it out (EML-010).
  • response.tags[]: Sent as the docs return it, though upstream’s schema leaves it out (EML-010).
  • response.tags[].name: Sent as the docs return it, though upstream’s schema leaves it out (EML-010).
  • response.tags[].value: Sent as the docs return it, though upstream’s schema leaves it out (EML-010).
  • response.text: Null when the email was sent without a text part (a part the worker made from the html is not returned), or when its file is gone (ADR 0005), where upstream never marks it nullable; always present in our answer, where upstream marks it optional.
  • response.to: Always present (optional upstream).

PATCH /emails/{email_id}

  • body.scheduled_at: The docs’ body, which upstream’s spec lacks: required, in EML-016’s formats, at most 30 days from now; a time at or before now sends the email at once.
  • path.email_id: An id here is a UUID (API-048), where upstream names no format.
  • response.id: Sent as the docs show the answer, {object, id}, though upstream’s schema leaves it out.
  • response.object: Sent as the docs show the answer, {object, id}, though upstream’s schema leaves it out.
  • response.scheduled_at: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s scheduled_at.

POST /emails/{email_id}/cancel

  • path.email_id: An id here is a UUID (API-048), where upstream names no format.
  • response.bcc: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s bcc.
  • response.bcc[]: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s bcc.
  • response.cc: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s cc.
  • response.cc[]: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s cc.
  • response.created_at: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s created_at.
  • response.from: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s from.
  • response.html: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s html.
  • response.id: UUID format (API-048); always present (optional upstream).
  • response.last_event: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s last_event.
  • response.message_id: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s message_id.
  • response.object: Fixed value; always present (optional upstream).
  • response.reply_to: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s reply_to.
  • response.reply_to[]: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s reply_to.
  • response.subject: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s subject.
  • response.text: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s text.
  • response.to: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s to.
  • response.to[]: Left out: the answer is {object, id}, as the docs show it, where upstream’s schema has the email’s to.

POST /emails/batch

  • body[].attachments: Refused on every item (EML-033), as the docs and the Node SDK's types say, though upstream's schema allows it: a strict batch answers 422 naming the item, a permissive one lists the item in errors.
  • body[].attachments[].content: Refused (EML-033).
  • body[].attachments[].content[]: Refused (EML-033).
  • body[].headers.*: Accepted on each item as POST /emails takes it (EML-034), though upstream's batch schema leaves it out; the same rules and caps apply. A reserved header is refused on an item as on POST /emails.
  • body[].subject: At most 998 characters (MAX_SUBJECT_LENGTH), as on POST /emails, where upstream names no limit.
  • body[].tags[].name: Required in each tag, as the docs say, where upstream marks it optional (EML-010).
  • body[].tags[].value: Required in each tag, as the docs say, where upstream marks it optional (EML-010).
  • body[].template: Not supported yet: any value is refused with 422 naming the field (API-009, EML-018).
  • body[].template.id: Not supported yet: any value is refused with 422 naming the field (API-009, EML-018).
  • body[].template.variables: Not supported yet: any value is refused with 422 naming the field (API-009, EML-018).
  • body[].template.variables.*: Not supported yet: any value is refused with 422 naming the field (API-009, EML-018).
  • body[].topic_id: Not supported yet: any value is refused with 422 naming the field (API-009, EML-018).
  • response.data: Always present (optional upstream).
  • response.data[].id: UUID format (API-048); always present (optional upstream).
  • response.errors: Permissive mode only (x-batch-validation: permissive, EML-032): each skipped item's 0-based index and why. A strict answer has no errors key. data lists only the stored emails, with no placeholder for a skipped one.
  • response.errors[]: One skipped item (EML-032).
  • response.errors[].index: The skipped item's 0-based index in the request.
  • response.errors[].message: Why the item was skipped, in the words POST /emails would use for it.
  • body[].from: Addresses follow our own strict grammar: no quoted local part, comment, group or IP literal, where upstream publishes none.
  • body[].from: A display name is at most 256 characters (MAX_DISPLAY_NAME_LENGTH), where upstream names no limit.
  • body[].to: Addresses follow our own strict grammar: no quoted local part, comment, group or IP literal, where upstream publishes none.
  • body[].to: A display name is at most 256 characters (MAX_DISPLAY_NAME_LENGTH), where upstream names no limit.
  • body[].cc: Addresses follow our own strict grammar: no quoted local part, comment, group or IP literal, where upstream publishes none.
  • body[].cc: A display name is at most 256 characters (MAX_DISPLAY_NAME_LENGTH), where upstream names no limit.
  • body[].bcc: Addresses follow our own strict grammar: no quoted local part, comment, group or IP literal, where upstream publishes none.
  • body[].bcc: A display name is at most 256 characters (MAX_DISPLAY_NAME_LENGTH), where upstream names no limit.
  • body[].reply_to: Addresses follow our own strict grammar: no quoted local part, comment, group or IP literal, where upstream publishes none.
  • body[].reply_to: A display name is at most 256 characters (MAX_DISPLAY_NAME_LENGTH), where upstream names no limit.
  • body[].reply_to: At most 50 addresses (MAX_REPLY_TO), as on POST /emails, where upstream names no limit.
  • body[].scheduled_at: Each item's own scheduled_at is kept: that email starts scheduled and the rest queued (EML-034). ISO 8601 with a time zone, or one phrase of our own small grammar (such as in 10 minutes or Friday at 3:30pm ET); upstream publishes no grammar, so its phrases are unverified (ruling D4) and anything outside ours is refused with 422 rather than guessed. At most 30 days ahead.
  • response: Usage headers are x-hermesmail-monthly-quota and, on a plan with a daily cap, x-hermesmail-daily-quota, where upstream uses its own brand in their names (API-039). An idempotent replay carries neither.
  • response: A body over 64 KiB that would take the bodies being read at once past 45 MiB answers 503 service_unavailable with retry-after: 5 before it is read (the body budget); upstream documents no such answer.
  • response: Without a key, a body too large for the route or of another content type answers 401 missing_api_key, not 413 or 415: the key is checked before the body is read (ruling D5).
  • response: Unreadable JSON answers 400 validation_error before an Idempotency-Key is looked up, so no key is claimed or replayed for it (ruling D5).

GET /emails/{email_id}/attachments

  • response.data: Always present (optional upstream).
  • response.data[].content_disposition: inline or attachment, never null: every stored attachment has one (EML-013). Always present in our answer, where upstream marks it optional.
  • response.data[].content_id: Null for an attachment that is not inline, where upstream's type is a string that is never null. Always present in our answer, where upstream marks it optional.
  • response.data[].content_type: Always present (optional upstream).
  • response.data[].download_url: A link on the API host, GET /attachments/{attachment_id}/content with team, expires and signature, signed for one hour and fetched without a key (ADR 0018 decision 12). Always present in our answer, where upstream marks it optional.
  • response.data[].expires_at: One hour after the answer, in whole seconds. Always present in our answer, where upstream marks it optional.
  • response.data[].filename: Never null: an attachment sent without a name is reported as attachment-<n>.bin, the name its message gave it. Always present in our answer, where upstream marks it optional.
  • response.data[].id: Always present (optional upstream).
  • response.data[].size: Null while a scheduled attachment given by path has not been fetched yet. Always present in our answer, where upstream marks it optional.
  • response.has_more: Always present (optional upstream).
  • response.object: Fixed value; always present (optional upstream).

GET /emails/{email_id}/attachments/{attachment_id}

  • response.content_disposition: inline or attachment, never null: every stored attachment has one (EML-013). Always present in our answer, where upstream marks it optional.
  • response.content_id: Null for an attachment that is not inline, where upstream's type is a string that is never null. Always present in our answer, where upstream marks it optional.
  • response.content_type: Always present (optional upstream).
  • response.download_url: A link on the API host, GET /attachments/{attachment_id}/content with team, expires and signature, signed for one hour and fetched without a key (ADR 0018 decision 12). Always present in our answer, where upstream marks it optional.
  • response.expires_at: One hour after the answer, in whole seconds. Always present in our answer, where upstream marks it optional.
  • response.filename: Never null: an attachment sent without a name is reported as attachment-<n>.bin, the name its message gave it. Always present in our answer, where upstream marks it optional.
  • response.id: Always present (optional upstream).
  • response.object: Fixed value; always present (optional upstream).
  • response.size: Null while a scheduled attachment given by path has not been fetched yet. Always present in our answer, where upstream marks it optional.

GET /emails/metrics

  • query.broadcast_id: Not supported yet: any value is refused with 422 validation_error.
  • query.dimensions: email and broadcast are refused with 422 validation_error; only period and domain are supported.
  • query.email_id: Not supported yet: any value is refused with 422 validation_error.
  • query.granularity: hourly is refused with 422 validation_error when the range starts before hourly rollup retention.
  • response.data[].broadcast_id: Left out of each item: broadcast dimension is not supported yet.
  • response.data[].broadcast_name: Left out of each item: broadcast dimension is not supported yet.
  • response.data[].email_id: Left out of each item: email dimension is not supported yet.
  • response.dimensions: Always present (optional upstream).
  • response.dimensions[]: Only period and domain are returned.
  • response.end_date: ISO 8601 date-time format; always present.
  • response.granularity: Always present (optional upstream).
  • response.metrics: Always present (optional upstream).
  • response.metrics[]: Limited to the 22 documented metric names.
  • response.object: Fixed value "metrics"; always present.
  • response.start_date: ISO 8601 date-time format; always present.
  • response.totals: Always present. Uncounted metrics (opened, clicked, unsubscribed, received, unique_opened, unique_clicked, and their rates) return 0; bounce_rate counts permanent bounces over sent.

POST /domains

  • body.capabilities.receiving: enabled is refused with 422 validation_error until receiving is built (DOM-047).
  • body.capabilities.sending: disabled is refused with 422 validation_error while receiving is disabled, since one capability must be enabled (DOM-046).
  • body.click_tracking: Only false is taken until tracking is built; true is refused with 422 validation_error (DOM-048).
  • body.custom_return_path: Stored and returned in lower case; 2 to 63 letters, digits and hyphens, a letter first and no hyphen last, or 422 validation_error naming the field (DOM-010).
  • body.open_tracking: Only false is taken until tracking is built; true is refused with 422 validation_error (DOM-048).
  • body.region: A free string that must equal the configured sending region (AWS_REGION), or 422 validation_error naming that region, where upstream offers four codes (DOM-009). While no region is configured the route answers 503 service_unavailable.
  • body.tracking_subdomain: Any value is refused with 422 validation_error until tracking is built (DOM-048).
  • response.capabilities: Always present (optional upstream).
  • response.capabilities.receiving: Always present (optional upstream).
  • response.capabilities.sending: Always present (optional upstream).
  • response.click_tracking: Always present (optional upstream).
  • response.created_at: Always present (optional upstream).
  • response.id: UUID format (API-048); always present (optional upstream).
  • response.name: Always present in our answer, where upstream marks it optional. The name as stored: lower case, without a trailing dot, in punycode for a Unicode name.
  • response.open_tracking: Always present (optional upstream).
  • response.records: Always present (optional upstream).
  • response.records[].name: Always present (optional upstream).
  • response.records[].record: Always present (optional upstream).
  • response.records[].status: Always present (optional upstream).
  • response.records[].ttl: Always present (optional upstream).
  • response.records[].type: Always present (optional upstream).
  • response.records[].value: Always present (optional upstream).
  • response.region: The configured sending region (AWS_REGION), a free string that may be a region upstream does not offer. Always present in our answer, where upstream marks it optional.
  • response.status: Also temporary_failure, which a verified domain takes while records that stopped resolving are checked again (DOM-033), where upstream lists that value for records only; always present in our answer, where upstream marks it optional.

GET /domains

  • query.after: An id here is a UUID (API-048), where upstream names no format. Without limit a well-formed cursor is ignored (API-047); a malformed one, or after with before, still answers 422 validation_error.
  • query.before: An id here is a UUID (API-048), where upstream names no format. Without limit a well-formed cursor is ignored (API-047); a malformed one, or after with before, still answers 422 validation_error.
  • response.data: Always present (optional upstream).
  • response.data[].capabilities: Always present (optional upstream).
  • response.data[].capabilities.receiving: Always present (optional upstream).
  • response.data[].capabilities.sending: Always present (optional upstream).
  • response.data[].click_tracking: Always present (optional upstream).
  • response.data[].created_at: Always present (optional upstream).
  • response.data[].id: UUID format (API-048); always present (optional upstream).
  • response.data[].name: Always present (optional upstream).
  • response.data[].open_tracking: Always present (optional upstream).
  • response.data[].region: The configured sending region (AWS_REGION), a free string that may be a region upstream does not offer; a domain made before regions were stored shows the configured one. Always present in our answer, where upstream marks it optional.
  • response.data[].status: Also temporary_failure, which a verified domain takes while records that stopped resolving are checked again (DOM-033), where upstream lists that value for records only; always present in our answer, where upstream marks it optional.
  • response.has_more: Always present (optional upstream).
  • response.object: Fixed value; always present (optional upstream).

GET /domains/{domain_id}

  • path.domain_id: An id here is a UUID (API-048), where upstream names no format.
  • response.capabilities: Always present (optional upstream).
  • response.capabilities.receiving: Always present (optional upstream).
  • response.capabilities.sending: Always present (optional upstream).
  • response.click_tracking: Always present (optional upstream).
  • response.created_at: Always present (optional upstream).
  • response.id: UUID format (API-048); always present (optional upstream).
  • response.name: Always present (optional upstream).
  • response.object: Fixed value; always present (optional upstream).
  • response.open_tracking: Always present (optional upstream).
  • response.records: Always present (optional upstream).
  • response.records[].name: Always present (optional upstream).
  • response.records[].record: Receiving names the inbound MX record, which upstream's documentation calls Receiving MX; none is served until receiving exists (DOM-047). Always present in our answer, where upstream marks it optional.
  • response.records[].status: Always present (optional upstream).
  • response.records[].ttl: Always present (optional upstream).
  • response.records[].type: Always present (optional upstream).
  • response.records[].value: Always present (optional upstream).
  • response.region: The configured sending region (AWS_REGION), a free string that may be a region upstream does not offer; a domain made before regions were stored shows the configured one. Always present in our answer, where upstream marks it optional.
  • response.status: Also temporary_failure, which a verified domain takes while records that stopped resolving are checked again (DOM-033), where upstream lists that value for records only; always present in our answer, where upstream marks it optional.
  • response.tls: Ours only: the domain's TLS mode (DOM-045), opportunistic or enforced, which upstream takes on create and update but does not return.

PATCH /domains/{domain_id}

  • body.capabilities.receiving: enabled is refused with 422 validation_error until receiving is built (DOM-047).
  • body.capabilities.sending: disabled is refused with 422 validation_error while receiving is disabled, since one capability must stay enabled (DOM-046).
  • body.click_tracking: Only false is taken until tracking is built; true is refused with 422 validation_error (DOM-048).
  • body.custom_return_path: Ours only: refused with 422 validation_error naming the field, because a domain's return path is fixed when it is created (DOM-005).
  • body.name: Ours only: refused with 422 validation_error naming the field, because a domain's name is fixed when it is created (DOM-005).
  • body.open_tracking: Only false is taken until tracking is built; true is refused with 422 validation_error (DOM-048).
  • body.region: Ours only: refused with 422 validation_error naming the field, because a domain's region is fixed when it is created (DOM-005).
  • body.tls: A string that is not opportunistic or enforced, in that spelling, is refused with 422 validation_error; the change applies to the team's sends handed to the provider after it (DOM-045).
  • body.tracking_subdomain: Any value is refused with 422 validation_error until tracking is built (DOM-048).
  • path.domain_id: An id here is a UUID (API-048), where upstream names no format. A domain row another request holds longer than the 2-second lock wait answers 409 resource_locked (API-032).
  • response.id: UUID format (API-048); always present (optional upstream).
  • response.object: Fixed value; always present (optional upstream).

DELETE /domains/{domain_id}

  • path.domain_id: An id here is a UUID (API-048), where upstream names no format.
  • response.deleted: Fixed value; always present (optional upstream).
  • response.id: UUID format (API-048); always present (optional upstream).
  • response.object: Fixed value; always present (optional upstream).

POST /domains/{domain_id}/verify

  • body.scope: Refused with 422 validation_error: Forge is not offered, so every record is checked (DOM-006, DOM-058).
  • body.scope[]: Refused with 422 validation_error: Forge is not offered, so every record is checked (DOM-006, DOM-058).
  • path.domain_id: An id here is a UUID (API-048), where upstream names no format. A domain row another request holds longer than the 2-second lock wait answers 409 resource_locked (API-032).
  • response.id: UUID format (API-048); always present (optional upstream).
  • response.object: Fixed value; always present (optional upstream).

POST /api-keys

  • body.domain_id: An id here is a UUID (API-048), where upstream names no format.
  • response.id: UUID format (API-048); always present (optional upstream).
  • response.object: Sent by us as the docs show it, though upstream's schema leaves it out (KEY-001).
  • response.token: Always present (optional upstream).

GET /api-keys

  • query.after: An id here is a UUID (API-048), where upstream names no format.
  • query.before: An id here is a UUID (API-048), where upstream names no format.
  • response.data: Always present (optional upstream).
  • response.data[].created_at: Always present (optional upstream).
  • response.data[].id: UUID format (API-048); always present (optional upstream).
  • response.data[].last_used_at: Always present (optional upstream).
  • response.data[].name: Always present (optional upstream).
  • response.has_more: Always present (optional upstream).
  • response.object: Fixed value; always present (optional upstream).

PATCH /api-keys/{api_key_id}

  • path.api_key_id: An id here is a UUID (API-048), where upstream names no format.
  • response.id: UUID format (API-048); always present (optional upstream).
  • response.object: Fixed value; always present (optional upstream).

DELETE /api-keys/{api_key_id}

  • path.api_key_id: An id here is a UUID (API-048), where upstream names no format.
  • response.deleted: Fixed value; always present (optional upstream).
  • response.id: UUID format (API-048); always present (optional upstream).
  • response.object: Fixed value; always present (optional upstream).
  • path.api_key_id: GET on this path, which upstream does not document, answers 405 method_not_allowed with allow: DELETE, PATCH (API-028), not 404.

POST /webhooks

  • body.endpoint: Must be an absolute https URL (default port unless configured in development) on a public address, at most 2,048 characters, with no credentials, fragment or our own host; stored and returned normalised as URL.href (WHK-002).
  • body.events: Accepts null for all events (including future types), where upstream's request schema takes only an array of strings; duplicates are removed and entries are stored in registry order (WHK-003).
  • response.id: Always present (optional upstream).
  • response.object: Fixed value; always present (optional upstream).
  • response.signing_secret: Always present (optional upstream).

PATCH /webhooks/{webhook_id}

  • body.endpoint: Must be an absolute https URL (default port unless configured in development) on a public address, at most 2,048 characters, with no credentials, fragment or our own host; stored and returned normalised as URL.href (WHK-002).
  • body.events: Accepts null for all events (including future types), where upstream's request schema takes only an array of strings; duplicates are removed and entries are stored in registry order (WHK-003).
  • response.id: Always present (optional upstream).
  • response.object: Fixed value; always present (optional upstream).