Creating and Updating Goals

πŸ“Œ Overview

The Talent API exposes three write endpoints for managing goals:

  1. POST /v1/goals/ β€” Create a new Goal or Key Result
  2. PUT /v1/goals/:id β€” Update an existing Goal or Key Result
    1. Note: All attributes need a value when using PUT, if you are not updating an attribute, it requires the existing value. If you want to update an attribute to empty use β€œβ€.
  3. POST /v1/goals/:id/update β€” Submit a progress update (GoalUpdate)


πŸ”§ POST /v1/goals/ – Create a Goal

Use this endpoint to create goals (objective or key_result) and define metadata, ownership, and visibility.

βœ… Required Fields

FieldTypeDescription
namestringName of the goal
okrTypeenum (objective | key_result)Classification of the goal
startDateDateTimeGoal start date
dueDateDateTimeGoal due date
ownerIdsarray of owner uuidUser owner(s) of goal. One minimum.

🧩 Optional Fields and Rules

amountType

  • Type: enum (percent | dollar | digit | binary ) or null
  • Rules:
    • Must be null if okrType = objective
    • UI requires goalAmount and startingAmount for all types except binary

goalAmount

  • Type: float | int or null
  • Conditional: goalAmount is required when okrType = key_result

startingAmount

  • Type: float | int or null
  • Conditional: startingAmount is required when okrType = key_result

companyGoal

  • Type: boolean. Default false
  • Cannot be true if private = true
  • companyGoal cannot be department goals (either or).

departmentId

  • Type: uuid ornull
  • Assigns the goal to a department

departmentsVisibleToIds

  • Type: array of string
    • Empty array = public
  • List of department IDs that can view the goal

description

  • Type: string or null
  • Freeform text description

goalCycleId

  • Type: string or null
  • Associates the goal with a specific goal cycle
  • You can retrieve your goalCycleId by pulling from the URL

isDraft

  • Type: boolean
  • If true, saves the goal as a draft. Default false
  • If not set defaults to false

parentId

  • Type: string or null
  • Links this goal to a parent goal (supports cascading)
  • To create a cascading goal, you need to enable cascading within the product first

priority

  • Type: int or null
  • Integer between 1–10

private

  • Type: boolean
  • Hides the goal unless explicitly shared or made visible to departments. Default true.
  • If not set defaults to false

tagNames

  • Type: array of string
  • Array of up to 5 tags
  • Note: for PUT
    • Existing tag names will be applied.
    • Unknown (net new) tag names will be ignored β€” they won’t be created or associated.
    • Passing an empty array ([]) will clear all existing tags.

πŸ§ͺ Sample Request

//Full Request
{
  "name": "Q3 Revenue Target",
  "description": "Drive sales team toward Q3 goal",
  "tagNames": ["sales", "q3"],
  "ownerIds": ["157e9b4f-c2a5-4a43-a3c1-c3431a3a2bc2"],
  "okrType": "key_result",
  "startDate": "2025-07-01",
  "dueDate": "2025-09-30",
  "goalAmount": 500000,
  "startingAmount": 100000,
  "amountType": "dollar",
  "priority": 1,
  "goalCycleId": "uuid-cycle-id",
  "parentId": null,
  "departmentId": "uuid-dept-id",
  "departmentsVisibleToIds": [],
  "companyGoal": true,
  "private": false,
  "isDraft": false
}
// Minimum request(s)

//Create Objective
{
 "name": "ew3efsfsfsdfkeyres4with test depdsfdsfdsfst",
 "ownerIds": ["f5a1e4e8-9875-11e5-8626-3b75342d1f06"],
 "okrType": "objective",
 "dueDate": "2026-06-26",
 "startDate": "2025-06-26T00:00:00.000Z"
}

//Create Key Result

{
 "name": "ew3efsfsfsdfkeyres4with test depdsfdsfdsfst",
 "ownerIds": ["f5a1e4e8-9875-11e5-8626-3b75342d1f06"],
 "okrType": "key_result",
 "amountType": "percent",
 "startingAmount": 2.93,
 "goalAmount": 5,
 "dueDate": "2026-06-26",
 "startDate": "2025-06-26T00:00:00.000Z"
}

πŸ›  PUT /v1/goals/:id – Update a Goal

  • Note: All attributes need a value when using PUT, if you are not updating an attribute, it requires the existing value. If you want to update an attribute to empty use β€œβ€.
  • Note: for tagNames
    • Existing tag names will be applied.
    • Unknown (net new) tag names will be ignored β€” they won’t be created or associated.
    • Passing an empty array ([]) will clear all existing tags.
  • Note: All validation and field rules from the POST request apply.

πŸ§ͺ Sample Request

//All is required in the PUT
{
  "name": "Q3 Revenue Target",
  "description": "Drive sales team toward Q3 goal",
  "tagNames": ["sales", "q3"],
  "ownerIds": ["157e9b4f-c2a5-4a43-a3c1-c3431a3a2bc2"],
  "okrType": "key_result",
  "startDate": "2025-07-01",
  "dueDate": "2025-09-30",
  "goalAmount": 500000,
  "startingAmount": 100000,
  "amountType": "dollar",
  "priority": 1,
  "goalCycleId": "uuid-cycle-id",
  "parentId": null,
  "departmentId": "uuid-dept-id",
  "departmentsVisibleToIds": [],
  "companyGoal": true,
  "private": false,
  "isDraft": false
}

πŸ“ˆ POST /v1/goals/:id/update – Create a Progress Update

This endpoint allows submitting a goal update (progress event).

βœ… Required Field

FieldTypeDescription
statusenum (green | amber | red)Indicates current progress health
commentstringNotes or narrative update

🧩 Optional Fields

FieldTypeDescription
incrementnumberNumeric progress addition
incompletebooleanWhether the goal is incomplete
completebooleanWhether the goal is complete

πŸ§ͺ Sample Update Request

{
  "status": "amber",
  "comment": "Fell behind slightly this sprint",
  "increment": 15000,
  "updated_at": "2025-07-10",
  "complete": false
}