Skip to content
Reponse.ai LogoDocs
DocsAPISDKsGuides

Search Documentation

Search for an article...

Getting Started

  • Overview
  • Architecture
  • Installation
  • Authentication
  • First Request

Products & Collections

  • Products — List
  • Products — Get
  • Products — Metafields
  • Collections — List
  • Collections — Get
  • Collections — Products

Cart & Checkout

  • Cart — Create
  • Cart — Get
  • Cart — Add Item
  • Cart — Update Item
  • Cart — Remove Item
  • Cart — Apply Promotion
  • Checkout — Stripe
  • Checkout — Payment Intent
  • Checkout — ACP

Orders & Fulfillment

  • Orders — Create
  • Orders — Get
  • Orders — Confirm
  • Orders — Cancel
  • Orders — Fulfill
  • Orders — Refund

Commerce

  • Inventory — Get
  • Inventory — Update
  • Shipping — Rates
  • Discounts — List
  • Discounts — Create
  • Discounts — Validate
  • Subscriptions — Manage

Loyalty & Gift Cards

  • Loyalty — Balance
  • Loyalty — Redeem
  • Loyalty — Referral
  • Gift Cards — List
  • Gift Cards — Redeem

Tickets & Support

  • Tickets — List
  • Tickets — Create
  • Tickets — Reply

Platform

  • Product Feed — JSON
  • Product Feed — CSV
  • Theme — Get
  • Approvals — Execute
  • Approvals — Reject
  • Geocode

SDKs

  • SDK Overview
  • TypeScript SDK
  • React Hooks

Guides

  • Chat Widget
  • Shopify Sync
  • Storefront Starter
  • Loyalty Program
  • Discounts & Promotions
  • Subscriptions
  • Klaviyo Integration
  • Custom Domains
  • Agentic Commerce (ACP)
  • A2A Protocol
  • AI Engines
  • MCP Server

Webhooks

  • Webhooks Overview
  • Events Reference
  • Shopify Webhooks
  • Stripe Webhooks
  • Reviews (Stamped / Trustpilot)
  • Logistics
  • Email Inbound

Resources

  • Environment Variables
  • Rate Limits
  • Changelog
DocsSDKsSDK Overview

SDK Overview

The Reponse SDKs and tools.

1 min read/Last updated Jul 22, 2026
On this page

Overview

Reponse provides official SDKs and tools to integrate the API into your stack. The TypeScript SDK is auto-generated from the OpenAPI specification, so its types always match the live API. React hooks add declarative data fetching, and the MCP server connects AI agents.

Available SDKs

PackageUse CaseInstall
@reponseai/sdkServer-side and full-stack TypeScriptnpm install @reponseai/sdk
@reponseai/reactReact UI data fetching (SWR-powered)npm install @reponseai/react
@reponseai/mcpConnect AI agents via Model Context Protocolnpm install @reponseai/mcp

Quick Start — TypeScript SDK

typescript
import { Reponse } from "@reponseai/sdk";

const reponse = new Reponse({
  apiKey: process.env.REPONSE_API_KEY!,
});

// List products
const { data } = await reponse.catalog.listProducts({ query: { limit: 10 } });
console.log(data.data);

// Get a single product
const product = await reponse.catalog.getProduct({ path: { id: "prod_01H..." } });
console.log(product.data);

Quick Start — React Hooks

tsx
import { ReponseProvider, useProducts } from "@reponseai/react";

function App() {
  return (
    <ReponseProvider apiKey="rp_live_...">
      <ProductList />
    </ReponseProvider>
  );
}

function ProductList() {
  const { data, error, isLoading } = useProducts({ limit: 20 });

  if (isLoading) return <p>Loading…</p>;
  if (error) return <p>Error: {error.message}</p>;

  return (
    <ul>
      {data.map((p) => (
        <li key={p.id}>{p.title}</li>
      ))}
    </ul>
  );
}

Quick Start — MCP Server

The MCP server lets AI agents (Claude, GPT, custom agents) access your Reponse workspace as a tool:

bash
REPONSE_API_KEY=rp_live_abc123... npx @reponseai/mcp

The server exposes 35 tools like `list_products`, `create_cart`, `fulfill_order`, and `create_checkout` over the Model Context Protocol.

Supported Platforms

PlatformSDKNotes
Node.js 18+@reponseai/sdkFull support, recommended for server-side.
Next.js (App Router)@reponseai/sdk + @reponseai/reactServer Components and Client Components.
Vite / CRA@reponseai/reactClient-side only, requires proxy for API key.
Deno / Bun@reponseai/sdkCommunity-tested, not officially supported.
Browser (CDN)reponse.min.jsLightweight client for script-tag embeds.

Configuration Reference

OptionTypeDefaultDescription
apiKeystring—Workspace API key (required).
baseUrlstringhttps://api.reponse.aiAPI base URL override.
timeoutnumber30000Request timeout in ms.
retriesnumber2Auto-retries on 5xx errors.

Next Steps

  • Installation — Detailed setup instructions
  • First Request — Make your first API call
  • React Hooks — Full hooks reference
  • Rate Limits — Understand API throttling
PreviousGeocode
NextTypeScript SDK