Securing an app with only hardcoded credentials is as allready mentioned not safe.
I should suggest you use some login like structure.
Where you first of all ask for username/password.
Then you build upp a API call using a signature you compile at run time. By doing this you never need to send the users password over the open web.
You can achieve this by do a call like this:
APIkey = "a specicic APIkey"; //To identify the specifik app "not secret"
Username = "usersname"; //To identify witch user trying to make the call
Request = "you needed request data"; //Your actual requst parameters.
Timestamp = "Current_timestamp"; //Current timestamp user to get unique signatures for every call
Signature = sha256_hash(APIkey + Username + Request + Timestamp + Password); //Signature using the users password(Secret).
You can then validate the call by recompiling the signature serverside aswell using the stored password in your database.
If the signatures match, the call should be authentic.
You should also set a timelimit and denying every call that is to old.
Note: you would probably need to adapt and change it to working code in your language, but you get the idea.