AMC Theatres API — Barcodes

AMC Theatres API — Barcodes. 3 operations. Lead operation: Get Loyalty Card QR Code. Self-contained Naftiko capability covering one Amc Entertainment Holdings business surface.

Run with Naftiko Amc Entertainment HoldingsBarcodes

What You Can Do

GET
Getloyaltyqrcode — Get Loyalty Card QR Code
/v1/v3/amc-accounts/{account-id}/loyalty/qr-code
GET
Getticketcode128barcode — Get Ticket Code 128 Barcode
/v1/v3/code128/{encrypted-reference-id}
GET
Getticketqrcode — Get Ticket QR Code
/v1/v3/qr-codes/{encrypted-reference-id}

MCP Tools

get-loyalty-card-qr-code

Get Loyalty Card QR Code

read-only idempotent
get-ticket-code-128-barcode

Get Ticket Code 128 Barcode

read-only idempotent
get-ticket-qr-code

Get Ticket QR Code

read-only idempotent

Capability Spec

amc-theatres-barcodes.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AMC Theatres API — Barcodes
  description: 'AMC Theatres API — Barcodes. 3 operations. Lead operation: Get Loyalty Card QR Code. Self-contained Naftiko
    capability covering one Amc Entertainment Holdings business surface.'
  tags:
  - Amc Entertainment Holdings
  - Barcodes
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMC_ENTERTAINMENT_HOLDINGS_API_KEY: AMC_ENTERTAINMENT_HOLDINGS_API_KEY
capability:
  consumes:
  - type: http
    namespace: amc-theatres-barcodes
    baseUri: https://api.amctheatres.com
    description: AMC Theatres API — Barcodes business capability. Self-contained, no shared references.
    resources:
    - name: v3-amc-accounts-account-id-loyalty-qr-code
      path: /v3/amc-accounts/{account-id}/loyalty/qr-code
      operations:
      - name: getloyaltyqrcode
        method: GET
        description: Get Loyalty Card QR Code
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v3-code128-encrypted-reference-id
      path: /v3/code128/{encrypted-reference-id}
      operations:
      - name: getticketcode128barcode
        method: GET
        description: Get Ticket Code 128 Barcode
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: encrypted-reference-id
          in: path
          type: string
          required: true
    - name: v3-qr-codes-encrypted-reference-id
      path: /v3/qr-codes/{encrypted-reference-id}
      operations:
      - name: getticketqrcode
        method: GET
        description: Get Ticket QR Code
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: encrypted-reference-id
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: X-AMC-Vendor-Key
      value: '{{env.AMC_ENTERTAINMENT_HOLDINGS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amc-theatres-barcodes-rest
    port: 8080
    description: REST adapter for AMC Theatres API — Barcodes. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v3/amc-accounts/{account-id}/loyalty/qr-code
      name: v3-amc-accounts-account-id-loyalty-qr-code
      description: REST surface for v3-amc-accounts-account-id-loyalty-qr-code.
      operations:
      - method: GET
        name: getloyaltyqrcode
        description: Get Loyalty Card QR Code
        call: amc-theatres-barcodes.getloyaltyqrcode
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/code128/{encrypted-reference-id}
      name: v3-code128-encrypted-reference-id
      description: REST surface for v3-code128-encrypted-reference-id.
      operations:
      - method: GET
        name: getticketcode128barcode
        description: Get Ticket Code 128 Barcode
        call: amc-theatres-barcodes.getticketcode128barcode
        with:
          encrypted-reference-id: rest.encrypted-reference-id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/qr-codes/{encrypted-reference-id}
      name: v3-qr-codes-encrypted-reference-id
      description: REST surface for v3-qr-codes-encrypted-reference-id.
      operations:
      - method: GET
        name: getticketqrcode
        description: Get Ticket QR Code
        call: amc-theatres-barcodes.getticketqrcode
        with:
          encrypted-reference-id: rest.encrypted-reference-id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amc-theatres-barcodes-mcp
    port: 9090
    transport: http
    description: MCP adapter for AMC Theatres API — Barcodes. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-loyalty-card-qr-code
      description: Get Loyalty Card QR Code
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amc-theatres-barcodes.getloyaltyqrcode
      outputParameters:
      - type: object
        mapping: $.
    - name: get-ticket-code-128-barcode
      description: Get Ticket Code 128 Barcode
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amc-theatres-barcodes.getticketcode128barcode
      with:
        encrypted-reference-id: tools.encrypted-reference-id
      outputParameters:
      - type: object
        mapping: $.
    - name: get-ticket-qr-code
      description: Get Ticket QR Code
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amc-theatres-barcodes.getticketqrcode
      with:
        encrypted-reference-id: tools.encrypted-reference-id
      outputParameters:
      - type: object
        mapping: $.