Unknown property used in expression ${action=='submit'}

When calling url /platform-api/process-instances, I am getting the error unknown property used in the expression. How do I pass the property to the rest api

Depends on what kind of expression you are using. If it’s a regular variable, you will need to pass the variable with the REST request you use to start the process instance, complete the task, etc.