ActiveCampaign · Arazzo Workflow

ActiveCampaign Create List and Subscribe a Contact

Version 1.0.0

Create a mailing list then subscribe an existing contact to it.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Marketing AutomationEmail MarketingCRMSales AutomationCustomer ExperienceSMS MarketingE-CommerceSegmentationWebhookArazzoWorkflows

Provider

activecampaign

Workflows

create-list-add-contact
Create a mailing list and subscribe a contact to it.
Creates a mailing list with the required sender details, then subscribes the supplied contact to the new list.
2 steps inputs: apiToken, contactId, name, senderReminder, senderUrl, stringid outputs: listId
1
createList
Create the mailing list with its required sender details.
2
subscribeContact
Subscribe the supplied contact to the new list.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: ActiveCampaign Create List and Subscribe a Contact
  summary: Create a mailing list then subscribe an existing contact to it.
  description: >-
    A list provisioning flow. A new mailing list is created with its required
    sender details, then an existing contact is subscribed to the list by
    activating its list status. Every step spells out its request inline,
    including the Api-Token authentication header, so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: contactsApi
  url: ../openapi/activecampaign-contacts-api-openapi.yml
  type: openapi
- name: listsApi
  url: ../openapi/activecampaign-lists-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-list-add-contact
  summary: Create a mailing list and subscribe a contact to it.
  description: >-
    Creates a mailing list with the required sender details, then subscribes
    the supplied contact to the new list.
  inputs:
    type: object
    required:
    - apiToken
    - name
    - stringid
    - senderUrl
    - senderReminder
    - contactId
    properties:
      apiToken:
        type: string
        description: ActiveCampaign API token sent in the Api-Token header.
      name:
        type: string
        description: Display name of the list.
      stringid:
        type: string
        description: URL-safe string identifier of the list.
      senderUrl:
        type: string
        description: Sender URL required on every list.
      senderReminder:
        type: string
        description: Reminder text explaining why recipients are on the list.
      contactId:
        type: integer
        description: Identifier of the contact to subscribe to the new list.
  steps:
  - stepId: createList
    description: Create the mailing list with its required sender details.
    operationId: create-new-list
    parameters:
    - name: Api-Token
      in: header
      value: $inputs.apiToken
    requestBody:
      contentType: application/json
      payload:
        list:
          name: $inputs.name
          stringid: $inputs.stringid
          sender_url: $inputs.senderUrl
          sender_reminder: $inputs.senderReminder
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      listId: $response.body#/list/id
  - stepId: subscribeContact
    description: Subscribe the supplied contact to the new list.
    operationId: update-list-status-for-contact
    parameters:
    - name: Api-Token
      in: header
      value: $inputs.apiToken
    requestBody:
      contentType: application/json
      payload:
        contactList:
          list: $steps.createList.outputs.listId
          contact: $inputs.contactId
          status: 1
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      contactListId: $response.body#/contacts/0/id
  outputs:
    listId: $steps.createList.outputs.listId

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/activecampaign-create-list-add-contact-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.