Skip to main content
PUT
/
comments
/
{id}
/
assign-user
Assign comment
curl --request PUT \
  --url https://api.surefeedback.com/api/v1/comments/{id}/assign-user \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "user_id": "<string>"
}
'
{
  "success": true,
  "message": "Comment assigned successfully",
  "data": {
    "comment": {
      "id": "990e8400-e29b-41d4-a716-446655440004",
      "assigned_to": {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "name": "Jane Smith"
      }
    }
  }
}
Assigns a comment to a specific organization member. The assignee will receive a notification.

Path parameters

id
string
required
UUID of the comment to assign.

Request body

user_id
string
required
UUID of the user to assign the comment to. Must be a member of the organization.
{
  "success": true,
  "message": "Comment assigned successfully",
  "data": {
    "comment": {
      "id": "990e8400-e29b-41d4-a716-446655440004",
      "assigned_to": {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "name": "Jane Smith"
      }
    }
  }
}