How to pass Intent Data Value to a REST sensor URL

This may be a simple question. I have a Rhasspy Intent which passes a value to Home Assistant. The variable passed from Rhasspy is {{ContainerToCheck}}. I can confirm this works with a simple Speech/Text Action. Here is the intent script:

CheckDocker:  # Intent type
    speech:
      text:  Checking Docker State {{states("sensor.docker_check")}} {{ContainerToCheck}}

What I would like to do is pass that value to a rest sensor appending the variable at the end of the URL:

- platform: rest
    resource_template: http://xxx.xxx.x.x:8126/container/{{ContainerToCheck}}
    name: docker check
    value_template: '{{ value_json.status }}'

However, this does not need to pass any value to the resource_template. Does anyone know how to either debug this or pass an intent driven value to dynamically generate a REST call like this?