AI Service Provider & Headless API Documentation

Complete reference for Formet Headless APIs and AI Service Provider (Text & Image Generation).

Formet Model Context Protocol (MCP) Server & Universal Skill

Official MCP SDK v1.5

Connect AI agents directly to Formet with standard stdio MCP transport. Allows AI tools like Claude Desktop, Cursor, and Antigravity to build forms, submit headless responses, trigger workflows, process payments, and manage webhooks autonomously.

18 Production MCP Tools

Covers forms, Gemini AI generation, headless submissions, workflows, payments with GST, webhooks, email/WhatsApp, and tickets.

Universal Agent Skill

Autoloadable skill path: .agents/skills/formet-automation/SKILL.md

CLI Automation Tool

Execute any command via CLI: node formet_cli.mjs list-forms

API Endpoints

POST/api/v1/forms/fmt_9988/responses

Submit Form Response

Submit a new response for a specific form programmatically.

1 Credits / call
Edits dynamically update snippets & UAT runner

Example Code Snippets

curl
curl -X POST "https://formet.in/api/v1/forms/fmt_9988/responses" \
  -H "Authorization: Bearer formet_uat_universal_test_key" \
  -H "Content-Type: application/json" \
  -d '{
  "answers": {
    "full_name": "Alex Smith",
    "email": "alex@example.com",
    "rating": 5,
    "feedback": "Formet Headless API works seamlessly!"
  },
  "respondent": {
    "name": "Alex Smith",
    "email": "alex@example.com"
  }
}'