Is there any API endpoint to get the user metadata by member id?

There are many webhook events that include the member_id . For example, the chat_channel.member_invited event provides the member_id of the new participant. However, the member_id alone is not useful; what we need is the user metadata. The only API we found is ListChannelMembers, which lists all members and allows us to map the member_id to user metadata. However, listing all channel members every time we receive a chat_channel.member_invited event just to map the member_id to user metadata is not efficient. Is there any API endpoint that allows us to retrieve user metadata using only the member_id as a query parameter?