Openprovider TemplateService API

The TemplateService API from Openprovider — 2 operation(s) for templateservice.

Operations 4

GET /v1beta/dns/templates List templates #
POST /v1beta/dns/templates Create template #
GET /v1beta/dns/templates/{id} Get template #
DELETE /v1beta/dns/templates/{id} Delete template #

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/openprovider-templateservice-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

openprovider-templateservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: REST AdditionalData Template Service API
  version: 1.0.0-beta
servers:
- url: https://api.openprovider.eu
security:
- Bearer: []
tags:
- name: TemplateService
  x-displayName: Template
paths:
  /v1beta/dns/templates:
    get:
      tags:
      - TemplateService
      summary: List templates
      operationId: ListTemplates
      parameters:
      - description: Limits the number of objects in the output.
        name: limit
        in: query
        schema:
          type: integer
          format: int32
          default: 100
      - description: Used to retrieve all objects from a certain offset up to the limit.
        name: offset
        in: query
        schema:
          type: string
      - description: Sorting type (asc/desc).
        name: order
        in: query
        schema:
          type: string
          default: asc
      - description: 'Field for sorting output. Possible value: name.'
        name: order_by
        in: query
        schema:
          type: string
          default: name
      - description: Indicates if DNS records should be retrieved.
        name: with_records
        in: query
        schema:
          type: boolean
          format: boolean
          default: false
      - description: Template name pattern. Wildcard (*)can be used.
        name: name_pattern
        in: query
        schema:
          type: string
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/templateListTemplatesResponse'
        default:
          description: (empty)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorError'
    post:
      tags:
      - TemplateService
      summary: Create template
      operationId: CreateTemplate
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/templateCreateTemplateResponse'
        default:
          description: (empty)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/templateCreateTemplateRequest'
        required: true
  /v1beta/dns/templates/{id}:
    get:
      tags:
      - TemplateService
      summary: Get template
      operationId: GetTemplate
      parameters:
      - description: Template ID
        name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/templateGetTemplateResponse'
        default:
          description: (empty)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorError'
    delete:
      tags:
      - TemplateService
      summary: Delete template
      operationId: DeleteTemplate
      parameters:
      - description: Template ID
        name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/templateTemplateBoolResponse'
        default:
          description: (empty)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorError'
