endgame api integration