Error API action (binding variable to JSON)

There’s no easy way to do this, but you can try to check what people did in the past: