Mida Personalization API

The Personalization API from Mida — 5 operation(s) for personalization.

GitHub OpenAPI

Operations 7

POST /v2/project/{project_key}/personalization/campaigns/{campaign_id}/accounts Add Accounts to a Personalization Campaign #
POST /v2/project/{project_key}/personalization/campaigns Create Personalization Campaign #
GET /v2/project/{project_key}/personalization/campaigns List Personalization Campaigns #
GET /v2/project/{project_key}/personalization/campaigns/{campaign_id} Get Personalization Campaign #
PATCH /v2/project/{project_key}/personalization/campaigns/{campaign_id} Set the Goal on a Personalization Campaign #
GET /v2/project/{project_key}/personalization/saved-accounts List Saved Target Accounts #
GET /v2/project/{project_key}/personalization/suggested-pages Suggested Pages to Personalize #

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/mida-so:mida-so-personalization-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

mida-so-personalization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mida Personalization API
  version: 2.0.0
  description: 'Manage Mida A/B tests, goals, events, hypotheses, surveys and personalization campaigns. Accounts live in one region: call the US or EU server your account is hosted in (Dashboard → Settings shows which). Generated from https://docs.mida.so.'
  contact:
    name: Mida
    url: https://www.mida.so
servers:
- url: https://api-us.mida.so
  description: US region
- url: https://api-eu.mida.so
  description: EU region
