Add get_invitation method to get an invite by its unique ID.