components:
  schemas:
    templateGetTemplateResponse:
      type: object
      title: GetTemplateResponse
      properties:
        code:
          type: integer
          format: int32
          title: Response code
        data:
          title: The data
          $ref: '#/components/schemas/templateTemplate'
        desc:
          type: string
          title: Response description
        maintenance:
          type: boolean
          format: boolean
          title: Indicates if Openprovider API is on maintenance
        warnings:
          type: array
          title: The warnings
          items:
            $ref: '#/components/schemas/errorWarning'
      example:
        code: 0
        data:
          id: 1
          is_spamexperts_enabled: false
          name: MyTemplate
          records:
          - id: 67377
            name: ns1.domain.com
            prio: 10
            ttl: 86400
            type: MX
            value: abc.example.com
        desc: ''
    templateRecord:
      type: object
      title: Record
      properties:
        id:
          type: integer
          format: int32
          title: DNS record ID
        name:
          type: string
          title: DNS record name
        prio:
          type: integer
          format: int32
          title: DNS record priority
        ttl:
          type: integer
          format: int32
          title: DNS record TTL
        type:
          type: string
          title: DNS record tyoe
        value:
          type: string
          title: DNS record value
      example:
        id: 67377
        name: ns1.domain.com
        prio: 10
        ttl: 86400
        type: MX
        value: abc.example.com
    templateCreateTemplateRequest:
      type: object
      title: CreateTemplateRequest
      properties:
        is_spamexperts_enabled:
          type: boolean
          format: boolean
          title: Idicates if spamfiltering is enabled for the DNS zone
        name:
          type: string
          title: The name
        records:
          type: array
          title: The records
          items:
            $ref: '#/components/schemas/templateRecord'
      example:
        is_spamexperts_enabled: false
        name: MyTemplate
        records:
        - id: 67377
          name: ns1.domain.com
          prio: 10
          ttl: 86400
          type: MX
          value: abc.example.com
    templateTemplateBoolResponse:
      type: object
      title: TemplateBoolResponse
      properties:
        code:
          type: integer
          format: int32
          title: Response code
        data:
          title: The data
          $ref: '#/components/schemas/templateTemplateBoolResponseData'
        desc:
          type: string
          title: Response description
        maintenance:
          type: boolean
          format: boolean
          title: Indicates if Openprovider API is on maintenance
        warnings:
          type: array
          title: The warnings
          items:
            $ref: '#/components/schemas/errorWarning'
      example:
        code: 0
        data:
          success: false
        desc: ''
    templateCreateTemplateResponse:
      type: object
      title: CreateTemplateResponse
      properties:
        code:
          type: integer
          format: int32
          title: Response code
        data:
          title: The data
          $ref: '#/components/schemas/templateCreateTemplateResponseData'
        desc:
          type: string
          title: Response description
        maintenance:
          type: boolean
          format: boolean
          title: Indicates if Openprovider API is on maintenance
        warnings:
          type: array
          title: The warnings
          items:
            $ref: '#/components/schemas/errorWarning'
      example:
        code: 0
        data:
          id: 39238
        desc: ''
    templateCreateTemplateResponseData:
      type: object
      title: CreateTemplateResponseData
      properties:
        id:
          type: integer
          format: int32
          title: Template ID
      example:
        id: 39238
    templateTemplateBoolResponseData:
      type: object
      title: TemplateBoolResponseData
      properties:
        success:
          type: boolean
          format: boolean
          title: Indicates if request was successful
      example:
        success: false
    templateTemplate:
      type: object
      title: Template
      properties:
        id:
          type: integer
          format: int32
          title: Template ID
        is_spamexperts_enabled:
          type: boolean
          format: boolean
          title: Indicates if spam filtering is enabled for the DNS zone
        name:
          type: string
          title: Template name
        records:
          type: array
          title: Array of DNS zone records
          items:
            $ref: '#/components/schemas/templateRecord'
      example:
        id: 1
        is_spamexperts_enabled: false
        name: MyTemplate
        records:
        - id: 67377
          name: ns1.domain.com
          prio: 10
          ttl: 86400
          type: MX
          value: abc.example.com
    errorError:
      type: object
      title: Error
      properties:
        code:
          type: integer
          format: int32
          title: Error code
        data:
          type: string
          title: Additional error description
        desc:
          type: string
          title: Error description
      example:
        code: 0
        data: ''
        desc: ''
    templateListTemplatesResponse:
      type: object
      title: ListTemplatesResponse
      properties:
        code:
          type: integer
          format: int32
          title: Response code
        data:
          title: The data
          $ref: '#/components/schemas/templateListTemplatesResponseData'
        desc:
          type: string
          title: Response description
        maintenance:
          type: boolean
          format: boolean
          title: Indicates if Openprovider API is on maintenance
        warnings:
          type: array
          title: The warnings
          items:
            $ref: '#/components/schemas/errorWarning'
      example:
        code: 0
        data:
          results:
          - id: 1
            is_spamexperts_enabled: false
            name: MyTemplate
            records:
            - id: 67377
              name: ns1.domain.com
              prio: 10
              ttl: 86400
              type: MX
              value: abc.example.com
          total: 20
        desc: ''
    errorWarning:
      type: object
      title: Warning
      properties:
        code:
          type: integer
          format: int32
          title: Warning code
        data:
          type: string
          title: Additional warning description
        desc:
          type: string
          title: Warning description
      example:
        code: 0
        data: ''
        desc: ''
    templateListTemplatesResponseData:
      type: object
      title: ListTemplatesResponseData
      properties:
        results:
          type: array
          title: Array of results
          items:
            $ref: '#/components/schemas/templateTemplate'
        total:
          type: integer
          format: int32
          title: Results count
      example:
        results:
        - id: 1
          is_spamexperts_enabled: false
          name: MyTemplate
          records:
          - id: 67377
            name: ns1.domain.com
            prio: 10
            ttl: 86400
            type: MX
            value: abc.example.com
        total: 20
  securitySchemes:
    Bearer:
      type: apiKey
      name: Authorization
      in: header
      x-linkTo: tag/descAuthentication
x-tagGroups:
- name: Introduction
  tags:
  - descAbout
  - descGettingStarted
  - descEndpoints
  - descAuthentication
- name: Quick Start
  tags:
  - descCustomerQuickstart
  - descDomainQuickstart
  - descTLDQuickstart
  - descDNSQuickstart
  - descSSLQuickstart
- name: Auth
  tags:
  - Auth
  - SpamExpert
- name: Billing
  tags:
  - InvoiceService
  - Payment
  - Transaction
- name: DNS
  tags:
  - DomainToken
  - NameserverService
  - NsGroupService
  - TemplateService
  - ZoneService
  - ZoneRecordService
- name: Domain
  tags:
  - DomainService
  - AdditionalData
  - CustomerAdditionalData
  - DomainPriceService
  - AuthCode
  - TldService
- name: EasyDmarc
  tags:
  - EasydmarcOrder
- name: Email template
  tags:
  - Email
- name: License
  tags:
  - LicenseService
- name: Reseller/Customer
  tags:
  - ContactService
  - Customer
  - EmailVerification
  - ResellerService
  - Settings
  - Statistics
  - TagService
- name: Spam Experts
  tags:
  - SEDomain
- name: SSL
  tags:
  - ApproverEmail
  - Csr
  - Order
  - OrderApproverEmail
  - OtpToken
  - Product