How to pass filters from client side, not through embedded question

I want to be able to pass filters for my query from client side.
var payload = {
resource: { question: 8},
params: { myFilterField: filter },
exp: Math.round( / 1000) + (60 * 60)

Is it possible to do this in the params section of the payload? Or elsewhere?

Hi @pacman
Yes, then set the parameter to Editable instead of Locked.

Ah it was that simple. Awesome Thanks!