Unified.to
All articles

How to Read and Create Employee Goals in Lattice, 15Five, BambooHR and HiBob with

·

Your product can read a customer's employee goals from 15Five, BambooHR, HiBob or Lattice through one connection and one method call, and create goals in BambooHR (as of 19 October 2026).

sdk.performance.listPerformanceGoals returns the same Goal object on all four. On 15Five, a virtual webhook subscription keeps your copy current as employees update goals; on the other three, read on a schedule. Every request is executed directly against the customer's platform, so what you read is what exists there now.

Why goals are the hard part of a performance integration

Any product that plans compensation, prepares managers for check-ins, or reports on team progress needs to know what each employee is working toward and how far along they are. The customer has already answered that question, in detail, inside their performance platform. Reading their answer is the integration.

The difficulty is that each platform models goals in its own API, with its own shapes for hierarchy, ownership, and measurable progress. Building against each one means a separate integration, separate auth, and separate handling for pagination, rate limits, and errors, before you have written any of your own product. Unified.to's Performance Management API maps the concept into a single Goal object so you build the read once.

What you are building

A goals module inside your product: the customer connects their performance platform, and their employees' goals appear with progress (and milestones where the platform returns them). On BambooHR your product can also create goals; on 15Five the list stays current through change events.

  1. Authorize the customer's platform and store one connection ID
  2. List their goals
  3. Render hierarchy, ownership, and quantified progress from the fields their platform provides
  4. Create goals on platforms that accept them (BambooHR)
  5. Subscribe to changes where supported (15Five), and read on a schedule elsewhere

Connect once and list every goal

Initialize the SDK with your API key. This is the same for every category.

import { UnifiedTo } from '@unified-api/typescript-sdk';
import * as errors from '@unified-api/typescript-sdk/sdk/models/errors';

const sdk = new UnifiedTo({
  security: {
    jwt: process.env.UNIFIED_API_KEY,
  },
});

If your customers require their data to stay in a region, pass serverIdx when initializing: 0 for the North American server, 1 for European, 2 for Australian. One region per workspace: US on every plan; EU or AU on Pro and Scale.

Each end-customer authorizes their own platform through Unified.to's authorization component, which returns a connection ID. Store one per customer. That ID is the only thing that changes between a customer on Lattice and a customer on BambooHR.

Listing their goals takes one call:

const goals = await sdk.performance.listPerformanceGoals({
  connectionId,
  limit: 50,
  offset: 0,
  sort: 'updated_at',
  order: 'desc',
});

id and name are your floor. Every integration that supports the Goal object returns them, which is enough to render a working list on day one.

What each field tells you, and why it changes your interface

The other fields are what make the list useful to a manager, but each one is returned by only some platforms:

progress returns a percentage from 0 to 100, and status returns where the goal sits in its lifecycle: not started, in progress, completed, closed, or other. Read them together. A goal at 90 percent that is closed and a goal at 90 percent that is in progress with a due date next week are different situations wearing the same number.

type returns INDIVIDUAL, TEAM, DEPARTMENT, COMPANY or OTHER on 15Five, HiBob and Lattice. Filter on it in your code to show one level at a time. A company goal and an individual goal do not belong in the same flat list: one is context, the other is work. Filter on this rather than asking the customer to infer it from a goal's name.

parent_id is the id of the parent goal, which is how platforms represent goal alignment and OKR trees; all four platforms return it. On 15Five you can also pass parent_id as a list parameter to read one subtree; on the others, build the tree from the full list.

user_ids returns the employees who own or share the goal, and the first element is the primary owner. These are references to the HRIS employee object, so if your product already reads employee data through Unified.to's HR & Directory API, a goal joins to the same identity with no second employee model and no name matching.

milestones returns key results (each with target_value, current_value, unit, weight and is_completed); as of 19 October 2026, BambooHR is the only goal integration that returns them. This is the difference between showing "70% complete" and showing "$1.4M of $2M ARR" with the unit attached. Where the platform provides it, quantified progress is the most useful thing on the screen.

weight returns how much this goal counts when the customer's platform weighs goals in reviews (returned by 15Five and HiBob). Where it returns, show it: two goals at the same progress are not equally important to the employee's review, and the customer's platform already knows which matters more.

Handling coverage that varies by platform

Each platform's own API determines what Unified.to can return, so a field that exists on the object may not be available on every integration. This is a first-class part of building on any category, and three habits handle it.

Check support before you scope. Field support, webhook support, and list parameters are documented per integration on the Supported Integrations page. If your feature depends on milestones, confirm which platforms return it before you promise it.

