You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moonstream application will register webhook URL with brood: https://api.moonstream.to/webhooks.
Every time a user registers, Brood will `POST https://api.moonstream.to -H "Content-Type: application/json" -d '{"event_type": "user_registration", "user_id": "<user_id>"}'
Moonstream, whenever it receives this webhook, will send the user a welcome email, set up the user's default subscriptions, and set a state in the database indicating that user onboarding was set up.
(Not relevant to Brood, but worth writing for @peersky) Moonstream frontend will check user's onboarding status. If onboarding has not even been set up, it will display a message to the user indicating that we are setting things up for them. If onboarding has been set up but user has not interacted with it, we will show them onboarding flow (including default subscriptions). Once user finishes onboarding, frontend will send a message to backend saying that onboarding is complete, and backend will store this in the user's onboarding state.
Each application should have the option of registering a webhook endpoint to which we send an event every time a user registers.
The event can have the following schema:
The text was updated successfully, but these errors were encountered: