Is sinister base on a true story?

No it is a work of fiction. The idea for the story came to the writer, Scott Derrickson, from a nightmare he had after watching The Ring.