Skip to main content
Every Nudge workspace has a REST API. Anything an admin can do in the app, a key can do over HTTPS: read and write contacts, import a book of leads, create and switch automations on and off, manage templates, send WhatsApp messages. What it deliberately cannot do is change your configuration, your schema, or the app itself. The common uses: pushing leads in from a website or another system, syncing contact data with a tool Nudge has no native integration for, and pointing an AI assistant at your workspace so you can ask it to do the boring parts.

Getting a key

Go to Settings → API and click New key. Name it after whatever will use it, for example “website” or “Claude”.
The full key is shown once, at creation. Copy it then. Afterwards the table shows only the last four characters, and there is no way to reveal it again. Lost a key? Revoke it and make a new one.
Revoking cuts access immediately. Keys are never deleted, so the record of what existed and when it was last used survives.

Making a request

The same screen shows your workspace’s base URL. Every key goes in an Authorization header:
A quick connectivity check:
Responses are JSON. Errors come back as {"error": "..."} with a 400, 401 or 404, and the message says what was actually wrong rather than “bad request”.

What you can call

Contacts

Creating a contact requires a name, phone number or email address. Empty requests are rejected, even if they include a source or status. The bulk import deliberately does not start automations. Importing four thousand old leads should not message four thousand people. When you do want an import enrolled in an automation, turn that automation on afterwards with New and recent matches, using a window that covers the import.

Automations

Because POST /triggers matches on name, running the same request twice updates rather than duplicates. That makes it safe to keep your automations in version control and replay them.

Templates and messages

GET, POST, PATCH and DELETE on /templates manage the library. POST /messages sends WhatsApp to one contact or up to 500:
Variables resolve per recipient, exactly like a template send.
API sends join the same paced queue as everything else. A script cannot make your reps’ numbers send faster than the safety settings allow, which is the point.

Things worth knowing

  • One key, full access. There are no per-key permissions yet. Treat a key like an admin password and give each integration its own, so you can revoke one without disturbing the others.
  • Creating contacts is standalone-mode only. If your workspace syncs with HubSpot, contacts come from HubSpot and creating them through the API is refused. Reading, updating and sending work in both modes. See Standalone vs HubSpot.
  • WhatsApp only, for now. Email sending through the API is not built yet.
  • Contact ids are stable. In HubSpot mode they are the HubSpot contact id; standalone they look like nudge: followed by a uuid.

Watching what happens

Settings → API lists the last 100 requests: when, which key, what was called, the status, and the error for anything that failed. It keeps 30 days. When an integration misbehaves, look here first. It usually tells you the answer without needing anyone to reproduce anything.

Using it with an AI assistant

You do not need a REST key for this. Settings → API opens with an AI connectors card: click Connect Claude or Connect ChatGPT, and you get a connector URL and a one-time key to paste into that app’s own connector settings. From then on you can work the CRM by asking — “import these leads”, “which contacts replied this week and got no follow-up”, “turn off the reactivation automation”. A connector key is not the same thing as a REST key, and the difference matters:
  • A REST key says a program may do admin things. It belongs to the workspace.
  • A connector key says this person’s assistant acts as them. It belongs to whoever created it, every action it takes lands in the activity feed under their name, and reversible ones can be undone.
So give each person their own connector rather than sharing one, and revoke it the same way you revoke any key. Adding it to Claude. In Claude, open Settings → Connectors → Add custom connector, paste the connector URL and continue. Under Authentication pick No sign-in, then add a request header named x-api-key with your key as its value. Don’t pick Sign in now: Nudge doesn’t use that kind of sign-in, so a connector saved that way never connects. If you saved one by mistake, remove it and add it again. A speed limit. Each connector can make 60 requests a minute. Past that, the assistant is told to wait a moment and carries on by itself.

Asking about a group of contacts

The assistant sees your contacts the way the Contacts page does. It can open any saved view your team shares, or filter by Possibility, by any field, or by who replied and who is still waiting on you. “Which host families in Interested replied?” comes back as one list, with each contact’s owner, when they last replied and how long they’ve been waiting. Big lists come back a page at a time, and the assistant keeps going until it has them all. That keeps a question about thousands of contacts from slowing the app down for your team. Contacts whose owner isn’t on your team stay hidden, as they do on the page.

Saved views and SLAs by asking

The assistant can save a view on the Contacts page the way you would: “save a shared view of host families in Interested who are waiting on us”. It can also rename one, change its filters, or delete it. The same rules apply as on the page. A view belongs to whoever made it, an admin can edit any shared view, and only the person who made a view can delete it. Owners can be named by name or email. Admins can also set up SLAs this way. Every SLA sits on a saved view and tracks one of that view’s HubSpot filters, so the assistant asks for both. Ask it which filters a view can track and it will tell you. It won’t put an SLA on the All view, on a view that already has one, or on a view with nothing from HubSpot to track. It tells you why and what to change instead. Limits default to at risk after 4 hours and breached after a day.

Moving many contacts at once

