https://github.com/owncast/owncast/pull/4362 Fires a webhook when a user follows. Payload:
{
"eventData": {
"timestamp": "2025-05-28T11:43:53.103230136+04:00",
"id": "o8v_LpBNRz",
"name": "john",
"username": "john@mastodon.social",
"image": ""
},
"type": "FEDIVERSE_ENGAGEMENT_FOLLOW"
}
https://github.com/owncast/owncast/pull/4410 Adds server status to all webhook event data. Might be able to shave off some code. Old payload:
{
"type": "USER_JOINED",
"eventData": {
"user": {...},
"timestamp": "2023-01-01T00:00:00Z"
}
}
New payload:
{
"type": "USER_JOINED",
"eventData": {
"user": {...},
"timestamp": "2023-01-01T00:00:00Z",
"status": {
"online": true,
"viewerCount": 5,
"streamTitle": "My Stream",
"versionNumber": "1.2.3",
...
},
"serverURL": "https://myinstance.example.com"
}
}