Skip to content

Browsing Notifications

Retrieve notification records from the In Process protocol. Supports filtering by artist address.

Endpoint

GET https://inprocess.fun/api/notifications

Parameters

NameTypeRequiredDefaultDescription
artiststringNoFilter by artist address (notifications for this artist)
viewedbooleanNoFilter by viewed status (true for viewed, false for unviewed)

If no parameters are provided, returns the latest notification records. If artist is provided, filters notifications where the artist is the provided address. If viewed is provided, filters notifications by their viewed status.

Request Examples

cURL
curl -X GET "https://inprocess.fun/api/notifications?artist=0x29b6674c1562e31EdFd9709D9576e8E5F1e68d01&viewed=false"

Response Format

The API returns JSON responses. Here's an example success response:

{
  "status": "success",
  "notifications": [
    {
      "id": "bceddfb3-28f2-49f3-8669-73a813a06b90",
      "payment": {
        "id": "5fc69bea-1a8a-47f0-8652-8bf041c16a06",
        "token": {
          "id": "a1b2c3d4-e5f6-7g8h-9i0j-k1l2m3n4o5p6",
          "address": "0x06a701Ae65582B92Af48cDff45a8B20DcA3714cA",
          "tokenId": "0",
          "uri": "ar://1wMmKuaz-VdxmruOQJuYS-3nfU3zlNKmPNpc79Ou-qM",
          "defaultAdmin": "0x29b6674c1562e31EdFd9709D9576e8E5F1e68d01",
          "chainId": 8453,
          "createdAt": "2025-06-07T20:41:35+00:00",
          "hidden": false
        },
        "buyer": {
          "address": "0x4b4324bcC6dB9380ABBbbD20B24A16C11FB5B38A",
          "username": "crypto_collector",
          "bio": "Passionate collector of digital art and NFTs",
          "instagram_username": "@crypto_collector",
          "twitter_username": "@crypto_collector",
          "telegram_username": "@crypto_collector"
        },
        "amount": "0.1",
        "hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
        "block": "12345678"
      },
      "artist": {
        "address": "0x29b6674c1562e31EdFd9709D9576e8E5F1e68d01",
        "username": "digital_artist_1",
        "bio": "Digital artist exploring the intersection of technology and creativity",
        "instagram_username": "@digital_artist_1",
        "twitter_username": "@digital_artist_1",
        "telegram_username": "@digital_artist_1"
      },
      "viewed": false,
      "created_at": "2025-06-07T20:41:35+00:00"
    },
    {
      "id": "1a2b3c4d-5e6f-7g8h-9i0j-k1l2m3n4o5p6",
      "payment": {
        "id": "a1b2c3d4-e5f6-7g8h-9i0j-k1l2m3n4o5p6",
        "token": {
          "id": "b2c3d4e5-f6g7-h8i9-j0k1-l2m3n4o5p6q7",
          "address": "0x317e6E49970b95DD1bF2E7877110f3278CB8f1EA",
          "tokenId": "1",
          "uri": "ar://T5bcXlR7waq_aexj0Sp7SXR5uvwg3qAlMuai9oh6w-U",
          "defaultAdmin": "0x4b4324bcC6dB9380ABBbbD20B24A16C11FB5B38A",
          "chainId": 8453,
          "createdAt": "2025-06-07T17:13:07+00:00",
          "hidden": false
        },
        "buyer": {
          "address": "0x29b6674c1562e31EdFd9709D9576e8E5F1e68d01",
          "username": "digital_artist_1",
          "bio": "Digital artist exploring the intersection of technology and creativity",
          "instagram_username": "@digital_artist_1",
          "twitter_username": "@digital_artist_1",
          "telegram_username": "@digital_artist_1"
        },
        "amount": "0.05",
        "hash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
        "block": "12345679"
      },
      "artist": {
        "address": "0x4b4324bcC6dB9380ABBbbD20B24A16C11FB5B38A",
        "username": "crypto_collector",
        "bio": "Passionate collector of digital art and NFTs",
        "instagram_username": "@crypto_collector",
        "twitter_username": "@crypto_collector",
        "telegram_username": "@crypto_collector"
      },
      "viewed": true,
      "created_at": "2025-06-07T17:13:07+00:00"
    }
  ]
}

Response Properties

Response Object

PropertyTypeDescription
statusstringStatus of the request ("success" or "error")
notificationsarrayList of notification records
notifications[].idstringUUID of the notification record
notifications[].paymentobjectFull payment object with all payment details
notifications[].payment.idstringUUID of the payment record
notifications[].payment.tokenobjectFull token object with all token details
notifications[].payment.token.idstringUUID of the token
notifications[].payment.token.addressstringContract address of the token
notifications[].payment.token.tokenIdstringToken ID
notifications[].payment.token.uristringMetadata URI
notifications[].payment.token.defaultAdminstringAdmin address of the token
notifications[].payment.token.chainIdnumberChain ID where the token exists
notifications[].payment.token.createdAtstringISO timestamp when the token was created
notifications[].payment.token.hiddenbooleanWhether the token is hidden
notifications[].payment.buyerobjectFull artist object with all buyer details
notifications[].payment.buyer.addressstringAddress of the buyer
notifications[].payment.buyer.usernamestringUsername of the buyer
notifications[].payment.buyer.biostringBio of the buyer
notifications[].payment.buyer.instagram_usernamestringInstagram handle of the buyer
notifications[].payment.buyer.twitter_usernamestringTwitter handle of the buyer
notifications[].payment.buyer.telegram_usernamestringTelegram handle of the buyer
notifications[].payment.amountstringNumeric amount paid
notifications[].payment.hashstringTransaction hash
notifications[].payment.blockstringBlock number where the transaction occurred
notifications[].artistobjectFull artist object with all artist details
notifications[].artist.addressstringAddress of the artist
notifications[].artist.usernamestringUsername of the artist
notifications[].artist.biostringBio of the artist
notifications[].artist.instagram_usernamestringInstagram handle of the artist
notifications[].artist.twitter_usernamestringTwitter handle of the artist
notifications[].artist.telegram_usernamestringTelegram handle of the artist
notifications[].viewedbooleanWhether the notification has been viewed
notifications[].created_atstringISO timestamp when the notification was created

Error Response

If an error occurs, the API returns:

{
  "status": "error",
  "message": "...error message..."
}