Smartproxy · Capability

Smartproxy API — Authentication

Smartproxy API — Authentication. 1 operations. Lead operation: Authenticate. Self-contained Naftiko capability covering one Smartproxy business surface.

Run with Naftiko SmartproxyAuthentication

What You Can Do

POST
Authenticate — Authenticate
/v1/auth

MCP Tools

authenticate

Authenticate

Capability Spec

smartproxy-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Smartproxy API — Authentication
  description: 'Smartproxy API — Authentication. 1 operations. Lead operation: Authenticate. Self-contained Naftiko capability
    covering one Smartproxy business surface.'
  tags:
  - Smartproxy
  - Authentication
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SMARTPROXY_API_KEY: SMARTPROXY_API_KEY
capability:
  consumes:
  - type: http
    namespace: smartproxy-authentication
    baseUri: https://api.decodo.com/v1
    description: Smartproxy API — Authentication business capability. Self-contained, no shared references.
    resources:
    - name: auth
      path: /auth
      operations:
      - name: authenticate
        method: POST
        description: Authenticate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.SMARTPROXY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: smartproxy-authentication-rest
    port: 8080
    description: REST adapter for Smartproxy API — Authentication. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/auth
      name: auth
      description: REST surface for auth.
      operations:
      - method: POST
        name: authenticate
        description: Authenticate
        call: smartproxy-authentication.authenticate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: smartproxy-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for Smartproxy API — Authentication. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: authenticate
      description: Authenticate
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: smartproxy-authentication.authenticate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.