Document query endpoint

.expect(/invalid token/i)