[api] fix trigger call validation