Build zahpee api correctly