Nodefy Docs
Nodefy Docs
  • Getting Started
    • Welcome!
    • Quickstart
    • Use Cases
    • Supported Blockchains
  • Our API Guide
    • Overview
    • Authentication
    • Notification API Methods
      • ⚡Create a notification
      • 🫴Fetch a user's notifications
      • 📴Delete a notification
    • Defining Event Types
      • 💼Wallets
      • 📃Smart Contracts
      • 🖼️NFTs
      • 💬Farcaster
    • Using Filters
    • Channels
      • Email
      • Custom Webhook
      • Slack
      • Telegram
      • In-App (coming soon)
    • User Info
Powered by GitBook
On this page
  • Endpoint:
  • Headers:
  • Response (Success):
  1. Our API Guide
  2. Notification API Methods

Fetch a user's notifications

This endpoint lets you retrieve a list of all active notifications you've created with your API key.

Endpoint:

GET /api/v1/nodefy/notifications/

Headers:

Authorization: Bearer YOUR_API_KEY

Response (Success):

[
  {
    "id": 123,                             // Notification ID (integer)
    "external_user_id": "user123",         // External user ID
    "channel": "EMAIL",                    // Notification channel
    "notification_name": "My ETH Notification", // Notification name
    "delivery_location": "user@example.com", // Recipient address (e.g., email address or Telegram ID)
    "event_details": {                     // Details about the event
        "network": "ETH_MAINNET",
        "event_type": "ADDRESS_ACTIVITY",
        "addresses": ["0x123...abc"],
        "filters": [
            { 
                "field_name": "value", 
                "operator": "gt", 
                "value": "0.1", 
                "value_type": "int" 
            }
            // ... more filters if applicable
        ],
    }
  },
  // ... other notifications for the user
]

PreviousCreate a notificationNextDelete a notification

Last updated 11 months ago

🫴