Treat 501 as information, not failure. Where a platform's API does not support an object, the request returns 501 Not Implemented rather than an empty list. An empty list means the customer has no goals; a 501 means this platform cannot tell you either way. Show those differently.

try {
  const goals = await sdk.performance.listPerformanceGoals({ connectionId });
  return renderGoals(goals);
} catch (error) {
  if (error instanceof errors.UnifiedToError && error.statusCode === 501) {
    return renderUnsupported();
  }
  throw error;
}

UnifiedToError is the base class for every HTTP error response and carries statusCode alongside the message, headers, and body, so the same pattern handles authorization failures and rate limiting next to the unsupported case.

Render what returns. Build the interface so name, progress, and status are sufficient, and hierarchy, milestones, and weight are enhancements that appear when the platform provides them. A module that degrades gracefully works across the whole category.

Create goals from your product

When a manager sets a goal in your product during a check-in, you can create it in BambooHR (the only goal integration that accepts writes, as of 19 October 2026):

const created = await sdk.performance.createPerformanceGoal({
  connectionId,
  performanceGoal: {
    name: 'Grow ARR to $2M',
    type: 'INDIVIDUAL',
    user_ids: [employeeId],
    cycle_id: activeCycleId,
    due_at: '2026-12-31T00:00:00Z',
    milestones: [
      { name: 'Close Q4 pipeline', target_value: 2000000, unit: 'USD' },
    ],
  },
});

The first entry in user_ids is the primary owner, and it references the same HRIS employee object your HR & Directory reads return, so the goal is attached to a real identity from the moment it exists.

The create is executed directly against BambooHR, so the goal is there when your request returns, not on a sync cycle. Which fields are writable on which integration is in the capability matrix. Gate your create interface on the platforms that accept it.

No integration updates goals through the unified Goal object yet (as of 19 October 2026). To change progress in BambooHR from your product, use the Passthrough API against BambooHR's own goal endpoints.

Stay current when a goal changes

An employee who updates a goal in their performance platform expects your module to agree with it. On 15Five, rather than re-reading the full list on a schedule, subscribe to changes and let Unified.to's virtual webhooks detect them and deliver events to your endpoint.

{
  "connection_id": "5de520f96e439b002043d8dc",
  "hook_url": "https://yourapp.com/webhooks/performance",
  "object_type": "performance_goal",
  "event": "updated",
  "interval": 5,
  "webhook_type": "virtual"
}

Subscribe separately for created and updated. The interval field sets how often Unified.to checks for changes: as often as every minute on paid plans, 60 minutes on the trial. A check that finds nothing isn't billed. Passing include_all on the create request sends your server all existing goals on the first run, which backfills without a separate import path.

Each subscription carries a read-only is_healthy field. Read it as part of your own monitoring, so a subscription that has stopped delivering surfaces in your product rather than in a support ticket.

As of 20 October 2026, goal change events are available on 15Five (virtual). On BambooHR, HiBob and Lattice, read on a schedule.

Read only what changed

updatedGte in the SDK (updated_gte on REST) returns only goals modified since a timestamp, on integrations that support it (15Five, as of 19 October 2026). On the others, re-read the list and compare updated_at where it's returned.

const changed = await sdk.performance.listPerformanceGoals({
  connectionId,
  updatedGte: lastSyncedAt,
  sort: 'updated_at',
  order: 'asc',
  limit: 100,
});

Sorting ascending on updated_at means the last record in the response carries the timestamp for your next call, so you do not maintain a cursor. Where limit and offset are supported (15Five and Lattice), offset is zero-based and you've reached the end when a page returns fewer records than the limit. BambooHR and HiBob return the list without paging parameters. The Supported Integrations page records each one.

→ Start your 30-day free trial → Book a demo

Frequently asked questions

Should I read goals at request time or synchronize them into my own database?

Both, for different jobs. Read at request time when you need the current state of a goal you can already identify, such as the one a manager has open in a check-in:

const goal = await sdk.performance.getPerformanceGoal({ connectionId, id: goalId });

Synchronize when you need to search, filter, or join across goals, because goal filters are limited (no goal integration supports query, as of 19 October 2026), so search and joins happen in a database you control. On 15Five, the webhook subscription keeps that copy current; elsewhere, a scheduled read does.

Can I update goals through Unified.to**?**

Not through the unified Goal object yet. As of 19 October 2026, BambooHR accepts new goals and no integration accepts goal updates; use the Passthrough API for updates in BambooHR. The capability matrix is the current source as coverage grows.


Written by Mallory Greene.

About the author: Mallory Greene is Head of Marketing at Unified.to_. She writes about integration infrastructure, unified APIs, and MCP for technical teams. Based in Toronto._

All articles