The assistant can change a contact’s Possibility one at a time, up to 25 an hour. For more than that, it first shows you the whole list: who moves, who is already there, and which automations listen for the new Possibility and could start. It only goes ahead after you say yes, and if any of those contacts changed in the meantime, it shows you the list again. Each contact’s change can be undone on its own.

Building workflows and automations by asking

Describe a workflow (“call them, if nobody answers send a WhatsApp, then close the lead”) and the assistant can build it: the automations and the workflow that draws them together. Everything it builds arrives switched off. Nothing runs until someone turns it on. To turn a workflow on, the assistant first shows how many contacts each automation would act on right away. It switches the workflow on only after you say yes, and only all of it: if the numbers changed since you looked, nothing switches and it shows you the new ones. Turning a workflow off needs no preview. Anyone can ask about workflows. Building and switching them is for admins: their assistant has these tools and a member’s doesn’t.

Adding contacts by asking

Paste a list, forward a spreadsheet, or describe someone you just got off the phone with, and the assistant can put them in — up to 100 at a time. Four rules govern it:
  • Nothing gets sent. New contacts arrive as data. No workflow runs and no message goes out, however the contact is staged. Putting a batch through a workflow is a separate decision: enable the workflow in backfill mode.
  • Running the same list twice is safe. Contacts are matched on phone number, then on email address, so someone already on file is updated instead of duplicated. A contact with neither is refused and named back to you — there would be no way to recognise them next time.
  • The stage applies to new contacts only. Someone already on file keeps the stage they have — the assistant will tell you which ones it left alone, and you can ask it to move them.
  • Standalone workspaces only. If your contacts sync from HubSpot, they are created in HubSpot and arrive here on the next sync.

Removing contacts

The assistant can’t delete contacts. On a standalone workspace an admin deletes them in Nudge, from the contacts list or the contact’s page, where a deleted contact can be restored for 30 days. Ask it to undo contacts it just added and it removes those, as long as nothing has happened to them since. One that has picked up a message, a note or a deal is kept, and the assistant says which.

Bringing your history in

An assistant can also record what has already happened: calls you had, emails from a thread, WhatsApp exchanges, notes, follow-up tasks and deals. This is how a workspace that has been running somewhere else arrives with its past intact rather than starting empty — and it is how you log a call the moment you put the phone down. Nothing is sent. These are records of things that already occurred, written in a finished state that the sending machinery cannot see, so there is no way for a logged message to go out to anybody. Two consequences worth knowing:
  • A logged reply behaves like a real one. It puts the conversation in your Inbox and marks the contact as having replied — which also pauses any chase automation for that contact, exactly as a genuine reply would. That is usually what you want; it is worth knowing before you import a year of history into a workspace with live automations.
  • Messages that went out as one campaign can say so. Tell the assistant they were a campaign and they are grouped on the Bulk Action tab as a single send, with per-recipient results, instead of scattered across timelines.
Deals follow the pipeline you already have: one open deal per contact, so recording a deal on someone who already has one updates it rather than putting a second on the board, and a stage the board has no column for is reported back rather than silently dropped.

Setting up your agents by asking

Your assistant can set up and change your chat and voice agents, so you can describe what you want instead of working through each page. A change that would publish stops if someone has unpublished changes waiting on the agent’s page. Publish or discard them there first, so nobody’s half-finished work goes live by accident. Chat agents. It can create one, rewrite its instructions, pick its knowledge and give it templates by label. When what the agent says changes, that goes out as a new version, the same as pressing Publish. It can also give the agent a WhatsApp number and say who it answers, give it an email address with its own Off, Suggest or Live, change your team’s name for it, or set it Inactive. Those take effect straight away. What an agent may change on a contact is each field’s own switch, and the assistant can set those too. Deleting an agent and unticking a single template are done on the agent’s page. Voice agents.
  • Reading. It reads an agent’s prompt, its opening line and the contact fields its calls fill in.
  • The prompt and the opening line. You see the change before anything goes live. An empty opening line makes the agent wait for the other person to speak, so on a call it makes, it stays silent until they say something. Ask it to undo and the previous prompt and line come back, though calls made in between used the new ones.
  • The name and the contact fields. It can rename the agent and choose which contact fields its calls fill in: the same fields the Contact field column on the agent’s page saves to, plus name and email when the agent asks for them. This works in standalone workspaces, for agents whose fields haven’t been picked answer by answer on their page yet; once they have, it tells you to change them there. You see what would be added and taken off first. A field taken off is no longer picked out of calls, and a new one is picked out from the next call on. The prompt still decides what the agent asks, so say in the prompt when it should ask for something new. The phone number is never on the list, and neither is a field agents may only read. To go back, restore an earlier version on the agent’s page.
  • New agents. It can create one with a prompt and an opening line.
Changes count from the agent’s next call. A change to what it says, its name or what it asks is saved as a version in the agent’s history. The voice, engine, language, knowledge and numbers stay on the agent’s page. Who can do what. Anyone can read a voice agent and change its prompt or opening line, as on the page. The rest is for admins: their assistant has these tools and a member’s doesn’t. Choosing contact fields is for standalone workspaces; with HubSpot, a call’s answers stay on the call.