1Getting started
WalterSuite's API is plain HTTPS and JSON. Every address below starts with https://waltersuite.com. Send JSON with
Content-Type: application/json; names are camelCase, dates are yyyy-mm-dd and times are
ISO 8601 in UTC.
- An Owner or Admin makes a key in WalterSuite: Admin, then API keys, then New API key.
- Send it with every request:
Authorization: Bearer ws_live_… - Try it:
GET /api/v1/meanswers with who the key acts as.
curl https://waltersuite.com/api/v1/me \
-H "Authorization: Bearer ws_live_your_key"
2API keys
A key acts as the person who made it. It never does more than they may in the app: if they can't see money, neither can the key. When they're turned off or leave, or the business can't use WalterSuite, their keys stop working. The key is shown once; WalterSuite keeps only a scrambled copy, so a lost key can't be shown again. Revoke it and make a new one.
Keep keys on a server. Never put an API key in a web page or an app people download: use a website form key there instead.
3Permissions (scopes)
Each key has the permissions ticked when it was made. A request without the one it needs gets 403 with WWW-Authenticate: Bearer error="insufficient_scope".
contacts:read: search and read contacts.contacts:write: add and change contacts, and send in leads.tasks:readandtasks:write: read tasks, and add them.jobs:read: read jobs.calendar:read: read appointments.invoices:read: read invoices and their payments.
4Errors and limits
400: something to fix. The answer is a problem object, witherrorsnaming each field, e.g.{ "errors": { "email": ["Enter a valid email."] } }.401: no key, or one that doesn't work (wrong, revoked, or its person or business can't use WalterSuite).403: the key's permission or its person's role doesn't allow it.404: it doesn't exist, or it's another business's. A module the business has switched off answers 404 too.429: too many requests. Each key may make 120 a minute; wait a moment and try again.
5Endpoints
-
GET
/api/v1/meanyWho the key acts as, their business and the key's scopes. Handy to check a key works.
-
GET
/api/v1/contactscontacts:readContacts, 50 a page. Filters: status (NewLead, ActiveLead, Client, Inactive), search, source, page.
-
GET
/api/v1/contacts/{id}contacts:readOne contact.
-
POST
/api/v1/contactscontacts:writeAdds a contact: firstName (required), lastName, companyName, email, phone, street, city, state, postalCode, status, source, notes, nextFollowUpOn (yyyy-mm-dd).
-
PUT
/api/v1/contacts/{id}contacts:writeChanges a contact. Send every field, as for adding.
-
POST
/api/v1/leadscontacts:writeSends in a lead, handled like one from the business's contact page. See below.
-
GET
/api/v1/taskstasks:readTasks. view: Mine (the default), Given or All (Owners and Admins); state: Open (the default) or Done; contactId.
-
GET
/api/v1/tasks/{id}tasks:readOne task.
-
POST
/api/v1/taskstasks:writeAdds a task: title (required), notes, dueOn, dueAt (hh:mm), isHighPriority, assignedToUserId, contactId.
-
GET
/api/v1/jobsjobs:readJobs. Filters: stageId, search, mine (true or false), contactId.
-
GET
/api/v1/jobs/{id}jobs:readOne job.
-
GET
/api/v1/appointments?from=…&to=…calendar:readAppointments and dated tasks between two days (yyyy-mm-dd, 62 days at most); personId for one person's (Owners and Admins).
-
GET
/api/v1/invoicesinvoices:readInvoices, when the business uses them. Filters: status (Draft, Unpaid, Overdue, Paid, Void), jobId, search.
-
GET
/api/v1/invoices/{id}invoices:readOne invoice, with its payments.
6Sending in a lead
POST /api/v1/leads takes firstName and an email or phone, and
optionally lastName, company, street, city, state,
postalCode, source and message. It does what the business's contact page does:
- a new contact with the status New lead and the source you send (or API), or, when the email matches a contact already there, the message added to them;
- the message in the contact's notes; and
- a high-priority task, due today, for whoever the business chose to hear about new leads (and an email, if they asked for one).
curl https://waltersuite.com/api/v1/leads \
-H "Authorization: Bearer ws_live_your_key" \
-H "Content-Type: application/json" \
-d '{"firstName":"Ann","email":"ann@example.com","message":"Quote for a new roof"}'
It answers 201 with { "contactId": "…", "name": "Ann", "isNew": true }.
7Website forms
For a form on a website, use the business's website form key (Admin, then Website form), not an API key. It can only add leads, so it's safe in a page. WalterSuite gives the business ready-made form code.
- A plain HTML form posts to
https://waltersuite.com/f/{key}. Customers then see the thank-you page (or the business's own one), or the form again with what to fix. - A script posts JSON to
https://waltersuite.com/api/forms/{key}, from any website. It answers200with{ "message": "…" }(the thank-you message) or400with what to fix.GETon the same address gives the form's fields and questions. - Fields are named like the API's:
firstName,lastName,company,email,phone,street,city,state,postalCode,source,message, andq-{question id}for the business's own questions (in JSON:answers, keyed by question id). - Leave the hidden
ws_hpfield empty: it catches robots. Each address may send 5 leads a minute.
8Webhooks
A webhook tells another program the moment something happens in WalterSuite. Owners and Admins add them in Admin, then Webhooks: an https address and the events to send.
- Events:
lead.received,contact.created,contact.updated,task.created,job.created,appointment.createdandinvoice.paid. Send a test sendsping. - Each is a
POSTof JSON:{ "id", "type", "createdAt", "businessId", "data" }, with the headersWalterSuite-EventandWalterSuite-Event-Id. Use the id to ignore a message you've had before. - Answer with any 2xx within 10 seconds. Anything else is tried again after 1 minute, 5 minutes, 30 minutes, 2, 6 and 12 hours, then given up.
Checking a message is from WalterSuite
Each message has WalterSuite-Signature: t={unix seconds},v1={signature}. The signature is the hex
HMAC-SHA256 of {t}.{the body, exactly as received}, keyed with the webhook's signing secret
(whsec_…). Work it out yourself, compare, and refuse messages more than 5 minutes old.
// Node.js
const crypto = require('crypto')
const [t, v1] = header.split(',').map((part) => part.split('=')[1])
const expected = crypto.createHmac('sha256', secret).update(`${t}.${rawBody}`).digest('hex')
const ok = crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(v1))
&& Math.abs(Date.now() / 1000 - Number(t)) < 300
9ChatGPT, Claude and other AI assistants
WalterSuite is a remote MCP server at https://waltersuite.com/mcp, so AI assistants can look up contacts, tasks,
jobs and appointments, and add contacts, leads and tasks, as the person who connects them. Add it as a custom
connector in Claude or ChatGPT; the assistant opens WalterSuite's sign-in, and the person chooses Allow.
They see and remove their connected apps in Settings, then Connected apps.
- Sign-in is OAuth 2.1 with PKCE (S256) and dynamic client registration. Discovery:
https://waltersuite.com/.well-known/oauth-protected-resourceandhttps://waltersuite.com/.well-known/oauth-authorization-server. - Access tokens (
ws_at_…) last an hour and work with/api/v1too; refresh tokens last 60 days and change on each use. - The MCP server speaks JSON-RPC over HTTP POST (the Streamable HTTP transport, without server-sent events).
- Tools, each listed only when the connection has its permission:
searchandfetch(for ChatGPT),search_contacts,get_contact,add_contact,add_lead,list_tasks,add_task,list_jobs,get_jobandlist_appointments.