Smart reporting
Our open API and ready-made integrations fit into the stack you already have. Thousands of customers already trust us, and we work hard to keep it that way.
Overview
Plan projects, track progress and share updates without another status meeting. Onboarding guides and live chat help new colleagues get going on day one. Teams report saving around five hours a week after the first month.
Installation
Install the SDK with the package manager your project already uses. It needs Node 18 or newer.
$ npm install @halo-works/sdk$ yarn add @halo-works/sdk$ pnpm add @halo-works/sdkConfiguration
We measure success by how many customers come back and tell their friends. Automations take care of the repetitive steps, so people can focus on real work. Create a file named halo-works.config.json in the project root:
{
"project": "halo-works",
"region": "us-east",
"categories": ["product", "engineering", "marketing"],
"retries": 2,
"timeoutMs": 10000,
"webhooks": { "enabled": true }
}| Option | Type | Default | Description |
|---|---|---|---|
project | string | - | Your project key from the dashboard. |
region | string | "us-east" | Data centre closest to your customers. |
retries | number | 3 | How often a failed call is retried. |
timeoutMs | number | 10000 | Time before a request is cancelled. |
webhooks.enabled | boolean | false | Send events to your endpoint. |
Your first request
Real-time dashboards show what is on track and what needs attention.
- Create an API keyOpen the dashboard, choose Settings › API keys and copy a new secret key.
- Store it safelyKeep the key in an environment variable, never in your source code.
- Make the callRun the snippet below; it prints the first page of results.
import { Client } from "@halo-works/sdk";
const client = new Client({ apiKey: process.env.API_KEY });
// list the newest plans in one category
const page = await client.plans.list({ category: "product", limit: 20 });
for (const item of page.data) {
console.log(item.name, item.price);
}API reference
Every endpoint returns JSON and uses standard HTTP status codes.
/v1/plansList plans with paging and filters./v1/plansCreate a new plan./v1/plans/{id}Update some fields of a plan./v1/plans/{id}Archive a plan; it can be restored for 30 days.{
"data": [
{ "id": "plan_8003", "name": "Automation pack", "price": 149 }
],
"has_more": true
}Troubleshooting
Next steps
Friendly people answer your questions quickly, by phone, chat or email.