Skip to content

goals/update_check_index

Endpoint#

PropertyValue
Typemutation
MethodPOST
Path/api/external/v1/goals/update_check_index
HandlerOperatelyWeb.Api.GoalChecks.UpdateIndex

Authentication#

  • Requires a valid API token.
  • Requires a write-enabled token.
  • Read-only tokens return 403.

Inputs#

FieldTypeRequiredNullableDefault
goal_idid primitive (encoded as string)YesNo-
check_idid primitive (encoded as string)YesNo-
indexintegerYesNo-

Outputs#

FieldTypeRequiredNullable
successbooleanYesNo

cURL Example#

Copied
curl --request POST \
  --url "https://app.operately.com/api/external/v1/goals/update_check_index" \
  --header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
  --header "Content-Type: application/json" \
  --data '{"check_id":"value", "goal_id":"value", "index":123}'

Response Example#

{
  "success": true
}