SnapAPI · Capability

SnapAPI Signup

Self-service signup for a free SnapAPI API key (50 requests/month, no credit card). Self-contained Naftiko capability covering the SnapAPI signup business surface.

Run with Naftiko SnapAPISignupAPI Key

What You Can Do

POST
Createapikey — Create a free SnapAPI API key
/v1/api/signup

MCP Tools

create-api-key

Create a free SnapAPI API key

Capability Spec

signup.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SnapAPI Signup
  description: Self-service signup for a free SnapAPI API key (50 requests/month, no credit card). Self-contained Naftiko capability covering the SnapAPI signup business surface.
  tags:
    - SnapAPI
    - Signup
    - API Key
  created: '2026-05-27'
  modified: '2026-05-27'
binds:
  - namespace: env
    keys:
      SNAPAPI_API_KEY: SNAPAPI_API_KEY
capability:
  consumes:
    - type: http
      namespace: snapapi-signup
      baseUri: https://snap.michaelcli.com
      description: SnapAPI signup business capability. Public endpoint, no authentication required.
      resources:
        - name: signup
          path: /api/signup
          operations:
            - name: createApiKey
              method: POST
              description: Create a free SnapAPI API key
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
              inputParameters:
                - name: body
                  in: body
                  type: object
                  description: Signup request body with email and name (JSON).
                  required: true
  exposes:
    - type: rest
      namespace: snapapi-signup-rest
      port: 8080
      description: REST adapter for SnapAPI Signup. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/api/signup
          name: signup
          description: REST surface for the signup endpoint.
          operations:
            - method: POST
              name: createApiKey
              description: Create a free SnapAPI API key
              call: snapapi-signup.createApiKey
              with:
                body: rest.body
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: snapapi-signup-mcp
      port: 9090
      transport: http
      description: MCP adapter for SnapAPI Signup. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: create-api-key
          description: Create a free SnapAPI API key
          hints:
            readOnly: false
            destructive: false
            idempotent: false
          call: snapapi-signup.createApiKey
          with:
            body: tools.body
          outputParameters:
            - type: object
              mapping: $.