fiexes + api servise with private key