Resend · Schema

Resend Email

JSON Schema for a Resend email object as returned by the /emails/{id} endpoint.

EmailDeveloper ToolsTransactional EmailMarketing Email

Properties

Name Type Description
object string The type of object.
id string The ID of the email.
to array The email addresses of the recipients.
from string The email address of the sender.
created_at string The date and time the email was created.
subject string The subject line of the email.
html stringnull The HTML body of the email.
text stringnull The plain text body of the email.
bcc arraynull Blind carbon copy recipients.
cc arraynull Carbon copy recipients.
reply_to arraynull Reply-to addresses.
last_event string The status of the email.
View JSON Schema on GitHub

JSON Schema

resend-email-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/resend/json-schema/resend-email-schema.json",
  "title": "Resend Email",
  "description": "JSON Schema for a Resend email object as returned by the /emails/{id} endpoint.",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "const": "email",
      "description": "The type of object."
    },
    "id": {
      "type": "string",
      "description": "The ID of the email.",
      "example": "4ef9a417-02e9-4d39-ad75-9611e0fcc33c"
    },
    "to": {
      "type": "array",
      "items": { "type": "string" },
      "description": "The email addresses of the recipients."
    },
    "from": {
      "type": "string",
      "description": "The email address of the sender.",
      "example": "Acme <onboarding@resend.dev>"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the email was created."
    },
    "subject": {
      "type": "string",
      "description": "The subject line of the email."
    },
    "html": {
      "type": ["string", "null"],
      "description": "The HTML body of the email."
    },
    "text": {
      "type": ["string", "null"],
      "description": "The plain text body of the email."
    },
    "bcc": {
      "type": ["array", "null"],
      "items": { "type": "string" },
      "description": "Blind carbon copy recipients."
    },
    "cc": {
      "type": ["array", "null"],
      "items": { "type": "string" },
      "description": "Carbon copy recipients."
    },
    "reply_to": {
      "type": ["array", "null"],
      "items": { "type": "string" },
      "description": "Reply-to addresses."
    },
    "last_event": {
      "type": "string",
      "description": "The status of the email.",
      "example": "delivered"
    }
  },
  "required": ["id", "from", "to", "subject", "created_at"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/resend-email"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.