Testmail · Schema

InboxResponse

Response envelope for the Testmail JSON API inbox query.

Email TestingDeveloper ToolsAPI TestingGraphQLREST APICI/CDQA AutomationProgrammable Inboxes

Properties

Name Type Description
result string Indicates whether the API call succeeded.
message stringnull Human-readable message. Null on success; populated with error detail on failure.
count integer Total number of emails matching the query before pagination is applied.
limit integer Maximum number of emails returned per request as specified in the request.
offset integer Number of emails skipped for pagination as specified in the request.
emails array Array of email objects matching the query.
View JSON Schema on GitHub

JSON Schema

inbox-response.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.testmail.app/schemas/inbox-response",
  "title": "InboxResponse",
  "description": "Response envelope for the Testmail JSON API inbox query.",
  "type": "object",
  "required": ["result", "count", "limit", "offset", "emails"],
  "properties": {
    "result": {
      "type": "string",
      "enum": ["success", "fail"],
      "description": "Indicates whether the API call succeeded.",
      "examples": ["success"]
    },
    "message": {
      "type": ["string", "null"],
      "description": "Human-readable message. Null on success; populated with error detail on failure.",
      "examples": [null, "Missing required parameter: namespace"]
    },
    "count": {
      "type": "integer",
      "minimum": 0,
      "description": "Total number of emails matching the query before pagination is applied.",
      "examples": [3]
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "Maximum number of emails returned per request as specified in the request.",
      "examples": [10]
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of emails skipped for pagination as specified in the request.",
      "examples": [0]
    },
    "emails": {
      "type": "array",
      "description": "Array of email objects matching the query.",
      "items": {
        "$ref": "email.json"
      }
    }
  }
}

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/inbox-response"
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 email required.

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