ActiveCampaign · Capability

ActiveCampaign API v3 — Contacts

ActiveCampaign API v3 — Contacts. 36 operations. Lead operation: ActiveCampaign Sync a Contact's Data. Self-contained Naftiko capability covering one Activecampaign business surface.

Run with Naftiko ActivecampaignContacts

What You Can Do

POST
Syncacontactsdata — ActiveCampaign Sync a Contact's Data
/v1/contact/sync
POST
Createnewcontactautomation — ActiveCampaign Add a Contact to an Automation
/v1/contactautomations
GET
Listallcontactautomations — ActiveCampaign List All Automations a Contact is in
/v1/contactautomations
GET
Retrieveacontactautomation — ActiveCampaign Retrieve an Automation a Contact is in
/v1/contactautomations/{id}
DELETE
Deleteacontactautomation — ActiveCampaign Remove a Contact from an Automation
/v1/contactautomations/{id}
POST
Createasecondarycontact — ActiveCampaign Create a Secondary Contact
/v1/contactdeals
GET
Listallsecondarycontacts — ActiveCampaign List All Secondary Contacts
/v1/contactdeals
GET
Retrieveasecondarycontact — ActiveCampaign Retrieve a Secondary Contact
/v1/contactdeals/{id}
PUT
Updateasecondarycontact — ActiveCampaign Update a Secondary Contact
/v1/contactdeals/{id}
DELETE
Deleteasecondarycontact — ActiveCampaign Delete a Secondary Contact
/v1/contactdeals/{id}
POST
Updateliststatusforcontact — ActiveCampaign Update List Status for a Contact
/v1/contactlists
POST
Createcontacttag — ActiveCampaign Add a Tag to Contact
/v1/contacttags
DELETE
Removeacontactstag — ActiveCampaign Remove a Tag from a Contact
/v1/contacttags/{id}
POST
Createanewcontact — ActiveCampaign Create a Contact
/v1/contacts
GET
Listallcontacts — ActiveCampaign List, Search, and Filter Contacts
/v1/contacts
GET
Getcontactstrackinglogsevents — ActiveCampaign Get Contact's Tracking Logs/Events
/v1/contacts/{contactid}/trackinglogs
GET
Getcontact — ActiveCampaign Retrieve a Contact
/v1/contacts/{id}
PUT
Updateacontactnew — ActiveCampaign Update a Contact
/v1/contacts/{id}
DELETE
Deletecontact — ActiveCampaign Delete a Contact
/v1/contacts/{id}
GET
Retrievecontactaccountcontacts — ActiveCampaign Retrieve a Contacts Account Contacts
/v1/contacts/{id}/accountcontacts
GET
Retrievecontactautomationentrycounts — ActiveCampaign Retrieve a Contacts Automation Entry Counts
/v1/contacts/{id}/automationentrycounts
GET
Retrievecontactbouncelogs — ActiveCampaign Retrieve a Contact's Bounce Logs
/v1/contacts/{id}/bouncelogs
GET
Listallcontactautomationsforcontact — ActiveCampaign List All Automations the Contact is in
/v1/contacts/{id}/contactautomations
GET
Retrievecontactdata — ActiveCampaign Retrieve a Contact's Data
/v1/contacts/{id}/contactdata
GET
Retrievecontactdealslist — ActiveCampaign Retrieve a List of Contact's Deals
/v1/contacts/{id}/contactdeals
GET
Retrievecontactgoals — ActiveCampaign Retrieve a Contact's Goals
/v1/contacts/{id}/contactgoals
GET
Retrievecontactlistmemberships — ActiveCampaign Retrieve a Contact's List Memberships
/v1/contacts/{id}/contactlists
GET
Retrievecontactlogs — ActiveCampaign Retrieve a Contact's Logs
/v1/contacts/{id}/contactlogs
GET
Retrievecontactdeals — ActiveCampaign Retrieve a Contact's Deals
/v1/contacts/{id}/deals
GET
Retrievecontactfieldvalues — ActiveCampaign Retrieve a Contact's Field Values
/v1/contacts/{id}/fieldvalues
GET
Retrievecontactgeoips — ActiveCampaign Retrieve a Contacts List of Geo-ips
/v1/contacts/{id}/geoips
GET
Retrievecontactnotes — ActiveCampaign Retrieve a Contacts Notes
/v1/contacts/{id}/notes
GET
Retrievecontactorganization — ActiveCampaign Retrieve a Contacts Organization
/v1/contacts/{id}/organization
GET
Retrievecontactplusappend — ActiveCampaign Retrieve a Contacts Plus Append
/v1/contacts/{id}/plusappend
GET
Retrieveacontactsscorevalue — ActiveCampaign Retrieve a Contact's Score Value
/v1/contacts/{id}/scorevalues
GET
Retrievecontacttrackinglogs — ActiveCampaign Retrieve a Contacts Tracking Logs
/v1/contacts/{id}/trackinglogs

