Push notification audience parameter

Hi,

I am creating a service that triggers a push notification to a single registered device. I wan to send the target deviceId as a parameter to the API.

Ho should I code the “segment” where clause in the push template to match that API parameter ?

Nevermind. I figured out a solution without using templates. Please ignore this.