Skip to content

Goals API: Close

PropertyValue
Typemutation
MethodPOST
Path/api/external/v1/goals/close
HandlerOperatelyWeb.Api.Goals.Close
  • Requires a valid API token.
  • Requires a write-enabled token.
  • Read-only tokens return 403.
FieldTypeRequiredNullableDefault
goal_idid primitive (encoded as string)YesNo-
successstringYesNo-
retrospectivejson primitive (encoded as string)YesNo-
success_statussuccess_status enum (achieved, missed)YesNo-
send_notifications_to_everyonebooleanNoYes-
subscriber_idsarray of id primitive (encoded as string)NoYes-
FieldTypeRequiredNullable
goalgoal objectYesNo
Copied
curl --request POST \
  --url "https://app.operately.com/api/external/v1/goals/close" \
  --header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
  --header "Content-Type: application/json" \
  --data '{"goal_id":"value", "retrospective":"value", "send_notifications_to_everyone":true, "subscriber_ids":["value"], "success":"value", "success_status":"achieved"}'
{
"goal": {
"__typename": "value",
"access_levels": "<access_levels>",
"archived_at": "2026-01-01",
"champion": "<person>",
"checklist": [
"<goal_check>"
],
"closed_at": "2026-01-01",
"closed_by": "<person>",
"description": "value",
"id": "value",
"inserted_at": "2026-01-01",
"is_archived": true,
"is_closed": true,
"is_outdated": true,
"last_check_in": "<goal_progress_update>",
"last_check_in_id": "value",
"my_role": "value",
"name": "value",
"next_update_scheduled_at": "2026-01-01",
"notifications": [
"<notification>"
],
"parent_goal": "<goal>",
"parent_goal_id": "value",
"permissions": "<goal_permissions>",
"potential_subscribers": [
"<subscriber>"
],
"privacy": "public",
"progress_percentage": 12.34,
"projects": [
"<project>"
],
"resource_hub": "<resource_hub>",
"retrospective": "<goal_retrospective>",
"reviewer": "<person>",
"space": "<space>",
"status": "on_track",
"success": true,
"targets": [
"<target>"
],
"timeframe": "<timeframe>",
"updated_at": "2026-01-01",
"url": "value"
}
}