Code examples
Usage snippets for Pulbot's MCP for common cases.
Reference
- List flows (cURL)
- curl -H 'X-API-Key: {API_KEY}' https://dev.pulbot.com/api/v1/flow/
- Create flow (cURL)
- curl -X POST -H 'X-API-Key: {API_KEY}' -H 'Content-Type: application/json' -d '{"name":"My flow"}' https://dev.pulbot.com/api/v1/flow/
- Activate production (cURL)
- curl -X PATCH -H 'X-API-Key: {API_KEY}' -d '{"production_mode": true}' https://dev.pulbot.com/api/v1/flow/{id}/production/
- List tools (Python)
- import httpx; r = httpx.get('https://dev.pulbot.com/api/v1/tool/?category=global', headers={'X-API-Key': API_KEY}); print(r.json())
- Claude Code — MCP config
- Add in ~/.claude/settings.json under mcpServers: { "pulbot-dev": { "url": "https://dev.pulbot.com/mcp", "headers": { "X-API-Key": "{API_KEY}" } } }
Next step
Review the complete REST API reference.