It's not your everyday Joe who gets to communicate with Allah, directly or indirectly:
And it is not for any human being that Allah should speak to him except by revelation or from behind a partition or that He sends a messenger to reveal, by His permission, what He wills. Indeed, He is Most High and Wise. -- Qur'an 42:51
As I understand, communicating directly with Allah is reserved for prophets, such as Prophet Musa (And Allah spoke to Moses with [direct] speech. 4:164) and Prophet Isa ([Mention] when Allah said, "O Jesus, indeed I will take you and raise you to Myself... 3:55).
However, in e.g. Qur'an 15:32-33, Allah directly communicates with Iblis:
[ Allah ] said, O Iblees, what is [the matter] with you that you are not with those who prostrate?"
He said, "Never would I prostrate to a human whom You created out of clay from an altered black mud."
Question: If Allah communicates directly with Iblis, does that technically make him some kind of prophet?
I assume the answer is a resounding no, but I'm not clear why.