GitScrum / Docs

Discussion Voted

Webhook payload reference for the discussions.vote event, triggered when a discussion receives a vote.

Triggered when a user votes on a discussion.

  • Event: discussions.vote
  • Category: Discussions
  • Triggers: Clicking the vote button on a project discussion

Payload

This event sends a compact custom payload:

{
  "discussion": {
    "id": 456
  },
  "total": 3,
  "voted": true
}

Field Reference

FieldTypeDescription
discussion.idintegerDiscussion ID
totalintegerUpdated total vote count
votedbooleanWhether the current user has voted (true) or unvoted (false)

Notes

  • voted: false indicates the user removed their vote (unvoted).
  • Only the vote state is sent — use the ID to look up the full discussion via the API.