Dotdigital API Segment API

The ApiSegment API from Dotdigital — 2 operation(s) for apisegment.

Operations 3

POST /v2/segments/refresh/{id} Refreshes a segment by ID. #
GET /v2/segments/refresh/{id} Gets the refresh progress for a segment. #
GET /v2/segments Gets all segments. #

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/dotdigital-apisegment-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 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.

OpenAPI Specification

dotdigital-apisegment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: apiconnector.com API Segment API
  version: v2
servers:
- url: https://r1-api.dotdigital.com
tags:
- name: ApiSegment
paths:
  /v2/segments/refresh/{id}:
    post:
      tags:
      - ApiSegment
      summary: Refreshes a segment by ID.
      operationId: ApiSegment_RefreshSegment
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
        x-position: 1
      responses:
        '202':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSegmentRefresh'
    get:
      tags:
      - ApiSegment
      summary: Gets the refresh progress for a segment.
      operationId: ApiSegment_GetSegmentRefreshProgress
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSegmentRefresh'
  /v2/segments:
    get:
      tags:
      - ApiSegment
      summary: Gets all segments.
      operationId: ApiSegment_GetSegments
      parameters:
      - name: select
        in: query
        schema:
          type: integer
          format: int32
          default: 1000
        x-position: 1
      - name: skip
        in: query
        schema:
          type: integer
          format: int32
          default: 0
        x-position: 2
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApiSegment'
components:
  schemas:
    ApiSegmentRefresh:
      type: object
      additionalProperties: false
      properties:
        id:
          type: integer
          format: int32
        status:
          $ref: '#/components/schemas/ApiSegmentRefreshStatuses'
    ApiSegmentRefreshStatuses:
      type: string
      description: ''
      x-enumNames:
      - NotStarted
      - NotFinished
      - Finished
      - Failed
      - NotAvailableInThisVersion
      enum:
      - NotStarted
      - NotFinished
      - Finished
      - Failed
      - NotAvailableInThisVersion
    ApiSegment:
      type: object
      additionalProperties: false
      required:
      - name
      properties:
        id:
          type: integer
          format: int32
        name:
          type: string
          minLength: 1
        contacts:
          type: integer
          format: int32
x-generator: NSwag v14.4.0.0 (NJsonSchema v11.3.2.0 (Newtonsoft.Json v13.0.0.0))