Add a refresh endpoint