Excerpt from Rule Machine API
Set Hub Variable
A Hub Variable can be set by an endpoint trigger. The format for the parameter is this:
/setHubVariable=varName:varString
The varString portion is assumed to be URL encoded, and is URL decoded before being stored into the varName Hub Variable.