Data-urlencode HTTP Alert Post Event Handler

will be possible to send a HTTP request to Twilio HTTP API with the Post Event Handler ?

var trigger = data
    .crit(lambda: "value" >= crit)

i configured twilio as endpoint in my kapacitor.conf file like this:

        endpoint = "twilio"
        url = ""
        basic-auth = { username = "ZZZ", password = "YYY" }
        alert-template-file = "/templates/twilio.tmpl"

But Twilio supports requests with the following format( in curl):

curl -X POST \
--data-urlencode "From=+15005550006" \
--data-urlencode "Body=Do. Or do not. There is no try." \
--data-urlencode "To=+14108675310" \

But i don’t have idea how to set the --data-urlencode properties with the current version of the Post Event Handler or if it is supported at leats. I tried with alert-template-file in my kapacitor.conf file like this:


but im not sure if that’s the way. Twilios responded with 400 ( From number is required )