Getting 404 error in URL

Both login API failed with 404 error:
curl -X POST -H “Content-Type:application/json” -d “{"email":"admin" , "password":"admin" }” “http://localhost:8080/api/internal/login
curl -X POST -H “Content-Type:application/json” -d “{"email":"admin" , "password":"admin" }” “http://localhost:8080/api/login

What version of Chirpstack are you using? How did you install it (docker/Ubuntu)?

In Chirpstack V4 the restAPI is no longer supported, you need to install an additional component to make it work. Or use the gRPC API.

We have installed Chirpstack V4 on Ubuntu 22.04.
Can you please let us know which component to install to use API?

Can you please guide us how to install gRPC to access Chirpstack API?

If you want to use the REST API you need to install the software from github: REST - ChirpStack open-source LoRaWAN® Network Server documentation

If you want to use gRPC that will just work, you only need to get an API key from the Chirpstack UI, then write the code to interact with it: Python examples - ChirpStack open-source LoRaWAN® Network Server documentation

https://www.chirpstack.io/docs/chirpstack/api/api.html