The shortest war in history lasted about 38 minutes.
Why it is true
The Anglo-Zanzibar War of 1896 began when the Sultan of Zanzibar refused to abdicate and lasted about 38 minutes. The British bombardment destroyed the palace and ended the conflict, which is considered the shortest documented war.
Source: Britannica
Would you rather be asked first?
This is the reading side of the site, so the answer is in the sentence above — that is the whole point of it. Test yourself works the other way round: the question comes on its own, and the fact and the explanation only appear once you have answered.