ChainTraced Certificate Templates API

Transaction Template API. A Certificate Template in this API is a Transaction template in the ChainTraced app. A template ID is set as `lotApprovalTemplateId` on a product to make it the default template for Transactions created for that product.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /v2/certificate-templates/ Fetch a list of Transaction templates (Certificate Templates) #

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/chaintraced:chaintraced-certificate-templates-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. 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.

OpenAPI Specification

chaintraced-certificate-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'This is the second version of the OpenAPI for ChainTraced.


    **Terminology**: the documents that suppliers and customers exchange are called **Transactions** in the ChainTraced app. What this API calls a *Certificate* is a Transaction: type `LOT_APPROVAL` is a **Lot Transaction** and type `PART_APPROVAL` (a *Part Approval*) is a **Product Transaction**. Endpoint paths, event types, HTTP headers and payload field names keep their existing names for backwards compatibility.


    **Direction**: the endpoints are split by the direction of the Transaction as seen from your company. An **Inbound** Transaction is one that you, as the customer, *request* from a supplier. An **Outbound** Transaction is one that you, as the supplier, *submit* to a customer. The `counterparty` in a payload is therefore the supplier for inbound and the customer for outbound Transactions.


    v2 of the OpenAPI will continuously be updated with new features and improvements without breaking backwards compatibility. For example, new endpoints and fields on request/response payloads might be added as we add new functionality to our platform.


    **Information about Rate-limiting**: If you make too many requests in a short amount of time you will hit our Rate-limiter. When this happens, you receive an HTTP response with status code `429` and the following headers.

    * `Retry-After`: The amount of time in seconds you need to wait before attempting another request. This is a standard HTTP header, see RFC-9110. Example: `1`

    * `X-Rate-Limit-Limit`: The amount of requests you can make per `X-Rate-Limit-Duration`. Example: `4.00`

    * `X-Rate-Limit-Duration`: The size of the window in which `X-Rate-Limit-Limit` applies. Example: `1s`


    As a rule of thumb, try not to send more than `4` requests per second per API key if you are planning to do a lot of consecutive calls.'
  title: ChainTraced Certificate Templates API
  contact:
    name: API Support
    url: https://www.chaintraced.com/
    email: support@chaintraced.com
  version: '2.0'
servers:
- url: https://api-demo.chaintraced.com
tags:
- description: Transaction Template API. A Certificate Template in this API is a Transaction template in the ChainTraced app. A template ID is set as `lotApprovalTemplateId` on a product to make it the default template for Transactions created for that product.
  name: Certificate Templates
paths:
  /v2/certificate-templates/:
    get:
      security:
      - ApiKeyAuth: []
      description: A template ID is set as `lotApprovalTemplateId` on a product to make it the default template for Transactions created for that product.
      tags:
      - Certificate Templates
      summary: Fetch a list of Transaction templates (Certificate Templates)
      parameters:
      - description: The template type
        name: templateType
        in: query
        required: true
        schema:
          type: string
          enum:
          - LOT_APPROVAL
          - PART_APPROVAL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/certtemplate.TemplateResponse'
        '404':
          description: Not Found
        '500':
          description: Internal Server Error
      operationId: getV2CertificateTemplates
      x-operation-id-source: derived
components:
  schemas:
    model.CertificateType:
      type: string
      enum:
      - LOT_APPROVAL
      - PART_APPROVAL
      - TEST_REPORT
      x-enum-varnames:
      - TypeLotApproval
      - TypePartApproval
      - TypeTestReport
    certtemplate.AppendedLotsConfig:
      type: object
      properties:
        pageBreaks:
          type: boolean
          example: true
        positioning:
          allOf:
          - $ref: '#/components/schemas/certtmplt.AppendedLotsPositioning'
          example: endOfDocument
        showDetails:
          type: boolean
          example: true
    certtemplate.ChargeConfig:
      type: object
      properties:
        materialChargeNumber:
          description: Whether the material charge number is included in the Transaction
          type: boolean
          example: true
        showMinMax:
          description: Whether the min and max values are included in the Transaction
          type: boolean
    certtemplate.CharacteristicResultsConfig:
      type: object
      properties:
        groupBy:
          allOf:
          - $ref: '#/components/schemas/certtmplt.CharacteristicResultsGroupBy'
          example: nothing
        showResults:
          description: Whether the characteristic test results are included in the Transaction
          type: boolean
          example: true
    certtmplt.CharacteristicResultsGroupBy:
      type: string
      enum:
      - nothing
      - byCharge
      - byOrigin
      x-enum-varnames:
      - CharacteristicResultsGroupByNothing
      - CharacteristicResultsGroupByCharge
      - CharacteristicResultsGroupByOrigin
    certtmplt.AppendedLotsPositioning:
      type: string
      enum:
      - endOfDocument
      - beforeValidation
      x-enum-varnames:
      - AppendedLotsPositioningEndOfDocument
      - AppendedLotsPositioningBeforeValidation
    certtemplate.TemplateResponse:
      type: object
      properties:
        appendedLots:
          $ref: '#/components/schemas/certtemplate.AppendedLotsConfig'
        certificateType:
          allOf:
          - $ref: '#/components/schemas/model.CertificateType'
          example: LOT_APPROVAL
        characteristicResults:
          $ref: '#/components/schemas/certtemplate.CharacteristicResultsConfig'
        createdAt:
          type: string
          example: '2020-01-01T00:00:00Z'
        header:
          type: string
          example: Certificate of Lot Approval
        id:
          type: string
          example: 85e68ff1-004f-4cde-8ffe-2d9b185a81ac
        manufacturingLotNumber:
          description: Whether the manufacturing lot number is included in the Transaction
          type: boolean
          example: true
        materialChargeConfig:
          description: Whether the material charge number is included in the Transaction
          allOf:
          - $ref: '#/components/schemas/certtemplate.ChargeConfig'
        name:
          type: string
          example: Standard
        orderInformation:
          description: Whether the order information is included in the Transaction
          type: boolean
          example: true
        showBillOfMaterialTable:
          type: boolean
          example: true
        subheader:
          type: string
          example: Subheader including additional information
        substanceTestResults:
          description: Whether the substance test results are included in the Transaction
          type: boolean
          example: true
        type:
          type: string
          example: Certificate 3.1
        validationText:
          type: string
          example: Validated by...
  securitySchemes:
    ApiKeyAuth:
      description: 'Add the following to your request header: `Authorization: API-KEY <key>`, where the key is the API key generated in the ChainTraced admin panel'
      type: apiKey
      name: Authorization
      in: header