Generate event
Mini App Hosts
Generate event
Returns event object for app host events. Used if the app host intends to sign the event message instead of using Neynar-hosted signers.
GET
Generate event
Node.js SDK
🔗 SDK Method: appHostGetEvent Use this API endpoint with the Neynar Node.js SDK for typed responses and better developer experience.Authorizations
API key to authorize requests
Query Parameters
The domain of the mini app
Example:
"demo.neynar.com"
The FID of the user who initiated the event
Required range:
x >= 1The type of event
Available options:
frame_added, frame_removed, notifications_enabled, notifications_disabled Response
Success
Legacy event type corresponding to the requested event type:
- frame_added: User adds a mini app to their account
- frame_removed: User removes a mini app from their account
- notifications_enabled: User enables notifications for a mini app
- notifications_disabled: User disables notifications for a mini app
Details for notification setup, only present when event is notifications_enabled