MCP Tools

activecampaign-sync-contact-s-data

ActiveCampaign Sync a Contact's Data

activecampaign-add-contact-automation

ActiveCampaign Add a Contact to an Automation

activecampaign-list-all-automations-contact

ActiveCampaign List All Automations a Contact is in

read-only idempotent
activecampaign-retrieve-automation-contact-is

ActiveCampaign Retrieve an Automation a Contact is in

read-only idempotent
activecampaign-remove-contact-automation

ActiveCampaign Remove a Contact from an Automation

idempotent
activecampaign-create-secondary-contact

ActiveCampaign Create a Secondary Contact

activecampaign-list-all-secondary-contacts

ActiveCampaign List All Secondary Contacts

read-only idempotent
activecampaign-retrieve-secondary-contact

ActiveCampaign Retrieve a Secondary Contact

read-only idempotent
activecampaign-update-secondary-contact

ActiveCampaign Update a Secondary Contact

idempotent
activecampaign-delete-secondary-contact

ActiveCampaign Delete a Secondary Contact

idempotent
activecampaign-update-list-status-contact

ActiveCampaign Update List Status for a Contact

read-only
activecampaign-add-tag-contact

ActiveCampaign Add a Tag to Contact

activecampaign-remove-tag-contact

ActiveCampaign Remove a Tag from a Contact

idempotent
activecampaign-create-contact

ActiveCampaign Create a Contact

activecampaign-list-search-and-filter

ActiveCampaign List, Search, and Filter Contacts

read-only idempotent
activecampaign-get-contact-s-tracking-logs

ActiveCampaign Get Contact's Tracking Logs/Events

read-only idempotent
activecampaign-retrieve-contact

ActiveCampaign Retrieve a Contact

read-only idempotent
activecampaign-update-contact

ActiveCampaign Update a Contact

idempotent
activecampaign-delete-contact

ActiveCampaign Delete a Contact

idempotent
activecampaign-retrieve-contacts-account-contacts

ActiveCampaign Retrieve a Contacts Account Contacts

read-only idempotent
activecampaign-retrieve-contacts-automation-entry

ActiveCampaign Retrieve a Contacts Automation Entry Counts

read-only idempotent
activecampaign-retrieve-contact-s-bounce-logs

ActiveCampaign Retrieve a Contact's Bounce Logs

read-only idempotent
activecampaign-list-all-automations-contact-2

ActiveCampaign List All Automations the Contact is in

read-only idempotent
activecampaign-retrieve-contact-s-data

ActiveCampaign Retrieve a Contact's Data

read-only idempotent
activecampaign-retrieve-list-contact-s-deals

ActiveCampaign Retrieve a List of Contact's Deals

read-only idempotent
activecampaign-retrieve-contact-s-goals

ActiveCampaign Retrieve a Contact's Goals

read-only idempotent
activecampaign-retrieve-contact-s-list-memberships

ActiveCampaign Retrieve a Contact's List Memberships

read-only idempotent
activecampaign-retrieve-contact-s-logs

ActiveCampaign Retrieve a Contact's Logs

read-only idempotent
activecampaign-retrieve-contact-s-deals

ActiveCampaign Retrieve a Contact's Deals

read-only idempotent
activecampaign-retrieve-contact-s-field-values

ActiveCampaign Retrieve a Contact's Field Values

read-only idempotent
activecampaign-retrieve-contacts-list-geo

ActiveCampaign Retrieve a Contacts List of Geo-ips

read-only idempotent
activecampaign-retrieve-contacts-notes

ActiveCampaign Retrieve a Contacts Notes

read-only idempotent
activecampaign-retrieve-contacts-organization

ActiveCampaign Retrieve a Contacts Organization

read-only idempotent
activecampaign-retrieve-contacts-plus-append

ActiveCampaign Retrieve a Contacts Plus Append

read-only idempotent
activecampaign-retrieve-contact-s-score-value

ActiveCampaign Retrieve a Contact's Score Value

