Cookbook

Add a comment to a community recipe

post/api/cookbook/recipes/{id}/comments

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/cookbook/recipes/{id}/comments
  • Auth
    HTTP bearer

Path parameters

idnumber required

Request body

bodystring required

Comment text

Response

unknown required

Example response

{
  "success": true,
  "comment": {
    "id": 11,
    "body": "Great recipe!",
    "createdAt": "2026-01-01T00:00:00.000Z",
    "user": {
      "userId": 5,
      "firstName": "Jane",
      "lastName": "D.",
      "profileImageUrl": null
    }
  }
}

Changes

No recorded changes to this operation across all 34 revisions of this API.