We’re looking to potentially use webhooks to send data on certain types of events for metrics purposes. Are the payloads for these events listed anywhere, or are the webhook payloads identical to the ones in the Discourse API?
For example, we may set up one for user events, and in that case would the payload contain all the standard user JSON returned in the /admin/users/list/{flag}.json endpoint, or would it be different? Same question for post events with the /posts.json endpoint, and topics with /latest.json.
Along those lines, I know with the aforementioned user endpoint you can specify show_emails=true
when using the API, so I was wondering - does the payload from the webhook include emails?