Loops · Capability

Loops OpenAPI Spec — Transactional emails

Loops OpenAPI Spec — Transactional emails. 2 operations. Lead operation: Send a transactional email. Self-contained Naftiko capability covering one Loops business surface.

Run with Naftiko LoopsTransactional emails

What You Can Do

POST
Post — Send a transactional email
/v1/transactional
GET
Get — List transactional emails
/v1/transactional

MCP Tools

send-transactional-email

Send a transactional email

list-transactional-emails

List transactional emails

read-only idempotent

Capability Spec

loops-transactional-emails.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Loops OpenAPI Spec — Transactional emails
  description: 'Loops OpenAPI Spec — Transactional emails. 2 operations. Lead operation: Send a transactional email. Self-contained
    Naftiko capability covering one Loops business surface.'
  tags:
  - Loops
  - Transactional emails
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LOOPS_API_KEY: LOOPS_API_KEY
capability:
  consumes:
  - type: http
    namespace: loops-transactional-emails
    baseUri: https://app.loops.so/api/v1
    description: Loops OpenAPI Spec — Transactional emails business capability. Self-contained, no shared references.
    resources:
    - name: transactional
      path: /transactional
      operations:
      - name: post
        method: POST
        description: Send a transactional email
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Idempotency-Key
          in: header
          type: string
          description: Include a unique ID for this request (maximum 100 characters) to avoid duplicate emails. [More info](https://loops.so/docs/api-reference/send-transactional-emai
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: get
        method: GET
        description: List transactional emails
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: perPage
          in: query
          type: string
          description: How many results to return in each request. Must be between 10 and 50. Default is 20.
        - name: cursor
          in: query
          type: string
          description: A cursor, to return a specific page of results. Cursors can be found from the `pagination.nextCursor`
            value in each response.
    authentication:
      type: bearer
      token: '{{env.LOOPS_API_KEY}}'
  exposes:
  - type: rest
    namespace: loops-transactional-emails-rest
    port: 8080
    description: REST adapter for Loops OpenAPI Spec — Transactional emails. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/transactional
      name: transactional
      description: REST surface for transactional.
      operations:
      - method: POST
        name: post
        description: Send a transactional email
        call: loops-transactional-emails.post
        with:
          Idempotency-Key: rest.Idempotency-Key
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: get
        description: List transactional emails
        call: loops-transactional-emails.get
        with:
          perPage: rest.perPage
          cursor: rest.cursor
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: loops-transactional-emails-mcp
    port: 9090
    transport: http
    description: MCP adapter for Loops OpenAPI Spec — Transactional emails. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: send-transactional-email
      description: Send a transactional email
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: loops-transactional-emails.post
      with:
        Idempotency-Key: tools.Idempotency-Key
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-transactional-emails
      description: List transactional emails
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: loops-transactional-emails.get
      with:
        perPage: tools.perPage
        cursor: tools.cursor
      outputParameters:
      - type: object
        mapping: $.