Terminal49 Document Schemas API

The Document Schemas API from Terminal49 — 1 operation(s) for document schemas.

GitHub OpenAPI

Operations 1

GET /document_schemas/{id} Get a document schema #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/terminal49:terminal49-document-schemas-api"
All apis
curl "https://apis.io/api/v1/apis?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. See our Privacy Policy and Terms.

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

OpenAPI Specification

terminal49-document-schemas-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Terminal49 API Reference Document Schemas API
  version: 0.2.0
  contact:
    name: Terminal49 API support
    url: https://www.terminal49.com
    email: support@terminal49.com
  description: 'The Terminal 49 API offers a convenient way to programmatically track your shipments from origin to destination.


    Please enter your API key into the "Variables" tab before using these endpoints within Postman.'
  x-label: Beta
  termsOfService: https://www.terminal49.com/terms
  x-synced-from: https://terminal49.com/docs/openapi.json
  x-synced-at: '2026-08-24T18:47:48.161Z'
servers:
- url: https://api.terminal49.com/v2
  description: Production
security:
- authorization: []
tags:
- name: Document Schemas
paths:
  /document_schemas/{id}:
    get:
      summary: Get a document schema
      tags:
      - Document Schemas
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
        description: Schema id in full-version format, e.g. commercial_invoice@2026-03-23.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/document_schema'
                  links:
                    $ref: '#/components/schemas/link-self'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      $ref: '#/components/schemas/error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      $ref: '#/components/schemas/error'
              examples:
                schema_not_found:
                  summary: Document schema not found
                  value:
                    errors:
                    - status: '404'
                      title: Not Found
                      detail: Couldn't find DocumentSchema with 'id'=unknown@2026-03-23
      operationId: get-document_schemas-id
components:
  schemas:
    link-self:
      title: link
      type: object
      properties:
        self:
          type: string
          format: uri
    error:
      title: Error model
      type: object
      properties:
        detail:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        source:
          type:
          - object
          - 'null'
          properties:
            pointer:
              type:
              - string
              - 'null'
            parameter:
              type:
              - string
              - 'null'
        code:
          type:
          - string
          - 'null'
        status:
          type:
          - string
          - 'null'
        meta:
          type:
          - object
          - 'null'
          additionalProperties: true
      required:
      - title
    document_schema:
      title: Document Schema
      type: object
      properties:
        id:
          type: string
        type:
          type: string
          enum:
          - document_schema
        attributes:
          type: object
          properties:
            document_type:
              type: string
              description: Document type this schema applies to (for example, commercial_invoice).
            label:
              type: string
              description: Human-readable label for the document type.
            schema_version:
              type: string
              description: Public schema version identifier.
            full_version:
              type: string
              description: Fully-qualified schema version id (for example, commercial_invoice@2026-03-23).
            current:
              type: boolean
              description: Whether this schema version is currently active.
            draft:
              type: boolean
              description: Whether this schema version is marked as draft.
            active_at:
              type:
              - string
              - 'null'
              format: date-time
              description: Timestamp when this schema version became active.
            schema_format:
              type: string
              enum:
              - json_schema
              description: Schema payload format.
            description:
              type:
              - string
              - 'null'
              description: Optional notes describing this schema.
            schema_payload:
              type: object
              additionalProperties: true
              description: JSON Schema payload used to validate and describe extracted fields.
            created_at:
              type: string
              format: date-time
              description: When this schema record was created.
            updated_at:
              type: string
              format: date-time
              description: When this schema record was last updated.
        links:
          type: object
          properties:
            self:
              type: string
      required:
      - id
      - type
  securitySchemes:
    authorization:
      name: Authorization
      type: apiKey
      in: header
      description: 'Use a Terminal49 API key in the `Authorization` header with the `Token` prefix.


        `Authorization: Token YOUR_API_KEY`'
x-tagGroups:
- name: End Points
  tags:
  - Shipments
  - Containers
  - Custom Field Definitions
  - Custom Field Options
  - Custom Fields
  - Tracking Requests
  - Webhooks
  - Webhook Notifications
  - Metro Areas
  - Documents
  - Email Submissions
  - Document Schemas
  - Search
- name: Routing (Paid)
  tags:
  - Routing (Paid)