Amplitude · Capability

Amplitude User Mapping API — User Mapping

Amplitude User Mapping API — User Mapping. 2 operations. Lead operation: Amplitude Map User Identities. Self-contained Naftiko capability covering one Amplitude business surface.

Run with Naftiko AmplitudeUser Mapping

What You Can Do

POST
Mapuser — Amplitude Map User Identities
/v1/api/2/usermap
POST
Unmapuser — Amplitude Unmap User Identities
/v1/api/2/userunmap

MCP Tools

amplitude-map-user-identities

Amplitude Map User Identities

amplitude-unmap-user-identities

Amplitude Unmap User Identities

Capability Spec

user-mapping-user-mapping.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amplitude User Mapping API — User Mapping
  description: 'Amplitude User Mapping API — User Mapping. 2 operations. Lead operation: Amplitude Map User Identities. Self-contained
    Naftiko capability covering one Amplitude business surface.'
  tags:
  - Amplitude
  - User Mapping
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMPLITUDE_API_KEY: AMPLITUDE_API_KEY
capability:
  consumes:
  - type: http
    namespace: user-mapping-user-mapping
    baseUri: https://amplitude.com
    description: Amplitude User Mapping API — User Mapping business capability. Self-contained, no shared references.
    resources:
    - name: api-2-usermap
      path: /api/2/usermap
      operations:
      - name: mapuser
        method: POST
        description: Amplitude Map User Identities
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-2-userunmap
      path: /api/2/userunmap
      operations:
      - name: unmapuser
        method: POST
        description: Amplitude Unmap User Identities
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.AMPLITUDE_USER}}'
      password: '{{env.AMPLITUDE_PASS}}'
  exposes:
  - type: rest
    namespace: user-mapping-user-mapping-rest
    port: 8080
    description: REST adapter for Amplitude User Mapping API — User Mapping. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/api/2/usermap
      name: api-2-usermap
      description: REST surface for api-2-usermap.
      operations:
      - method: POST
        name: mapuser
        description: Amplitude Map User Identities
        call: user-mapping-user-mapping.mapuser
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2/userunmap
      name: api-2-userunmap
      description: REST surface for api-2-userunmap.
      operations:
      - method: POST
        name: unmapuser
        description: Amplitude Unmap User Identities
        call: user-mapping-user-mapping.unmapuser
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: user-mapping-user-mapping-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amplitude User Mapping API — User Mapping. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: amplitude-map-user-identities
      description: Amplitude Map User Identities
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: user-mapping-user-mapping.mapuser
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amplitude-unmap-user-identities
      description: Amplitude Unmap User Identities
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: user-mapping-user-mapping.unmapuser
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.