In a small saucepan, combine cocoa powder, water, sugar and salt. Whisk until cocoa is dissolved. Boil for 3 minutes over medium heat. Be careful not to let it get too hot and boil over! Whisk in vanilla extract. Let cool.
The chocolate syrup will keep for several months in a squeeze bottle or glass jar in the refrigerator.