Allow endpoint to query by sender or receiver.