Call our API from a rule

Here is an FAQ that answers this.