Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| mailbox_id | string | |
| status | string | |
| to | object | |
| subject | string | |
| text | string | |
| reply_to_message_id | object | |
| requires_human | boolean | |
| thread_id | string | |
| created_at | string | |
| updated_at | string | |
| attachments | array | Metadata only — file bytes are not returned. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/postfleet-ai/json-schema/postfleet-ai-draft-schema.json",
"title": "Draft",
"x-generated": "2026-11-21",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/postfleet-ai-openapi.json#/components/schemas/Draft",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"mailbox_id": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"draft",
"pending_approval",
"sending",
"sent",
"rejected"
]
},
"to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"subject": {
"type": "string"
},
"text": {
"type": "string"
},
"reply_to_message_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"requires_human": {
"type": "boolean"
},
"thread_id": {
"type": "string"
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"attachments": {
"description": "Metadata only — file bytes are not returned.",
"type": "array",
"items": {
"type": "object",
"properties": {
"filename": {
"type": "string"
},
"content_type": {
"type": "string"
},
"size_bytes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"url": {
"description": "Present when the draft stored a URL-backed attachment. Bytes are never returned.",
"type": "string"
}
},
"required": [
"filename",
"content_type",
"size_bytes"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"mailbox_id",
"status",
"subject",
"text",
"requires_human",
"thread_id",
"created_at",
"updated_at"
],
"additionalProperties": false
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/postfleet-ai-draft"
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.