read-only idempotent
activecampaign-retrieve-contacts-tracking-logs

ActiveCampaign Retrieve a Contacts Tracking Logs

read-only idempotent

Capability Spec

v3-contacts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: ActiveCampaign API v3 — Contacts
  description: 'ActiveCampaign API v3 — Contacts. 36 operations. Lead operation: ActiveCampaign Sync a Contact''s Data. Self-contained
    Naftiko capability covering one Activecampaign business surface.'
  tags:
  - Activecampaign
  - Contacts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ACTIVECAMPAIGN_API_KEY: ACTIVECAMPAIGN_API_KEY
capability:
  consumes:
  - type: http
    namespace: v3-contacts
    baseUri: https://{yourAccountName}.api-us1.com/api/3
    description: ActiveCampaign API v3 — Contacts business capability. Self-contained, no shared references.
    resources:
    - name: contact-sync
      path: /contact/sync
      operations:
      - name: syncacontactsdata
        method: POST
        description: ActiveCampaign Sync a Contact's Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: contactAutomations
      path: /contactAutomations
      operations:
      - name: createnewcontactautomation
        method: POST
        description: ActiveCampaign Add a Contact to an Automation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: listallcontactautomations
        method: GET
        description: ActiveCampaign List All Automations a Contact is in
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: contactAutomations-id
      path: /contactAutomations/{id}
      operations:
      - name: retrieveacontactautomation
        method: GET
        description: ActiveCampaign Retrieve an Automation a Contact is in
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contactAutomation to retrieve
          required: true
      - name: deleteacontactautomation
        method: DELETE
        description: ActiveCampaign Remove a Contact from an Automation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contactAutomation to delete
          required: true
    - name: contactDeals
      path: /contactDeals
      operations:
      - name: createasecondarycontact
        method: POST
        description: ActiveCampaign Create a Secondary Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: listallsecondarycontacts
        method: GET
        description: ActiveCampaign List All Secondary Contacts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: contactDeals-id
      path: /contactDeals/{id}
      operations:
      - name: retrieveasecondarycontact
        method: GET
        description: ActiveCampaign Retrieve a Secondary Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Secondary Contact's id
          required: true
      - name: updateasecondarycontact
        method: PUT
        description: ActiveCampaign Update a Secondary Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Secondary Contact's id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteasecondarycontact
        method: DELETE
        description: ActiveCampaign Delete a Secondary Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Secondary Contact's id
          required: true
    - name: contactLists
      path: /contactLists
      operations:
      - name: updateliststatusforcontact
        method: POST
        description: ActiveCampaign Update List Status for a Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: contactTags
      path: /contactTags
      operations:
      - name: createcontacttag
        method: POST
        description: ActiveCampaign Add a Tag to Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: contactTags-id
      path: /contactTags/{id}
      operations:
      - name: removeacontactstag
        method: DELETE
        description: ActiveCampaign Remove a Tag from a Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The contactTag id
          required: true
    - name: contacts
      path: /contacts
      operations:
      - name: createanewcontact
        method: POST
        description: ActiveCampaign Create a Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: listallcontacts
        method: GET
        description: ActiveCampaign List, Search, and Filter Contacts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ids
          in: query
          type: string
          description: 'Filter contacts by ID. Can be repeated for multiple IDs. Example: ids[]=1&ids[]=2&ids[]=42'
        - name: email
          in: query
          type: string
          description: Email address of the contact you want to get
        - name: email_like
          in: query
          type: string
          description: Filter contacts that contain the given value in the email address
        - name: exclude
          in: query
          type: integer
          description: Exclude from the response the contact with the given ID
        - name: formid
          in: query
          type: integer
          description: Filter contacts associated with the given form
        - name: id_greater
          in: query
          type: integer
          description: Only include contacts with an ID greater than the given ID
        - name: id_less
          in: query
          type: integer
          description: Only include contacts with an ID less than the given ID
        - name: listid
          in: query
          type: string
          description: Filter contacts associated with the given list
        - name: phone
          in: query
          type: string
          description: Filter contacts where the phone number starts with the given value
        - name: organization
          in: query
          type: integer
          description: (Deprecated) Please use Account-Contact end points. Filter contacts associated with the given organization
            ID
        - name: search
          in: query
          type: string
          description: Filter contacts that match the given value in the contact names, organization, phone or email
        - name: segmentid
          in: query
          type: string
          description: Return only contacts that match a list segment. The first API call within 1 hour or an API call with
            the param `forceQuery=1` will kick off an new segment reque
        - name: seriesid
          in: query
          type: integer
          description: Filter contacts associated with the given automation
        - name: status
          in: query
          type: integer
          description: See [available values](https://developers.activecampaign.com/reference/contact)
        - name: tagid
          in: query
          type: integer
          description: Filter contacts associated with the given tag
        - name: filters[created_before]
          in: query
          type: string
          description: Filter contacts that were created prior to this date
        - name: filters[created_after]
          in: query
          type: string
          description: Filter contacts that were created after this date
        - name: filters[updated_before]
          in: query
          type: string
          description: Filter contacts that were updated before this date
        - name: filters[updated_after]
          in: query
          type: string
          description: Filter contacts that were updated after this date
        - name: waitid
          in: query
          type: integer
          description: Filter by contacts in the wait queue of an automation block
        - name: orders[id]
          in: query
          type: string
          description: Order contacts by unique ID
        - name: orders[cdate]
          in: query
          type: string
          description: Order contacts by creation date
        - name: orders[email]
          in: query
          type: string
          description: Order contacts by email
        - name: orders[first_name]
          in: query
          type: string
          description: Order contacts by first name
        - name: orders[last_name]
          in: query
          type: string
          description: Order contacts by last name
        - name: orders[name]
          in: query
          type: string
          description: Order contacts by full name
        - name: orders[score]
          in: query
          type: string
          description: Order contacts by score. Must be used in conjunction with the `sortId` parameter
        - name: in_group_lists
          in: query
          type: string
          description: Set this to "true" in order to return only contacts that the current user has permissions to see.
        - name: forceQuery
          in: query
          type: number
          description: If present and equal to 1, a new segment request is kicked off which will return an updated result
            set. Otherwise, a segmented API request with a consistent sor
        - name: sortId
          in: query
          type: number
          description: If sorting results by a score or custom field, this parameter holds the id of the score or custom field
            respectively
    - name: contacts-contactId-trackingLogs
      path: /contacts/{contactId}/trackingLogs
      operations:
      - name: getcontactstrackinglogsevents
        method: GET
        description: ActiveCampaign Get Contact's Tracking Logs/Events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: contactId
          in: path
          type: string
          description: The Contact's ID
          required: true
    - name: contacts-id
      path: /contacts/{id}
      operations:
      - name: getcontact
        method: GET
        description: ActiveCampaign Retrieve a Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
      - name: updateacontactnew
        method: PUT
        description: ActiveCampaign Update a Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact to update
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletecontact
        method: DELETE
        description: ActiveCampaign Delete a Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The contact id
          required: true
    - name: contacts-id-accountContacts
      path: /contacts/{id}/accountContacts
      operations:
      - name: retrievecontactaccountcontacts
        method: GET
        description: ActiveCampaign Retrieve a Contacts Account Contacts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    - name: contacts-id-automationEntryCounts
      path: /contacts/{id}/automationEntryCounts
      operations:
      - name: retrievecontactautomationentrycounts
        method: GET
        description: ActiveCampaign Retrieve a Contacts Automation Entry Counts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    - name: contacts-id-bounceLogs
      path: /contacts/{id}/bounceLogs
      operations:
      - name: retrievecontactbouncelogs
        method: GET
        description: ActiveCampaign Retrieve a Contact's Bounce Logs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    - name: contacts-id-contactAutomations
      path: /contacts/{id}/contactAutomations
      operations:
      - name: listallcontactautomationsforcontact
        method: GET
        description: ActiveCampaign List All Automations the Contact is in
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact to receive automations for
          required: true
    - name: contacts-id-contactData
      path: /contacts/{id}/contactData
      operations:
      - name: retrievecontactdata
        method: GET
        description: ActiveCampaign Retrieve a Contact's Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    - name: contacts-id-contactDeals
      path: /contacts/{id}/contactDeals
      operations:
      - name: retrievecontactdealslist
        method: GET
        description: ActiveCampaign Retrieve a List of Contact's Deals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    - name: contacts-id-contactGoals
      path: /contacts/{id}/contactGoals
      operations:
      - name: retrievecontactgoals
        method: GET
        description: ActiveCampaign Retrieve a Contact's Goals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    - name: contacts-id-contactLists
      path: /contacts/{id}/contactLists
      operations:
      - name: retrievecontactlistmemberships
        method: GET
        description: ActiveCampaign Retrieve a Contact's List Memberships
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    - name: contacts-id-contactLogs
      path: /contacts/{id}/contactLogs
      operations:
      - name: retrievecontactlogs
        method: GET
        description: ActiveCampaign Retrieve a Contact's Logs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    - name: contacts-id-deals
      path: /contacts/{id}/deals
      operations:
      - name: retrievecontactdeals
        method: GET
        description: ActiveCampaign Retrieve a Contact's Deals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    - name: contacts-id-fieldValues
      path: /contacts/{id}/fieldValues
      operations:
      - name: retrievecontactfieldvalues
        method: GET
        description: ActiveCampaign Retrieve a Contact's Field Values
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    - name: contacts-id-geoIps
      path: /contacts/{id}/geoIps
      operations:
      - name: retrievecontactgeoips
        method: GET
        description: ActiveCampaign Retrieve a Contacts List of Geo-ips
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    - name: contacts-id-notes
      path: /contacts/{id}/notes
      operations:
      - name: retrievecontactnotes
        method: GET
        description: ActiveCampaign Retrieve a Contacts Notes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    - name: contacts-id-organization
      path: /contacts/{id}/organization
      operations:
      - name: retrievecontactorganization
        method: GET
        description: ActiveCampaign Retrieve a Contacts Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    - name: contacts-id-plusAppend
      path: /contacts/{id}/plusAppend
      operations:
      - name: retrievecontactplusappend
        method: GET
        description: ActiveCampaign Retrieve a Contacts Plus Append
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    - name: contacts-id-scoreValues
      path: /contacts/{id}/scoreValues
      operations:
      - name: retrieveacontactsscorevalue
        method: GET
        description: ActiveCampaign Retrieve a Contact's Score Value
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: id of the Contact
          required: true
    - name: contacts-id-trackingLogs
      path: /contacts/{id}/trackingLogs
      operations:
      - name: retrievecontacttrackinglogs
        method: GET
        description: ActiveCampaign Retrieve a Contacts Tracking Logs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the contact
          required: true
    authentication:
      type: apikey
      key: Api-Token
      value: '{{env.ACTIVECAMPAIGN_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: v3-contacts-rest
    port: 8080
    description: REST adapter for ActiveCampaign API v3 — Contacts. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/contact/sync
      name: contact-sync
      description: REST surface for contact-sync.
      operations:
      - method: POST
        name: syncacontactsdata
        description: ActiveCampaign Sync a Contact's Data
        call: v3-contacts.syncacontactsdata
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contactautomations
      name: contactautomations
      description: REST surface for contactAutomations.
      operations:
      - method: POST
        name: createnewcontactautomation
        description: ActiveCampaign Add a Contact to an Automation
        call: v3-contacts.createnewcontactautomation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listallcontactautomations
        description: ActiveCampaign List All Automations a Contact is in
        call: v3-contacts.listallcontactautomations
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contactautomations/{id}
      name: contactautomations-id
      description: REST surface for contactAutomations-id.
      operations:
      - method: GET
        name: retrieveacontactautomation
        description: ActiveCampaign Retrieve an Automation a Contact is in
        call: v3-contacts.retrieveacontactautomation
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteacontactautomation
        description: ActiveCampaign Remove a Contact from an Automation
        call: v3-contacts.deleteacontactautomation
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contactdeals
      name: contactdeals
      description: REST surface for contactDeals.
      operations:
      - method: POST
        name: createasecondarycontact
        description: ActiveCampaign Create a Secondary Contact
        call: v3-contacts.createasecondarycontact
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listallsecondarycontacts
        description: ActiveCampaign List All Secondary Contacts
        call: v3-contacts.listallsecondarycontacts
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contactdeals/{id}
      name: contactdeals-id
      description: REST surface for contactDeals-id.
      operations:
      - method: GET
        name: retrieveasecondarycontact
        description: ActiveCampaign Retrieve a Secondary Contact
        call: v3-contacts.retrieveasecondarycontact
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateasecondarycontact
        description: ActiveCampaign Update a Secondary Contact
        call: v3-contacts.updateasecondarycontact
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteasecondarycontact
        description: ActiveCampaign Delete a Secondary Contact
        call: v3-contacts.deleteasecondarycontact
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contactlists
      name: contactlists
      description: REST surface for contactLists.
      operations:
      - method: POST
        name: updateliststatusforcontact
        description: ActiveCampaign Update List Status for a Contact
        call: v3-contacts.updateliststatusforcontact
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacttags
      name: contacttags
      description: REST surface for contactTags.
      operations:
      - method: POST
        name: createcontacttag
        description: ActiveCampaign Add a Tag to Contact
        call: v3-contacts.createcontacttag
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacttags/{id}
      name: contacttags-id
      description: REST surface for contactTags-id.
      operations:
      - method: DELETE
        name: removeacontactstag
        description: ActiveCampaign Remove a Tag from a Contact
        call: v3-contacts.removeacontactstag
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts
      name: contacts
      description: REST surface for contacts.
      operations:
      - method: POST
        name: createanewcontact
        description: ActiveCampaign Create a Contact
        call: v3-contacts.createanewcontact
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listallcontacts
        description: ActiveCampaign List, Search, and Filter Contacts
        call: v3-contacts.listallcontacts
        with:
          ids: rest.ids
          email: rest.email
          email_like: rest.email_like
          exclude: rest.exclude
          formid: rest.formid
          id_greater: rest.id_greater
          id_less: rest.id_less
          listid: rest.listid
          phone: rest.phone
          organization: rest.organization
          search: rest.search
          segmentid: rest.segmentid
          seriesid: rest.seriesid
          status: rest.status
          tagid: rest.tagid
          filters[created_before]: rest.filters[created_before]
          filters[created_after]: rest.filters[created_after]
          filters[updated_before]: rest.filters[updated_before]
          filters[updated_after]: rest.filters[updated_after]
          waitid: rest.waitid
          orders[id]: rest.orders[id]
          orders[cdate]: rest.orders[cdate]
          orders[email]: rest.orders[email]
          orders[first_name]: rest.orders[first_name]
          orders[last_name]: rest.orders[last_name]
          orders[name]: rest.orders[name]
          orders[score]: rest.orders[score]
          in_group_lists: rest.in_group_lists
          forceQuery: rest.forceQuery
          sortId: rest.sortId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{contactid}/trackinglogs
      name: contacts-contactid-trackinglogs
      description: REST surface for contacts-contactId-trackingLogs.
      operations:
      - method: GET
        name: getcontactstrackinglogsevents
        description: ActiveCampaign Get Contact's Tracking Logs/Events
        call: v3-contacts.getcontactstrackinglogsevents
        with:
          contactId: rest.contactId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{id}
      name: contacts-id
      description: REST surface for contacts-id.
      operations:
      - method: GET
        name: getcontact
        description: ActiveCampaign Retrieve a Contact
        call: v3-contacts.getcontact
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateacontactnew
        description: ActiveCampaign Update a Contact
        call: v3-contacts.updateacontactnew
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecontact
        description: ActiveCampaign Delete a Contact
        call: v3-contacts.deletecontact
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{id}/accountcontacts
      name: contacts-id-accountcontacts
      description: REST surface for contacts-id-accountContacts.
      operations:
      - method: GET
        name: retrievecontactaccountcontacts
        description: ActiveCampaign Retrieve a Contacts Account Contacts
        call: v3-contacts.retrievecontactaccountcontacts
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{id}/automationentrycounts
      name: contacts-id-automationentrycounts
      description: REST surface for contacts-id-automationEntryCounts.
      operations:
      - method: GET
        name: retrievecontactautomationentrycounts
        description: ActiveCampaign Retrieve a Contacts Automation Entry Counts
        call: v3-contacts.retrievecontactautomationentrycounts
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{id}/bouncelogs
      name: contacts-id-bouncelogs
      description: REST surface for contacts-id-bounceLogs.
      operations:
      - method: GET
        name: retrievecontactbouncelogs
        description: ActiveCampaign Retrieve a Contact's Bounce Logs
        call: v3-contacts.retrievecontactbouncelogs
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{id}/contactautomations
      name: contacts-id-contactautomations
      description: REST surface for contacts-id-contactAutomations.
      operations:
      - method: GET
        name: listallcontactautomationsforcontact
        description: ActiveCampaign List All Automations the Contact is in
        call: v3-contacts.listallcontactautomationsforcontact
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{id}/contactdata
      name: contacts-id-contactdata
      description: REST surface for contacts-id-contactData.
      operations:
      - method: GET
        name: retrievecontactdata
        description: ActiveCampaign Retrieve a Contact's Data
        call: v3-contac

# --- truncated at 32 KB (51 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/activecampaign/refs/heads/main/capabilities/v3-contacts.yaml