Quick start
Most studios never touch the API; the dashboard and the journeys cover the daily work. These docs are for owners and their developers who want the at-risk list in their own tools, a Slack alert when a long-time member's score jumps, or a consented member import from a system we do not connect to directly. API version v1, base URL https://api.engagenova.xyz/v1.
1. Connect the booking system
In Settings → Integrations, pick your system. For Mindbody, enter your Site ID and approve EngageNova through the activation link Mindbody shows in your business account; one Site ID can cover several locations, and you choose which to enable. Zen Planner and PushPress are connected with an owner login during the setup call.
The first import pulls members, memberships, class packs, bookings and check-ins from the last 12 months so that each member's usual pattern can be calculated. After that, data syncs every hour. Systems without a supported connection can send a nightly CSV (see step 4).
$ engagenova sync status --location loc_8Kd2source mindbody site 5739xx location 1members 612 imported, 41 skipped (no consent recorded)check-ins 18,904 since 2025-12-01first scores readynext sync in 42 min
2. Create an API key
Owners and managers can create keys under Settings → API. Live keys start with en_live_, test keys with en_test_ and return sample data only. Keys inherit the creator's location access, so a manager's key cannot read another location. Send the key as a bearer token on every request; keys can be revoked instantly and are shown once.
3. Read the at-risk list
GET /locations/{location_id}/at-risk returns members sorted by score, highest first. The same list your staff see on Monday morning is generated at 7:00 am location time; between those runs, scores update after every hourly sync.
request
curl https://api.engagenova.xyz/v1/locations/loc_8Kd2/at-risk?min_score=60&limit=25 \
-H "Authorization: Bearer en_live_xxxxxxxxxxxxxxxx" 200 OK
{
"location_id": "loc_8Kd2",
"generated_at": "2026-11-30T07:00:00-08:00",
"data": [
{
"member_id": "mem_4471",
"source": "mindbody",
"external_id": "100004471",
"score": 82,
"band": "high",
"signals": {
"visits_per_week_baseline": 3.1,
"visits_per_week_current": 0.6,
"missed_bookings_streak": 3,
"days_since_checkin": 17,
"pack_credits_remaining": null,
"membership_ends_on": null
},
"next_step": "journey.win_back"
}
],
"next_cursor": null
} Parameters
| Name | In | Description |
|---|---|---|
| location_id | path | Location to read. Each location in a Mindbody site has its own ID. |
| min_score | query | Integer 0 to 100. Default 60. Bands: low 0–39, medium 40–69, high 70–100. |
| band | query | low, medium or high. Overrides min_score when set. |
| limit | query | 1 to 100. Default 25. |
| cursor | query | Value of next_cursor from the previous page. |
4. Webhooks and CSV import
Register an HTTPS endpoint under Settings → Webhooks. Events: member.risk_changed, message.received, member.opted_out and journey.completed. Each request carries an EngageNova-Signature header, an HMAC-SHA256 of the raw body with your webhook secret. Failed deliveries are retried for 24 hours with backoff.
For CSV import, upload by SFTP or in Settings → Import. Rows without sms_consent=true are never texted, and rows without email_consent=true are never emailed. Phone numbers must be E.164.
webhook.js
import crypto from "node:crypto";
// Express handler for POST /hooks/engagenova
export function handleEngageNova(req, res) {
const signature = req.get("EngageNova-Signature");
const expected = crypto
.createHmac("sha256", process.env.ENGAGENOVA_WEBHOOK_SECRET)
.update(req.rawBody)
.digest("hex");
if (!crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected))) {
return res.status(401).end();
}
const event = JSON.parse(req.rawBody);
if (event.type === "member.risk_changed" && event.data.band === "high") {
// e.g. post to your staff Slack channel
}
res.status(200).end();
} members.csv
external_id,first_name,email,mobile,sms_consent,email_consent,membership,ends_on,credits_remaining
100004471,Dana,dana@example.com,+15595550142,true,true,Unlimited Monthly,,
100003108,Sam,sam@example.com,+15595550187,true,false,10-Class Pack,2027-01-08,2 Limits and errors
Each API key may make 120 requests per minute; list endpoints return at most 100 records per page. Errors use standard HTTP status codes with a JSON body of the form {"error": {"code", "message"}}. Outbound texts are separately limited by your 10DLC campaign's carrier throughput, which the dashboard shows under Settings → Messaging.
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_parameter | A query value is out of range, for example min_score=120. |
| 401 | invalid_api_key | Missing, revoked or test key used against live data. |
| 403 | insufficient_role | Key belongs to a front-desk role; data endpoints need manager or owner keys. |
| 404 | location_not_found | The location ID is not connected to this account. |
| 409 | sync_in_progress | First import for this location is still running. Retry after a few minutes. |
| 429 | rate_limited | Over 120 requests per minute. Respect the Retry-After header. |
| 503 | source_unavailable | Your booking system's API is not responding. Scores show the last successful sync. |
Stuck on something the docs do not cover? Email support@engagenova.xyz with your location ID and the request ID from the response header EngageNova-Request-Id.