Build on Surface
An SDK for rendering forms in your own code, webhooks, a REST API, and browser events.
Three ways in, depending on what you are building. For the MCP server, see the MCP tab.
Your AI Agents
Claude, Codex, Grok, Cursor, Windsurf, and anything else that speaks MCP.
Forms SDK
Render a Surface form from your own markup and styles.
Webhooks & External Forms
Post any HTML form into Surface, and push Surface data anywhere else.
Reference
API Reference
Keys, forms and responses over HTTP.
Events
Browser events for GTM, GA4, Google Ads and Meta Ads.
Which One Do I Want?
| Goal | Use |
|---|---|
| "My assistant should answer questions about our funnel" | MCP, read-only |
| "My assistant should build and publish forms" | MCP, forms bundle |
| "The form must be part of my React app, not an iframe" | Forms SDK |
| "I have an existing HTML form I can't replace" | External forms |
| "Send every submission to our own service" | Webhooks |
| "Fire a conversion event into Google Ads" | Events |
| "Read responses from a cron job" | API reference |
Tool access is scoped to the credential's environment. Add ?readonly=1 and an
agent cannot write. See Tool bundles.