Skip to main content
POST
Send event

Node.js SDK

🔗 SDK Method: appHostPostEvent Use this API endpoint with the Neynar Node.js SDK for typed responses and better developer experience.

Authorizations

x-api-key
string
header
default:NEYNAR_API_DOCS
required

API key to authorize requests

Body

application/json

Request body for app host events. Can either provide a signed_message or a signer_uuid with event details.

app_domain
string
required

Domain of the mini app

Example:

"demo.neynar.com"

signed_message
required

JFS-signed message containing the event payload. The message must be properly signed and contain valid event information. Can be provided as a single string or json object.

Response

Success

success
boolean
required
Example:

true

message
string
Example:

"Successfully processed event"