brevo · Capability

Brevo Contacts API — Import

Brevo Contacts API — Import. 1 operations. Lead operation: Import contacts. Self-contained Naftiko capability covering one Brevo business surface.

Run with Naftiko BrevoImport

What You Can Do

POST
Importcontacts — Import contacts
/v1/contacts/import

MCP Tools

import-contacts

Import contacts

Capability Spec

contacts-import.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Brevo Contacts API — Import
  description: 'Brevo Contacts API — Import. 1 operations. Lead operation: Import contacts. Self-contained Naftiko capability
    covering one Brevo business surface.'
  tags:
  - Brevo
  - Import
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BREVO_API_KEY: BREVO_API_KEY
capability:
  consumes:
  - type: http
    namespace: contacts-import
    baseUri: https://api.brevo.com/v3
    description: Brevo Contacts API — Import business capability. Self-contained, no shared references.
    resources:
    - name: contacts-import
      path: /contacts/import
      operations:
      - name: importcontacts
        method: POST
        description: Import contacts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: api-key
      value: '{{env.BREVO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: contacts-import-rest
    port: 8080
    description: REST adapter for Brevo Contacts API — Import. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/contacts/import
      name: contacts-import
      description: REST surface for contacts-import.
      operations:
      - method: POST
        name: importcontacts
        description: Import contacts
        call: contacts-import.importcontacts
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: contacts-import-mcp
    port: 9090
    transport: http
    description: MCP adapter for Brevo Contacts API — Import. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: import-contacts
      description: Import contacts
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: contacts-import.importcontacts
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.