ActiveCampaign · Capability

ActiveCampaign API v3 — Lists

ActiveCampaign API v3 — Lists. 8 operations. Lead operation: ActiveCampaign Create a List Group Permission. Self-contained Naftiko capability covering one Activecampaign business surface.

Run with Naftiko ActivecampaignLists

What You Can Do

POST
Createalistgrouppermission — ActiveCampaign Create a List Group Permission
/v1/listgroups
POST
Createnewlist — ActiveCampaign Create a List
/v1/lists
GET
Retrievealllists — ActiveCampaign Retrieve All Lists
/v1/lists
GET
Exclusionsretrievealist — ActiveCampaign Retrieve Exclusions List
/v1/lists/exclusions
GET
Exclusionsretrieveanexclusion — ActiveCampaign Retrieve an Exclusion
/v1/lists/exclusions/{id}
PUT
Updateanexclusion — ActiveCampaign Update an Exclusion
/v1/lists/exclusions/{id}
GET
Retrievealist — ActiveCampaign Retrieve a List
/v1/lists/{id}
DELETE
Deletealist — ActiveCampaign Delete a List
/v1/lists/{id}

MCP Tools

activecampaign-create-list-group-permission

ActiveCampaign Create a List Group Permission

read-only
activecampaign-create-list

ActiveCampaign Create a List

activecampaign-retrieve-all-lists

ActiveCampaign Retrieve All Lists

read-only idempotent
activecampaign-retrieve-exclusions-list

ActiveCampaign Retrieve Exclusions List

read-only idempotent
activecampaign-retrieve-exclusion

ActiveCampaign Retrieve an Exclusion

read-only idempotent
activecampaign-update-exclusion

ActiveCampaign Update an Exclusion

idempotent
activecampaign-retrieve-list

ActiveCampaign Retrieve a List

read-only idempotent
activecampaign-delete-list

ActiveCampaign Delete a List

idempotent

Capability Spec

