Magic Moment Mappings API

The mappings API from Magic Moment — 2 operation(s) for mappings.

Operations 3

GET /mappings Playbook <-> Hubspot の ID の対応関係を取得する #
PUT /mappings Playbook <-> Hubspot の ID の対応関係を作成・更新する #
DELETE /mappings/{mapping_id}/ Delete mapping #

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/magic-moment-mappings-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

magic-moment-mappings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Magic Moment Mappings API
  version: 1.0.0
  description: 'Operations tagged mappings across 2 of this provider''s published API definitions: magic-moment-hubspot-integration-openapi.yml, magic-moment-salesforce-integration-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://hubspot.magicmoment.co.jp/
- url: https://sfdc.magicmoment.co.jp/
tags:
- name: mappings
paths:
  /mappings:
    get:
      security:
      - accessToken: []
      tags:
      - mappings
      summary: Playbook <-> Hubspot の ID の対応関係を取得する
      operationId: getSyncIDMapOfHubspot
      parameters:
      - name: sync_setting_id
        in: query
        schema:
          type: string
          format: uuid
      - name: mmp_id
        in: query
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sync_id_maps'
    put:
      security:
      - accessToken: []
      tags:
      - mappings
      summary: Playbook <-> Hubspot の ID の対応関係を作成・更新する
      operationId: saveSyncIDMapOfHubspot
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sync_id_maps'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                id_maps:
                  type: array
                  items:
                    type: object
                    properties:
                      hubspot_id:
                        $ref: '#/components/schemas/hubspot_id'
                      mmp_id:
                        $ref: '#/components/schemas/mmp_id'
                sync_setting_id:
                  $ref: '#/components/schemas/sync_setting_id'
        required: true
    servers:
    - url: https://hubspot.magicmoment.co.jp/
  /mappings/{mapping_id}/:
    delete:
      security:
      - accessToken: []
      description: Delete mapping by id of sync_id_mappings table
      tags:
      - mappings
      summary: Delete mapping
      operationId: deleteSyncIDMapOfHubspot
      parameters:
      - $ref: '#/components/parameters/mapping_id'
      responses:
        '200':
          description: OK
    parameters:
    - $ref: '#/components/parameters/mapping_id'
    servers:
    - url: https://hubspot.magicmoment.co.jp/
components:
  schemas:
    sync_id_map:
      type: object
      properties:
        hubspot_id:
          $ref: '#/components/schemas/hubspot_id'
        id:
          type: string
          format: uuid
        mmp_id:
          $ref: '#/components/schemas/mmp_id'
        sync_setting_id:
          $ref: '#/components/schemas/sync_setting_id'
    mmp_id:
      type: string
      format: uuid
    sync_setting_id:
      type: string
      format: uuid
    sync_id_maps:
      type: array
      items:
        $ref: '#/components/schemas/sync_id_map'
    hubspot_id:
      type: string
    sync_id_map_2:
      type: object
      properties:
        id:
          type: string
          format: uuid
        mmp_id:
          $ref: '#/components/schemas/mmp_id'
        sfdc_id:
          $ref: '#/components/schemas/sfdc_id'
        sync_setting_id:
          $ref: '#/components/schemas/sync_setting_id'
    sfdc_id:
      type: string
  parameters:
    mapping_id:
      name: mapping_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
  securitySchemes:
    accessToken:
      type: apiKey
      name: x-access-token
      in: header
    apiKey:
      type: apiKey
      name: x-api-key
      in: header
x-refined-from:
- magic-moment-hubspot-integration-openapi.yml
- magic-moment-salesforce-integration-openapi.yml