Endpoint#
| Property | Value |
|---|
| Type | mutation |
| Method | POST |
| Path | /api/external/v1/post_milestone_comment |
| Handler | OperatelyWeb.Api.Mutations.PostMilestoneComment |
Authentication#
- Requires a valid API token.
- Requires a write-enabled token.
- Read-only tokens return
403.
| Field | Type | Required | Nullable | Default |
|---|
milestone_id | id primitive (encoded as string) | Yes | No | - |
content | json primitive (encoded as string) | Yes | Yes | - |
action | string | Yes | No | - |
Outputs#
| Field | Type | Required | Nullable |
|---|
comment | milestone_comment object | Yes | No |
cURL Example#
Copiedcurl --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>"
}
}