build-hidden endpoint.