Neynar · Schema

WebhookSubscriptionFiltersCast

Neynar Farcaster API schema for WebhookSubscriptionFiltersCast

FarcasterSocialDecentralizedWeb3BlockchainSocial GraphCastsChannelsFeedsReactionsNotificationsWebhooksOnchain

Properties

Name Type Description
author_fids array
embedded_cast_author_fids array Filter for casts that contain embedded casts authored by these FIDs
embedded_cast_hashes array Filter for casts that quote/embed these specific cast hashes
embeds string Regex pattern to match the embeded_url (key embeds) of the cast. **Note:** 1) Regex must be parsed by Go's RE2 engine (Test your expression here: https://www.lddgo.net/en/string/golangregex) 2) Use ba
exclude_author_fids array Exclude casts that matches these authors. **Note:** This is applied as an AND operation against rest of the filters. Rest of the filters are bundled as an OR operation.
mentioned_fids array
minimum_author_score number
parent_author_fids array
parent_hashes array
parent_urls array
root_parent_urls array
text string Regex pattern to match the text key of the cast. **Note:** 1) Regex must be parsed by Go's RE2 engine (Test your expression here: https://www.lddgo.net/en/string/golangregex) 2) Use backslashes to esc
View JSON Schema on GitHub

JSON Schema

webhooksubscriptionfilterscast.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://neynar.com/schemas/WebhookSubscriptionFiltersCast",
  "title": "WebhookSubscriptionFiltersCast",
  "description": "Neynar Farcaster API schema for WebhookSubscriptionFiltersCast",
  "properties": {
    "author_fids": {
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "embedded_cast_author_fids": {
      "description": "Filter for casts that contain embedded casts authored by these FIDs",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "embedded_cast_hashes": {
      "description": "Filter for casts that quote/embed these specific cast hashes",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "embeds": {
      "description": "Regex pattern to match the embeded_url (key embeds) of the cast.\n**Note:** \n1) Regex must be parsed by Go's RE2 engine (Test your expression here: https://www.lddgo.net/en/string/golangregex)\n2) Use backslashes to escape special characters.\nFor example: \\\\b(farcaster|neynar)\\\\b should be written as \\\\\\\\b(farcaster|neynar)\\\\\\\\b",
      "example": "\b(farcaster|neynar)\b",
      "type": "string"
    },
    "exclude_author_fids": {
      "description": "Exclude casts that matches these authors.\n**Note:**\nThis is applied as an AND operation against rest of the filters.\nRest of the filters are bundled as an OR operation.",
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "mentioned_fids": {
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "minimum_author_score": {
      "default": 0,
      "maximum": 1,
      "minimum": 0,
      "type": "number"
    },
    "parent_author_fids": {
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "parent_hashes": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "parent_urls": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "root_parent_urls": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "text": {
      "description": "Regex pattern to match the text key of the cast.\n**Note:** \n1) Regex must be parsed by Go's RE2 engine (Test your expression here: https://www.lddgo.net/en/string/golangregex)\n2) Use backslashes to escape special characters.\nFor example: (?i)\\\\$degen should be written as (?i)\\\\\\\\$degen",
      "example": "(?i)\\$degen",
      "type": "string"
    }
  },
  "type": "object"
}