security:
- bearerAuth: []
- apiKeyHeader: []
tags:
- name: Personalization
paths:
  /v2/project/{project_key}/personalization/campaigns/{campaign_id}/accounts:
    post:
      operationId: addPersonalizationAccounts
      summary: Add Accounts to a Personalization Campaign
      description: Add companies to a campaign that already exists and get each one's link back immediately. The link is final on return, so it is safe to store or send straight away; the researched copy lands behind that same URL over the following minutes.
      tags:
      - Personalization
      externalDocs:
        url: https://docs.mida.so/docs/v2/add-personalization-accounts
      parameters:
      - name: project_key
        in: path
        required: true
        schema:
          type: string
        description: Your project's API key
      - name: campaign_id
        in: path
        required: true
        schema:
          type: integer
        description: The campaign to add to. From List Personalization Campaigns
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                accounts:
                  type: array
                  items: {}
                  description: '**Required.** Entries of `{ "name": string, "domain"?: string, "notes"?: string }`'
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                success: true
                abm_campaign_id: 23
                campaign_name: TechSpo 2026
                url: /personalize/abm/23
                launched: true
                links_live: true
                added:
                - abm_campaign_account_id: 512
                  name: Klaviyo
                  domain: klaviyo.com
                  notes: On VWO today, moving off it over price...
                  link: https://yoursite.com/?m=k3Rt9vQ2mLpX7wZa1BcD
                already_on_campaign: []
                pages:
                - https://yoursite.com/
                - https://yoursite.com/pricing
                building: true
                needs_goal: false
                _note: The links work now and are final. Research and personalized copy are being written and take a few minutes per account; until then the link shows the page as it normally is. The campaign is live, so each link personalizes as soon as its copy lands.
        '401':
          description: Missing or invalid API key
  /v2/project/{project_key}/personalization/campaigns:
    post:
      operationId: createPersonalizationCampaign
      summary: Create Personalization Campaign
      description: 'Build a new Personalization campaign. Two strategies: accounts researches named companies and writes copy for each, personas writes one version per job role with no company list and no research. Returns a campaign to open, not a finished campaign, and never publishes.'
      tags:
      - Personalization
      externalDocs:
        url: https://docs.mida.so/docs/v2/create-personalization-campaign
      parameters:
      - name: project_key
        in: path
        required: true
        schema:
          type: string
        description: Your project's API key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                strategy:
                  type: string
                  description: '**Required.** `"accounts"` or `"personas"`'
                name:
                  type: string
                  description: Short campaign name. One is invented if you leave it out
                page_urls:
                  type: array
                  items: {}
                  description: '**Required.** Pages to personalize, on your own site. Take these from Suggested Pages'
                goal_profile_id:
                  type: number
                  description: The conversion that decides whether personalization worked. Optional, but the campaign cannot be launched without one
                accounts:
                  type: array
                  items: {}
                  description: '**Required when `strategy` is `accounts`.** Entries of `{ "name", "domain"?, "notes"? }`'
                personas:
                  type: array
                  items: {}
                  description: '**Required when `strategy` is `personas`.** Entries of `{ "label", "description"? }`'
                persona_param:
                  type: string
                  description: '`personas` only. The URL parameter carrying the role: `utm_campaign` (default), `utm_term`, `utm_medium`, `utm_source` or `ref`'
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                success: true
                abm_campaign_id: 41
                name: Q3 enterprise outbound
                url: /personalize/abm/41
                account_count: 1
                page_urls:
                - https://yoursite.com/
                - https://yoursite.com/pricing
                building: true
                needs_goal: false
        '401':
          description: Missing or invalid API key
    get:
      operationId: listPersonalizationCampaigns
      summary: List Personalization Campaigns
      description: This project's Personalization campaigns, newest first, with how many accounts each has, how many already have copy, and whether it is building or launched. Call this to find a campaign_id before adding accounts to one.
      tags:
      - Personalization
      externalDocs:
        url: https://docs.mida.so/docs/v2/list-personalization-campaigns
      parameters:
      - name: project_key
        in: path
        required: true
        schema:
          type: string
        description: Your project's API key
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                success: true
                campaigns:
                - abm_campaign_id: 23
                  name: TechSpo 2026
                  status: launched
                  url: /personalize/abm/23
                  account_count: 12
                  accounts_with_copy: 11
                  launched: true
                  building: true
                  updated_at: '2026-08-21T04:12:08.000Z'
        '401':
          description: Missing or invalid API key
  /v2/project/{project_key}/personalization/campaigns/{campaign_id}:
    get:
      operationId: getPersonalizationCampaign
      summary: Get Personalization Campaign
      description: 'One campaign in enough detail to answer how a build is going and what is left: the stage it reached, how many accounts were researched and had copy written, which failed and why, and whether it still needs a goal before it can be launched.'
      tags:
      - Personalization
      externalDocs:
        url: https://docs.mida.so/docs/v2/get-personalization-campaign
      parameters:
      - name: project_key
        in: path
        required: true
        schema:
          type: string
        description: Your project's API key
      - name: campaign_id
        in: path
        required: true
        schema:
          type: integer
        description: From List Personalization Campaigns
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                success: true
                abm_campaign_id: 23
                name: TechSpo 2026
                status: launched
                launched: true
                needs_goal: false
                account_count: 12
                accounts_with_copy: 11
                pipeline:
                  status: running
                  stage: copy
                  research:
                    total: 1
                    done: 1
                    failed: 0
                  copy:
                    total: 1
                    done: 0
                    failed: 0
        '401':
          description: Missing or invalid API key
    patch:
      operationId: setPersonalizationGoal
      summary: Set the Goal on a Personalization Campaign
      description: Attach a goal to a campaign that already exists, or change the one it has. A campaign cannot be launched without a goal, and a campaign created without one reports needs_goal until this is called.
      tags:
      - Personalization
      externalDocs:
        url: https://docs.mida.so/docs/v2/set-personalization-goal
      parameters:
      - name: project_key
        in: path
        required: true
        schema:
          type: string
        description: Your project's API key
      - name: campaign_id
        in: path
        required: true
        schema:
          type: integer
        description: The campaign to set the goal on. From List Personalization Campaigns
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                goal_profile_id:
                  type: number
                  description: '**Required.** The goal that decides whether the personalization worked. From List Goals; create one first with Create Goal if none fits'
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                success: true
                abm_campaign_id: 23
                name: B2B Growth Marketers
                url: /personalize/abm/23
                goal:
                  goal_profile_id: 969
                  goal_name: Created an account
                  goal_type: script
                previous_goal_profile_id: null
                changed: true
                launched: false
                needs_goal: false
                _note: The campaign can now be launched from its page once the copy has been reviewed.
        '401':
          description: Missing or invalid API key
  /v2/project/{project_key}/personalization/saved-accounts:
    get:
      operationId: listSavedTargetAccounts
      summary: List Saved Target Accounts
      description: Companies this project has targeted before, most recently used first. An account already listed has been researched already, so reusing it is cheaper and starts warm.
      tags:
      - Personalization
      externalDocs:
        url: https://docs.mida.so/docs/v2/list-saved-target-accounts
      parameters:
      - name: project_key
        in: path
        required: true
        schema:
          type: string
        description: Your project's API key
      - name: search
        in: query
        required: false
        schema:
          type: string
        description: Optional filter on name, domain or industry
      responses:
        '200':
          description: Success
        '401':
          description: Missing or invalid API key
  /v2/project/{project_key}/personalization/suggested-pages:
    get:
      operationId: personalizationSuggestedPages
      summary: Suggested Pages to Personalize
      description: Which of your own pages are worth personalizing, ranked, with a reason each. Candidates come from your real traffic over the last 60 days, so these are pages that exist and get visited.
      tags:
      - Personalization
      externalDocs:
        url: https://docs.mida.so/docs/v2/personalization-suggested-pages
      parameters:
      - name: project_key
        in: path
        required: true
        schema:
          type: string
        description: Your project's API key
      - name: account
        in: query
        required: false
        schema:
          type: string
        description: Optional, repeatable. Company names to rank the pages for. The ranking is much sharper with them than without
      responses:
        '200':
          description: Success
        '401':
          description: Missing or invalid API key
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'An API key generated in the Mida dashboard, sent as `Authorization: Bearer <key>`.'
    apiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: 'The same API key, sent as `x-api-key: <key>`.'
externalDocs:
  url: https://docs.mida.so/docs/intro