smc api