APISign · Schema

Contract

E-SignatureArtificial IntelligenceMCPContractsDeveloper Platform

Properties

Name Type Description
id string
created_at string
updated_at string
status object
org_id string
sent_at stringnull
expires_at stringnull Creation time plus expires_in_days. Signing links stop working after this.
cancelled_at stringnull
name string
content object
fields object
template_id stringnull
final_pdf string URL of the signed PDF; empty string until every signer has signed
metadata object
test_mode boolean
seal_document_hash stringnull
seal_created_at stringnull
seal_certificate_serial stringnull
View JSON Schema on GitHub

JSON Schema

apisign-io-contract-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apisign-io/json-schema/apisign-io-contract-schema.json",
  "title": "Contract",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apisign-io-openapi.yml#/components/schemas/Contract",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "status": {
      "$ref": "#/$defs/ContractStatus"
    },
    "org_id": {
      "type": "string"
    },
    "sent_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Creation time plus expires_in_days. Signing links stop working after this."
    },
    "cancelled_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "name": {
      "type": "string"
    },
    "content": {
      "type": "object",
      "properties": {
        "markdown": {
          "type": "string"
        }
      }
    },
    "fields": {
      "$ref": "#/$defs/StoredFields"
    },
    "template_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "final_pdf": {
      "type": "string",
      "description": "URL of the signed PDF; empty string until every signer has signed"
    },
    "metadata": {
      "type": "object"
    },
    "test_mode": {
      "type": "boolean"
    },
    "seal_document_hash": {
      "type": [
        "string",
        "null"
      ]
    },
    "seal_created_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "seal_certificate_serial": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$defs": {
    "ContractStatus": {
      "type": "string",
      "enum": [
        "draft",
        "queued",
        "sent",
        "signed",
        "cancelled",
        "expired"
      ],
      "description": "`queued` is not set by any endpoint. `expired` is not currently set automatically: a contract past `expires_at` stays `sent`."
    },
    "FieldDefinition": {
      "type": "object",
      "required": [
        "name",
        "type",
        "completedBy"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "Variable name without braces"
        },
        "type": {
          "type": "string",
          "description": "signature, initials, signer_name, timestamp, text, email, phone or date"
        },
        "completedBy": {
          "type": "string",
          "enum": [
            "signer",
            "creator"
          ]
        },
        "label": {
          "type": "string",
          "description": "Prompt shown for a text field"
        }
      }
    },
    "StoredFields": {
      "type": [
        "object",
        "null"
      ],
      "description": "Field data as stored on a contract or template",
      "properties": {
        "fields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FieldDefinition"
          }
        },
        "signers": {
          "type": "array",
          "description": "Per-signer field assignments, matched to signers by signing_order",
          "items": {
            "type": "object",
            "properties": {
              "signing_order": {
                "type": "integer"
              },
              "signerFields": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}

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/apisign-io-contract"
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.