salt-api: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/salt-api - from package: salt-api

You may install the required package with command yum install {package}
Error in other languages:
salt-api: bevel nie gevind nie
salt-api: comandă negăsită
salt-api: comando não encontrado
salt-api: commande introuvable
salt-api: command not found
salt-api: käsku ei ole
salt-api: không tìm thấy lệnh
salt-api: komanda nerasta
salt-api: Kommando nicht gefunden.
salt-api: kommandot finns inte
salt-api: komut yok
salt-api: nie znaleziono polecenia
salt-api: níor aimsíodh an t-ordú
salt-api: no se encontró la orden
salt-api: no s'ha trobat l'ordre
salt-api: opdracht niet gevonden
salt-api: parancs nem található
salt-api: perintah tidak ditemukan
salt-api: príkaz nenájdený
salt-api: příkaz nenalezen
salt-api: команда не найдена
salt-api: командата не е открита
salt-api: 命令找不到
salt-api: コマンドが見つかりません