Close · Capability

API Endpoints — subpackage_bulkActionsEmail

API Endpoints — subpackage_bulkActionsEmail. 3 operations. Lead operation: List bulk emails. Self-contained Naftiko capability covering one Close business surface.

Run with Naftiko Closesubpackage_bulkActionsEmail

What You Can Do

GET
List — List bulk emails
/v1/bulk-action/email
POST
Create — Initiate a new bulk email
/v1/bulk-action/email
GET
Get — Fetch a single bulk email object
/v1/bulk-action/email/{id}

MCP Tools

list-bulk-emails

List bulk emails

read-only idempotent
initiate-new-bulk-email

Initiate a new bulk email

fetch-single-bulk-email-object

Fetch a single bulk email object

read-only idempotent

Capability Spec

close-subpackage-bulkactionsemail.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: API Endpoints — subpackage_bulkActionsEmail
  description: 'API Endpoints — subpackage_bulkActionsEmail. 3 operations. Lead operation: List bulk emails. Self-contained
    Naftiko capability covering one Close business surface.'
  tags:
  - Close
  - subpackage_bulkActionsEmail
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CLOSE_API_KEY: CLOSE_API_KEY
capability:
  consumes:
  - type: http
    namespace: close-subpackage-bulkactionsemail
    baseUri: https://api.close.com/api/v1
    description: API Endpoints — subpackage_bulkActionsEmail business capability. Self-contained, no shared references.
    resources:
    - name: bulk_action-email
      path: /bulk_action/email/
      operations:
      - name: list
        method: GET
        description: List bulk emails
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: _limit
          in: query
          type: integer
          description: Number of results to return.
        - name: _skip
          in: query
          type: integer
          description: Number of results to skip before returning, for pagination.
        - name: _fields
          in: query
          type: string
          description: Comma-separated list of fields to include in the response.
        - name: template_id
          in: query
          type:
          - string
          - 'null'
        - name: Authorization
          in: header
          type: string
          description: Use your API key as the username and leave the password empty.
          required: true
      - name: create
        method: POST
        description: Initiate a new bulk email
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
          description: Use your API key as the username and leave the password empty.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: bulk_action-email-id
      path: /bulk_action/email/{id}/
      operations:
      - name: get
        method: GET
        description: Fetch a single bulk email object
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: _fields
          in: query
          type: string
          description: Comma-separated list of fields to include in the response.
        - name: Authorization
          in: header
          type: string
          description: Use your API key as the username and leave the password empty.
          required: true
    authentication:
      type: bearer
      token: '{{env.CLOSE_API_KEY}}'
  exposes:
  - type: rest
    namespace: close-subpackage-bulkactionsemail-rest
    port: 8080
    description: REST adapter for API Endpoints — subpackage_bulkActionsEmail. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/bulk-action/email
      name: bulk-action-email
      description: REST surface for bulk_action-email.
      operations:
      - method: GET
        name: list
        description: List bulk emails
        call: close-subpackage-bulkactionsemail.list
        with:
          _limit: rest._limit
          _skip: rest._skip
          _fields: rest._fields
          template_id: rest.template_id
          Authorization: rest.Authorization
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: create
        description: Initiate a new bulk email
        call: close-subpackage-bulkactionsemail.create
        with:
          Authorization: rest.Authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/bulk-action/email/{id}
      name: bulk-action-email-id
      description: REST surface for bulk_action-email-id.
      operations:
      - method: GET
        name: get
        description: Fetch a single bulk email object
        call: close-subpackage-bulkactionsemail.get
        with:
          id: rest.id
          _fields: rest._fields
          Authorization: rest.Authorization
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: close-subpackage-bulkactionsemail-mcp
    port: 9090
    transport: http
    description: MCP adapter for API Endpoints — subpackage_bulkActionsEmail. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-bulk-emails
      description: List bulk emails
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: close-subpackage-bulkactionsemail.list
      with:
        _limit: tools._limit
        _skip: tools._skip
        _fields: tools._fields
        template_id: tools.template_id
        Authorization: tools.Authorization
      outputParameters:
      - type: object
        mapping: $.
    - name: initiate-new-bulk-email
      description: Initiate a new bulk email
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: close-subpackage-bulkactionsemail.create
      with:
        Authorization: tools.Authorization
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: fetch-single-bulk-email-object
      description: Fetch a single bulk email object
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: close-subpackage-bulkactionsemail.get
      with:
        id: tools.id
        _fields: tools._fields
        Authorization: tools.Authorization
      outputParameters:
      - type: object
        mapping: $.