Skip to main content
POST
Add a card comment

Authorizations

Authorization
string
header
default:dav_ak_live_your_token
required

Personal access token. The scopes granted at issuance determine both which operations the key may call and the ceiling on the resource permissions it can exercise. Each scope family is a ladder: projects:manage implies projects:write and projects:read; cards:manage implies cards:write and cards:read; and teams:manage implies teams:write and teams:read. These are named API capability bundles, not blanket domain roles: manage exposes only the permissions enumerated for that scope and never bypasses the acting user's current role-based access.

Headers

Idempotency-Key
string

A value you choose to identify this request, so that retrying it does not repeat its effect. Reuse the same key when retrying and the original result is returned; use a fresh key when you mean to create something new. Keys are scoped to the API key that sent them (or to the user for browser sessions). Replayed responses include Idempotency-Replayed: true.

Maximum string length: 255
If-Match
string

Quoted or unquoted latest card historyHeadId. When the request body also contains expectedHistoryHeadId, both values must match. A stale head returns 409 CARD_HISTORY_CONFLICT without applying the mutation.

Maximum string length: 132

Path Parameters

projectId
string
required

Project id. May be compound in the form {projectId}--{branchName}.

Minimum string length: 1
cardId
string<uuid>
required

Agile card id.

Body

application/json
body
string
required
Minimum string length: 1
expectedHistoryHeadId
string<uuid> | null

Latest committed card-history row ID; null only before a card has history.

Response

Comment created.

comment
object
required
historyHeadId
string<uuid> | null
required

Latest committed card-history row ID; null only before a card has history.

historyHeadSequence
string | null
required

Globally monotonic card-history sequence.

Pattern: ^\d+$