Api urls always return 404 not found

The best thing to do is to share you gateway startup logs, and your gateway/dashboard config file.

It is most likely that you are targeting the wrong host with your api requests.