The literal answer to the question: How do you say “who’s there?” in Spanish? — would be:
“¿Quién es allí?” — Who’s There?
Listen to Audio: How to say “Who’s there?” in Spanish
[Audio clip: view full post to listen]

…but this is the automatic translation and is generally incorrect.
The slightly longer answer to the question of how to [...]