ActiveCampaign Match One API

Evaluate Contact Id against the provided SegmentId. Returns `true` if Contact matches the given Segment

Operations 2

GET /segmentMatch/{segmentId}/{contactId} Create a Match One Request #
GET /segmentMatch/{segmentId}/{contactId}/{externalId} Check to see if a Contact matches a Segment using the given externalId #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/activecampaign-match-one-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

activecampaign-match-one-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Segments Match One API
  description: API for managing segments in your ActiveCampaign instance
  version: 2.0.0
  contact:
    name: ActiveCampaign Support
    url: https://www.activecampaign.com
servers:
- url: https://{yourAccountName}.api-us1.com/api/3
  variables:
    yourAccountName:
      default: yourAccountName
      description: Your ActiveCampaign account name
security:
- Api_Key: []
tags:
- name: Match One
  description: Evaluate Contact Id against the provided SegmentId. Returns `true` if Contact matches the given Segment
paths:
  /segmentMatch/{segmentId}/{contactId}:
    get:
      operationId: create_match_one_request
      tags:
      - Match One
      summary: Create a Match One Request
      parameters:
      - name: segmentId
        in: path
        description: SegmentId
        required: true
        schema:
          type: string
        examples:
          UUID SegmentId:
            value: 1ab85f0e-3b5c-4a35-bc07-242c68a7d195
          Numeric SegmentId:
            value: '124'
      - name: contactId
        in: path
        description: ContactId
        required: true
        schema:
          type: string
        example: '1524'
      responses:
        '200':
          description: Segment and Contact evaluation completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MatchResponseRootDO'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse400RootDO'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Segment Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse404RootDO'
      deprecated: false
  /segmentMatch/{segmentId}/{contactId}/{externalId}:
    get:
      operationId: segment_match_check_by_external_id
      tags:
      - Match One
      summary: Check to see if a Contact matches a Segment using the given externalId
      parameters:
      - name: segmentId
        in: path
        description: SegmentId
        required: true
        schema:
          type: string
      - name: contactId
        in: path
        description: ContactId
        required: true
        schema:
          type: number
      - name: externalId
        in: path
        description: externalId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Segment, Contact & ExternalId evaluation completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MatchResponseRootDO'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseRootDO'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseRootDO'
      deprecated: false
components:
  schemas:
    ErrorDetail400:
      type: object
      properties:
        status:
          type: string
          example: 400 BAD_REQUEST
        title:
          type: string
          example: Segment 1ab85f0e-3b5c-4a35-bc07-242c68a7d000 is invalid
        detail:
          type: string
        code:
          type: string
      title: ErrorDetail
    MatchResponseRootDO:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/MatchDataDO'
      title: MatchResponseRootDO
    ErrorResponse400RootDO:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail400'
      title: ErrorResponse400RootDO
    MatchAttributeDO:
      type: object
      properties:
        created_timestamp:
          type: string
          format: date-time
          example: '2025-04-12T23:20:50.523Z'
        entity_id:
          type: string
          description: The ContactId that was evaluated against the Segment
          example: '132'
        match:
          type: boolean
          description: True if the Contact matches the Segment. False otherwise
        segment_id:
          type: string
          description: The SegmentId that the Contact was evaluated against
          example: 1ab85f0e-3b5c-4a35-bc07-242c68a7d195
        segment_timestamp:
          type: string
          format: date-time
          example: '2025-04-12T23:20:50.523Z'
      title: MatchAttributeDO
    ErrorDetail:
      type: object
      properties:
        status:
          type: string
        title:
          type: string
        detail:
          type: string
        code:
          type: string
      title: ErrorDetail
    ErrorResponse404RootDO:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail404'
      title: ErrorResponse404RootDO
    MatchDataDO:
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/MatchAttributeDO'
        id:
          type: string
          description: Id that identifies the request. Consists of SegmentId + ContactId
          example: 1ab85f0e-3b5c-4a35-bc07-242c68a7d195132
        type:
          type: string
          enum:
          - match
      title: MatchDataDO
    ErrorResponseRootDO:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail'
      title: ErrorResponseRootDO
    ErrorDetail404:
      type: object
      properties:
        status:
          type: string
          example: 404 NOT_FOUND
        title:
          type: string
          example: Segment 1ab85f0e-3b5c-4a35-bc07-242c68a7d000 not found
        detail:
          type: string
        code:
          type: string
      title: ErrorDetail
  securitySchemes:
    Api_Key:
      type: apiKey
      in: header
      name: Api-Token