API & MCP Authentication
Automate Whopshorts from your backend, n8n workflows, or AI coding agents using Bearer API keys and our Model Context Protocol (MCP) server.
1. HTTP REST API
Generate an API key in /account and pass it in the Authorization header:
curl -X POST https://whopshorts.app/api/v1/clips \
-H "Authorization: Bearer ws_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"preset": "alex-hormozi-pop",
"aspectRatio": "9:16"
}'
2. Connecting via MCP (Claude / Cursor / n8n)
Point your MCP client to the Whopshorts MCP endpoint with your Bearer token to let agents search clips, trigger renders, and inspect job status without custom glue code.