ASAP · Schema

EmailMessageView

One journal entry, as served by the list and detail endpoints. The rendered bodies are deliberately absent: they are large, they hold recipient PII, and a listing has no use for them. `has_body` tells a client whether `GET /v1/emails/{id}/preview` will return something.

FreelanceBillingCRMProductivity

Properties

Name Type Description
booking_id stringnull Linked calendar booking.
contact_id stringnull Linked contact.
created_at string When the entry was opened (the listing's sort key), RFC 3339.
delivered_at stringnull When the provider confirmed delivery, RFC 3339.
document_id stringnull Linked invoice document.
envelope_id stringnull Linked signature envelope.
failure_reason stringnull Why the dispatch failed, when it did.
has_body boolean Whether the stored bodies are still available for preview (they are dropped by the retention purge).
id string Journal entry id.
locale string Interface-chrome locale the message was rendered with.
provider_message_id stringnull Provider message id — the support handle for a delivery investigation.
reply_to stringnull `Reply-To`, when the send overrode it.
sender_name stringnull `From` display name, when the send overrode it.
sent_at stringnull When the provider accepted the message, RFC 3339.
status string Lifecycle status (`queued`/`sent`/`delivered`/`bounced`/…).
subject string Rendered subject.
template string Render-template discriminator (`quote_sent`, `reminder`, …).
to_email string Recipient address.
View JSON Schema on GitHub

JSON Schema

asap-cool-email-message-view-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-email-message-view-schema.json",
  "title": "EmailMessageView",
  "description": "One journal entry, as served by the list and detail endpoints.\n\nThe rendered bodies are deliberately absent: they are large, they hold\nrecipient PII, and a listing has no use for them. `has_body` tells a client\nwhether `GET /v1/emails/{id}/preview` will return something.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asap-cool-emails-api-openapi.yml#/components/schemas/EmailMessageView",
  "type": "object",
  "required": [
    "id",
    "template",
    "status",
    "to_email",
    "subject",
    "locale",
    "has_body",
    "created_at"
  ],
  "properties": {
    "booking_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Linked calendar booking."
    },
    "contact_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Linked contact."
    },
    "created_at": {
      "type": "string",
      "description": "When the entry was opened (the listing's sort key), RFC 3339."
    },
    "delivered_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When the provider confirmed delivery, RFC 3339."
    },
    "document_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Linked invoice document."
    },
    "envelope_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Linked signature envelope."
    },
    "failure_reason": {
      "type": [
        "string",
        "null"
      ],
      "description": "Why the dispatch failed, when it did."
    },
    "has_body": {
      "type": "boolean",
      "description": "Whether the stored bodies are still available for preview (they are\ndropped by the retention purge)."
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Journal entry id."
    },
    "locale": {
      "type": "string",
      "description": "Interface-chrome locale the message was rendered with."
    },
    "provider_message_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Provider message id — the support handle for a delivery investigation."
    },
    "reply_to": {
      "type": [
        "string",
        "null"
      ],
      "description": "`Reply-To`, when the send overrode it."
    },
    "sender_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "`From` display name, when the send overrode it."
    },
    "sent_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When the provider accepted the message, RFC 3339."
    },
    "status": {
      "type": "string",
      "description": "Lifecycle status (`queued`/`sent`/`delivered`/`bounced`/…)."
    },
    "subject": {
      "type": "string",
      "description": "Rendered subject."
    },
    "template": {
      "type": "string",
      "description": "Render-template discriminator (`quote_sent`, `reminder`, …)."
    },
    "to_email": {
      "type": "string",
      "description": "Recipient address."
    }
  }
}

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/asap-cool-email-message-view"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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