Why this matters
You can connect Nudgen to scripts, internal tools, and AI agents without sharing a dashboard session. PAT requests use your account’s active workspace. OAuth MCP connections are bound to the workspace you approve during sign-in. Workspace permissions and rate limits still apply.Create an API key
- Open get.nudgen.net.
- Go to Settings -> API Keys.
- Create a Personal Access Token.
- Copy the token once and store it securely.
REST API
Use the REST API when you want conventional HTTP endpoints for contacts, campaigns, brand settings, and AI draft generation.MCP server
Use MCP when an AI agent can call tools directly instead of hand-coding REST requests. The MCP endpoint is:Safety notes
- Treat PATs like passwords.
- Revoke tokens from Settings -> API Keys when they are no longer needed.
- Campaign launch endpoints can send real email when the worker processes the queue.
- Use future
scheduledAtvalues for tests when you do not want to send immediately.