Skip to content

post_milestone_comment

Endpoint#

PropertyValue
Typemutation
MethodPOST
Path/api/external/v1/post_milestone_comment
HandlerOperatelyWeb.Api.Mutations.PostMilestoneComment

Authentication#

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

Inputs#

FieldTypeRequiredNullableDefault
milestone_idid primitive (encoded as string)YesNo-
contentjson primitive (encoded as string)YesYes-
actionstringYesNo-

Outputs#

FieldTypeRequiredNullable
commentmilestone_comment objectYesNo

cURL Example#

Copied
curl --request POST \
  --url "https://app.operately.com/api/external/v1/post_milestone_comment" \
  --header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
  --header "Content-Type: application/json" \
  --data '{"action":"value", "content":"value", "milestone_id":"value"}'

Response Example#

{
  "comment": {
    "action": "none",
    "comment": "<comment>"
  }
}