Nayya Rule Templates API

The Rule Templates API from Nayya — 1 operation(s) for rule templates.

Operations 1

GET /rule_templates List Rule 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/nayya-rule-templates-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

nayya-rule-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Accounts Benefits Rule Templates API
  description: Accounts API
  version: '0.1'
  contact: {}
servers:
- url: https://integrate.nayya.com/accounts
  description: Production
- url: https://integrate.partners.nayya.com/accounts
  description: Partners
security:
- bearerAuth: []
tags:
- name: Rule Templates
paths:
  /rule_templates:
    get:
      operationId: list-templates
      parameters:
      - name: X-API-Version
        in: header
        required: false
        description: Optional API major version. Omit this header for the same behavior as `1` (this specification).
        schema:
          type: string
          default: '1'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RuleTemplatesResponseDto'
        '403':
          description: Forbidden
        '500':
          description: Internal server error
      summary: List Rule Templates
      tags:
      - Rule Templates
components:
  schemas:
    RuleTemplatesResponseDto:
      type: object
      properties:
        data:
          description: Array of Rule Templates.
          type: array
          items:
            $ref: '#/components/schemas/RuleTemplateResponseDto'
      required:
      - data
    RuleTemplateResponseDto:
      type: object
      properties:
        name:
          type: string
          example: amount
          description: Name of the rule template
        requiredTemplateValues:
          example:
          - valueName: amount
            valueType: integer
          description: Array with pairs of name and type of the attributes
          type: array
          items:
            type: string
        templateDescription:
          type: string
          example: This is a description of the rule template
          description: Description of the rule template
      required:
      - name
      - requiredTemplateValues
      - templateDescription
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: JWT token