Send notifications to interactors of a mini app. By default every broadcast is delivered synchronously and returns 200 with aggregate counts. When the ASYNC_NOTIFICATIONS_ENABLED server flag is on, broadcasts with more than 100 notification tokens are queued and return 202 with a campaign_id instead; poll the campaign stats endpoint for progress. Small broadcasts always stay synchronous.
Documentation Index
Fetch the complete documentation index at: https://docs.neynar.com/llms.txt
Use this file to discover all available pages before exploring further.
API key to authorize requests
Filters to apply to the target_fids set. All filters are additive, so only users matching all filters will be notified.
{
"exclude_fids": [2, 8988],
"following_fid": 3,
"minimum_user_score": 0.5,
"near_location": {
"latitude": 37.774929,
"longitude": -122.419418,
"radius": 1000
}
}
An array of target FIDs to whom the notifications should be sent. Each FID must be a positive integer. Pass an empty array to send notifications to all FIDs with notifications enabled for the mini app.
100x >= 1[1, 2, 3]
Success
The unique identifier for the notification campaign.
The number of notifications that failed to deliver.
The number of notifications not attempted (e.g., disabled tokens, invalid tokens).
The number of notifications successfully delivered.
List of FIDs that failed due to retryable errors (rate_limited, failed, http_error). Can be used to retry sending notifications to these users.
The unique identifier of a farcaster user or app (unsigned integer)
x >= 0