X-Discourse-Event Webhook header values

Where can I find ALL of the possible values for the X-Discourse-Event webhook header?

Here (lowercase):

1 Like

I’m looking for values for the X-Discourse-Event header, not X-Discourse-Event-Type

You’re right, sorry.

I’m unaware of an actual list, but you can search in the Discourse source code with DiscourseEvent.trigger(. The event is the first parameter.

EDIT: Might not be complete:

Events
acid_face
after_auth
after_create_dev_record
after_email_send
after_extract_linked_users
after_initializers
after_plugin_activation
after_populate_dev_records
after_trigger_post_process
after_validate_topic
approved_post
backup_complete
backup_created
backup_failed
before_auth
before_auth_revoke
before_create_notification
before_create_notifications_for_users
before_create_topic
before_edit_post
before_email_login
before_email_send
before_post_process_cooked
before_post_publish_changes
before_session_destroy
before_upload_creation
build_wizard
category_updated
chat_message_created
chat_message_edited
chat_message_processed
chat_message_trashed
confirmed_spam_post
email_bounce
filter_auto_bump_topics
flag_agreed
flag_created
flag_deferred
flag_disagreed
flag_reviewed
group_destroyed
hello
like_created
markdown_context
merging_users
missing_event
notification_created
notify_mailing_list_subscribers
post_alerter_after_save_post
post_alerter_before_first_post
post_alerter_before_linked
post_alerter_before_mentions
post_alerter_before_post
post_alerter_before_quotes
post_alerter_before_replies
post_created
post_destroyed
post_edited
post_moved
post_notification_alert
post_process_cooked
post_recovered
pre_notification_alert
queued_post_created
reduce_cooked
reduce_excerpt
rejected_post
restore_complete
reviewable_created
reviewable_score_updated
reviewable_transitioned_to
robots_info
scheduled_job_ran
sidekiq_fork_started
sidekiq_job_ran
site_setting_changed
site_settings_restored
suspect_user_deleted
sync_sso
system_message_sent
topic_closed
topic_created
topic_destroyed
topic_first_visited_by_user
topic_merged
topic_recovered
topic_status_updated
topic_trashed
user_added_to_group
user_anonymized
user_approved
user_badge_granted
user_badge_removed
user_confirmed_email
user_created
user_destroyed
user_first_logged_in
user_logged_in
user_logged_out
user_removed_from_group
user_seen
user_session_refreshed
user_unsilenced
user_unstaged
user_unsuspended
user_updated
username_changed
validate_post
web_fork_started