Skip to main content

Get Notifications

GET 

/notifications/:user_id

Get notifications for user ID

Request

Path Parameters

    user_id stringrequired

    A User ID

Query Parameters

    timestamp integer

    The timestamp from which to paginate

    group_id string

    The group_id form which to paginate

    limit integer

    The number of notifications to return

    types string[]

    Possible values: [announcement, follow, repost, save, remix, cosign, create, tip_receive, tip_send, challenge_reward, repost_of_repost, save_of_repost, tastemaker, reaction, supporter_dethroned, supporter_rank_up, supporting_rank_up, milestone, track_milestone, track_added_to_playlist, playlist_milestone, tier_change, trending, trending_playlist, trending_underground, usdc_purchase_buyer, usdc_purchase_seller, track_added_to_purchased_album, request_manager, approve_manager_request, claimable_reward, comment, comment_thread, comment_mention, comment_reaction, listen_streak_reminder, fan_remix_contest_started, fan_remix_contest_ended, fan_remix_contest_ending_soon, fan_remix_contest_winners_selected, artist_remix_contest_ended, artist_remix_contest_ending_soon, artist_remix_contest_submissions]

    Additional valid notification types to return

Responses

Success

Schema

    latest_chain_block integerrequired
    latest_indexed_block integerrequired
    latest_chain_slot_plays integerrequired
    latest_indexed_slot_plays integerrequired
    signature stringrequired
    timestamp stringrequired

    version

    object

    required

    service stringrequired
    version stringrequired

    data

    object

    notifications

    object[]

  • Array [

  • oneOf

    type stringrequired
    group_id stringrequired
    is_seen booleanrequired
    seen_at integer

    actions

    object[]

    required

  • Array [

  • specifier stringrequired
    type stringrequired
    timestamp integerrequired

    data

    object

    required

    follower_user_id stringrequired
    followee_user_id stringrequired
  • ]

  • ]

  • unread_count integerrequired
Loading...