Is there a way to get the list of friend invitation requests in EOS?

I am implementing a friend list using EOS, but I couldn’t find the code to get the list of not friends in pending and inviting . Is there a way to do this?

After querying the friend list using EOS_Friends_QueryFriends, you can use the EOS_Friends_GetStatus API to get the current status of the social relationship between the player and one of their friends.

This returns whether a player is a friend (EOS_FS_Friends) or not a friend (EOS_FS_NotFriends) and includes additional statuses for when an invite is sent (EOS_FS_InviteSent) or received (EOS_FS_InviteReceived).

https://dev.epicgames.com/docs/epic-account-services/eos-friends-interface\#get-information-about-the-friends-list