Goals
Public API
Update Goal (v1)
Deprecated. Use "Update Goal (v1.1)" instead. Update a goal. This version will not update a goal to contain milestones, that functionality is added in version 1.1.
OAuth Scopes: goal.write
put/api/v1/performance/employees/{employeeId}/goals/{goalId}
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesgoal.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
employeeIdstring required
The internal employee ID of the employee the goal is associated with.
goalIdstring required
goalId is the goal ID for the specified employee.
Request body
Response
A successful response indicates that all the requested changes were made. The content of the response will be the goal response object for the specified goalId.
Example response
{
"goal": {
"id": "4",
"title": "Complete Documentation Epic",
"description": "Document every endpoint for the goals API.",
"percentComplete": 78,
"dueDate": "2025-12-31",
"completionDate": "2025-12-17T10:30:00Z",
"lastChangedDateTime": "2025-12-17T10:30:00Z",
"status": "in_progress",
"milestones": [
{
"id": 2,
"employeeGoalId": 12,
"title": "Sell 15 Doohickeys",
"completedDateTime": "2025-04-10T15:36:38Z",
"lastUpdateDateTime": "2025-04-10T15:36:38Z",
"lastUpdateUserId": 24
}
],
"actions": {
"canEditGoalProgressBar": true
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.