masto
    Preparing search index...

    Interface ListNotificationsParams

    interface ListNotificationsParams {
        accountId?: string | null;
        excludeTypes?:
            | readonly (
                | "status"
                | "poll"
                | "quote"
                | "mention"
                | "reblog"
                | "follow"
                | "follow_request"
                | "favourite"
                | "update"
                | "quoted_update"
                | "admin.sign_up"
                | "admin.report"
                | "severed_relationships"
                | "moderation_warning"
            )[]
            | null;
        limit?: number
        | null;
        maxId?: string | null;
        minId?: string | null;
        sinceId?: string | null;
        supportedTypes?:
            | readonly (
                | "status"
                | "poll"
                | "quote"
                | "mention"
                | "reblog"
                | "follow"
                | "follow_request"
                | "favourite"
                | "update"
                | "quoted_update"
                | "admin.sign_up"
                | "admin.report"
                | "severed_relationships"
                | "moderation_warning"
            )[]
            | null;
        types?: | readonly (
            | "status"
            | "poll"
            | "quote"
            | "mention"
            | "reblog"
            | "follow"
            | "follow_request"
            | "favourite"
            | "update"
            | "quoted_update"
            | "admin.sign_up"
            | "admin.report"
            | "severed_relationships"
            | "moderation_warning"
        )[]
        | null;
    }

    Hierarchy (View Summary)

    Index
    accountId?: string | null

    ID of the account

    excludeTypes?:
        | readonly (
            | "status"
            | "poll"
            | "quote"
            | "mention"
            | "reblog"
            | "follow"
            | "follow_request"
            | "favourite"
            | "update"
            | "quoted_update"
            | "admin.sign_up"
            | "admin.report"
            | "severed_relationships"
            | "moderation_warning"
        )[]
        | null

    Array of notifications to exclude (Allowed values: "follow", "favourite", "reblog", "mention")

    limit?: number | null

    Maximum number of results to return per page. Defaults to 40. NOTE: Pagination is done with the Link header from the response.

    maxId?: string | null

    Return results older than this ID.

    minId?: string | null

    Get a list of items with ID greater than this value excluding this ID

    sinceId?: string | null

    Return results newer than this ID.

    supportedTypes?:
        | readonly (
            | "status"
            | "poll"
            | "quote"
            | "mention"
            | "reblog"
            | "follow"
            | "follow_request"
            | "favourite"
            | "update"
            | "quoted_update"
            | "admin.sign_up"
            | "admin.report"
            | "severed_relationships"
            | "moderation_warning"
        )[]
        | null

    Array of String. Notification types to not get fallback representation for even when some is available. Passing this parameter is required to get any notification fallback at all. When this parameter is used, and a notification which type is not included in supported_types has an available fallback representation, it will be included in the notification’s fallback attribute.

    types?:
        | readonly (
            | "status"
            | "poll"
            | "quote"
            | "mention"
            | "reblog"
            | "follow"
            | "follow_request"
            | "favourite"
            | "update"
            | "quoted_update"
            | "admin.sign_up"
            | "admin.report"
            | "severed_relationships"
            | "moderation_warning"
        )[]
        | null

    Instead of specifying every known type to exclude, you can specify only the types you want.