agent

Reply on a thread

Changed on

Posts a reply as the person the grant names, with the workspace's own checks: a read-only seat is a 403, and a thread your organization is not part of is a 404. The agent calls this only after the person approved the draft. Costs 0 credits.

post/v2/agent/org/issues/{issueId}/comments

Request

  • Base URL
    https://api.cardog.app
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

issueId, string uuid required

Thread ID from your organization's thread list, e.g. "3f2b9c1e-7a4d-4e8b-9c0f-1a2b3c4d5e6f"

Headers

X-Cardog-Agent-Grant, string required

An organization session token from POST /v2/agent/session, opened from an organization workspace and created for you. Required.

Request body

AgentOrgCommentCreateRequest required
body, string required

The reply. Plain text; blank lines separate paragraphs.

parentId, string uuid nullable

The comment you are replying to. Leave it out to reply to the thread.

Response

The reply's ID and the thread's workspace link

AgentOrgCommentCreated required
comment, object required

The new comment

links, object required

Where to go next

Changes