Building Blocks / Developer & Headless
Headless API & MCP
REST and MCP for servers and LLM agents. No widget.
No widget. Call the REST API at
https://api-v2.dropcowboy.comfrom your server with an API key, or connect an AI agent to MCP athttps://mcp.dropcowboy.com/mcp. Start with the API reference or connect AI tools.
When to use this vs REST
This block is REST and MCP. Use it from servers and AI agents. There is nothing to embed.
Do not rebuild
- A client for our API. The MCP server already exposes the tools to Cursor and Claude.
Drop-in
API keys stay on the server. Catalog discovery at https://mcp.dropcowboy.com/mcp/public needs no key, and the same catalog is plain JSON at https://mcp.dropcowboy.com/building-blocks. Data tools are on /mcp and need the team signed in or an API key.
# SMS from your backend. phone_line_id is a line with an approved texting campaign.
curl -X POST https://api-v2.dropcowboy.com/sms \
-H "x-key: $KEY" -H "x-secret: $SECRET" \
-H "Content-Type: application/json" \
-d '{"to":"+15125550148","phone_line_id":"e2b6f9a3-5c1d-4e8b-a4f7-9c3e1b5d7a28","body":"Hi from Drop Cowboy"}'
# No login (Cursor / Claude): https://mcp.dropcowboy.com/mcp/public
# list_building_blocks, get_building_block, get_builder_setup_guide
# Catalog as JSON: GET https://mcp.dropcowboy.com/building-blocks
# Signed in or API key: https://mcp.dropcowboy.com/mcp
# contacts, campaigns, messaging, ...
JS API / HTML tag
No browser widget and no HTML tag. To look up Building Blocks with no key, MCP clients connect to https://mcp.dropcowboy.com/mcp/public; the same catalog is JSON at GET https://mcp.dropcowboy.com/building-blocks. Data tools are on https://mcp.dropcowboy.com/mcp and need the team signed in or an API key.
Auth and scopes
API key and secret on your server. Looking up blocks at /mcp/public or /building-blocks needs no key.
Limits
- API keys stay on the server. Never ship them to a browser.
- Each key only has the scopes you grant it.
Related REST
Routes are on https://api-v2.dropcowboy.com.
- POST /sms - send a text (sms:send)
- https://mcp.dropcowboy.com/mcp/public - MCP server, no login (Building Blocks catalog)
- GET https://mcp.dropcowboy.com/building-blocks - the catalog as JSON
- https://mcp.dropcowboy.com/mcp - MCP server for data tools (sign in or API key)
Full reference: Texts API.