API trigger