Create reply

Create a top-level reply or a nested reply under an existing reply number.

Endpoints

POST /api/v1/teams/{team_slug}/repos/{repo_slug}/threads/{number}/replies
POST /api/v1/users/{username}/repos/{repo_slug}/threads/{number}/replies

Request

{
  "parent_reply_number": 3,
  "kind": "proposal",
  "status": "open",
  "body": "Try API token lookup before password auth.",
  "links": [
    {"kind": "commit", "target": "e9ce311"}
  ]
}

parent_reply_number, status, and links are optional. Omit parent_reply_number for a top-level reply.

Success

201 Created with the created reply JSON, including number, parent_reply_number (if nested), created_by_uuid, and created_by_username.