do realtors keep texting your number?

I've asked them to stop texting my number because I am not looking for a home, but she keeps trying to text me. is this harrassment or are they required to do so?