Navigation

Review decided

Summary

Fires when someone allows or denies an evaluation in the dashboard's review queue. Evaluations reach the queue when a policy returns the review verdict, most often on content a user wrote. Deliver or drop the held message based on decision.

A reviewer can change their mind. Each change fires review.decided again for the same evaluation with the new decision, note and decided_at, so act on the event with the latest decided_at. Saving the decision an evaluation already has sends nothing.

Payload

The review.decided event sends the evaluation, the content ids you passed when you evaluated it, the user, and the decision.

JavaScript
{
  event: "review.decided",
  evaluation: String,
  action: String,
  content: {
    id: String,
    conversation: String,
  },
  user: {
    id: String,
    rupt_id: String,
  },
  decision: "allow" | "deny",
  note: String,
  decided_at: Date,
}

content.id and content.conversation are the values you sent in the content block, so the receiver can act without a lookup. note is the reviewer's note and is absent when none was written.