API documentation for ZNC lives here. It's available for viewing at http://docs.znc.in/ If you want to change something, change https://github.com/znc/znc/blob/master/.travis-generate-docs.sh instead.