A PAT lets you automate real marketing workflows without sharing your dashboard session. You can create contacts, draft campaign copy, create campaigns, and schedule sends from trusted developer tools while keeping token access revocable.
Use the API Playground tab next to Guides for a Swagger-style playground. Each endpoint is generated from openapi.json, includes request and response schemas, and can prefill examples for cURL, JavaScript, and Python.Paste your PAT into the playground’s bearer token field before sending requests. Playground calls hit the live Nudgen API, so use test contacts and drafts unless you intend to create or launch real campaigns.
Send immediately by setting sendNow to true, or by creating a campaign with sendNow: true.
Launching a campaign schedules real email. Use /api/v1/campaigns/test-send for inbox previews that should not appear as launched campaigns in dashboard stats.
Use Nudgen MCP when your agent supports Model Context Protocol tools. MCP uses the same Personal Access Token as the REST API, but exposes Nudgen as agent-callable tools instead of conventional HTTP endpoints.
MCP server setup
Install Nudgen MCP in Claude Code, Cursor, Windsurf, Codex CLI, or a generic MCP client.
Successful responses return JSON. Validation errors return 400, expired or missing tokens return 401, insufficient plan access returns 403, missing resources return 404, and rate limits return 429.All data is scoped to the token owner’s active workspace.