You must drink plenty of water to flush the toxins from the body. The same with reflexology, drink at least 2 full glasses of water. The person performing the massage should have told you this. This is why you have a headache.
Almost certainly as many headaches come on during periods of relaxation...e,g migraine often comes on at weekends after a stressful week.
Nothing to do with toxins OR dehyration.