v3-lists.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: ActiveCampaign API v3 — Lists
  description: 'ActiveCampaign API v3 — Lists. 8 operations. Lead operation: ActiveCampaign Create a List Group Permission.
    Self-contained Naftiko capability covering one Activecampaign business surface.'
  tags:
  - Activecampaign
  - Lists
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ACTIVECAMPAIGN_API_KEY: ACTIVECAMPAIGN_API_KEY
capability:
  consumes:
  - type: http
    namespace: v3-lists
    baseUri: https://{yourAccountName}.api-us1.com/api/3
    description: ActiveCampaign API v3 — Lists business capability. Self-contained, no shared references.
    resources:
    - name: listGroups
      path: /listGroups
      operations:
      - name: createalistgrouppermission
        method: POST
        description: ActiveCampaign Create a List Group Permission
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: lists
      path: /lists
      operations:
      - name: createnewlist
        method: POST
        description: ActiveCampaign Create a List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: retrievealllists
        method: GET
        description: ActiveCampaign Retrieve All Lists
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filters[name]
          in: query
          type: string
          description: Filter by the name of the list
        - name: limit
          in: query
          type: integer
          description: Limit the number of returned results
        - name: filters[name][<operator>]
          in: query
          type: string
          description: Filters lists by list name according to the operator specified. (See supported operators below)
        - name: orders[name]
          in: query
          type: string
          description: 'Orders filtered results by weight, ascending order, or descending order. If weight is used, exact
            matches are returned first, followed by matches starting with '
    - name: lists-exclusions
      path: /lists/exclusions
      operations:
      - name: exclusionsretrievealist
        method: GET
        description: ActiveCampaign Retrieve Exclusions List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filters[matchPhrase]
          in: query
          type: string
          description: Filters by the match phrase, for example `filters[matchPhrase]=.com`
        - name: filters[lists]
          in: query
          type: array
          description: Filters by the list ID, for example `filters[lists][]=1`. You can filter by many list IDs
        - name: orders[matchPhrase]
          in: query
          type: string
          description: Sort by the matchPhrase
        - name: orders[lists]
          in: query
          type: string
          description: Sort by lists IDs
    - name: lists-exclusions-id
      path: /lists/exclusions/{id}
      operations:
      - name: exclusionsretrieveanexclusion
        method: GET
        description: ActiveCampaign Retrieve an Exclusion
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: ID of the exclusion to retrieve
          required: true
      - name: updateanexclusion
        method: PUT
        description: ActiveCampaign Update an Exclusion
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The Exclusion's ID
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: lists-id
      path: /lists/{id}
      operations:
      - name: retrievealist
        method: GET
        description: ActiveCampaign Retrieve a List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: ID of the lists to retrieve
          required: true
      - name: deletealist
        method: DELETE
        description: ActiveCampaign Delete a List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the list to delete
          required: true
    authentication:
      type: apikey
      key: Api-Token
      value: '{{env.ACTIVECAMPAIGN_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: v3-lists-rest
    port: 8080
    description: REST adapter for ActiveCampaign API v3 — Lists. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/listgroups
      name: listgroups
      description: REST surface for listGroups.
      operations:
      - method: POST
        name: createalistgrouppermission
        description: ActiveCampaign Create a List Group Permission
        call: v3-lists.createalistgrouppermission
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/lists
      name: lists
      description: REST surface for lists.
      operations:
      - method: POST
        name: createnewlist
        description: ActiveCampaign Create a List
        call: v3-lists.createnewlist
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: retrievealllists
        description: ActiveCampaign Retrieve All Lists
        call: v3-lists.retrievealllists
        with:
          filters[name]: rest.filters[name]
          limit: rest.limit
          filters[name][<operator>]: rest.filters[name][<operator>]
          orders[name]: rest.orders[name]
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/lists/exclusions
      name: lists-exclusions
      description: REST surface for lists-exclusions.
      operations:
      - method: GET
        name: exclusionsretrievealist
        description: ActiveCampaign Retrieve Exclusions List
        call: v3-lists.exclusionsretrievealist
        with:
          filters[matchPhrase]: rest.filters[matchPhrase]
          filters[lists]: rest.filters[lists]
          orders[matchPhrase]: rest.orders[matchPhrase]
          orders[lists]: rest.orders[lists]
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/lists/exclusions/{id}
      name: lists-exclusions-id
      description: REST surface for lists-exclusions-id.
      operations:
      - method: GET
        name: exclusionsretrieveanexclusion
        description: ActiveCampaign Retrieve an Exclusion
        call: v3-lists.exclusionsretrieveanexclusion
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateanexclusion
        description: ActiveCampaign Update an Exclusion
        call: v3-lists.updateanexclusion
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/lists/{id}
      name: lists-id
      description: REST surface for lists-id.
      operations:
      - method: GET
        name: retrievealist
        description: ActiveCampaign Retrieve a List
        call: v3-lists.retrievealist
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletealist
        description: ActiveCampaign Delete a List
        call: v3-lists.deletealist
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: v3-lists-mcp
    port: 9090
    transport: http
    description: MCP adapter for ActiveCampaign API v3 — Lists. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: activecampaign-create-list-group-permission
      description: ActiveCampaign Create a List Group Permission
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: v3-lists.createalistgrouppermission
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: activecampaign-create-list
      description: ActiveCampaign Create a List
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: v3-lists.createnewlist
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: activecampaign-retrieve-all-lists
      description: ActiveCampaign Retrieve All Lists
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: v3-lists.retrievealllists
      with:
        filters[name]: tools.filters[name]
        limit: tools.limit
        filters[name][<operator>]: tools.filters[name][<operator>]
        orders[name]: tools.orders[name]
      outputParameters:
      - type: object
        mapping: $.
    - name: activecampaign-retrieve-exclusions-list
      description: ActiveCampaign Retrieve Exclusions List
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: v3-lists.exclusionsretrievealist
      with:
        filters[matchPhrase]: tools.filters[matchPhrase]
        filters[lists]: tools.filters[lists]
        orders[matchPhrase]: tools.orders[matchPhrase]
        orders[lists]: tools.orders[lists]
      outputParameters:
      - type: object
        mapping: $.
    - name: activecampaign-retrieve-exclusion
      description: ActiveCampaign Retrieve an Exclusion
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: v3-lists.exclusionsretrieveanexclusion
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: activecampaign-update-exclusion
      description: ActiveCampaign Update an Exclusion
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: v3-lists.updateanexclusion
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: activecampaign-retrieve-list
      description: ActiveCampaign Retrieve a List
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: v3-lists.retrievealist
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: activecampaign-delete-list
      description: ActiveCampaign Delete a List
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: v3-lists.deletealist
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.