I'm using the Salesforce REST API to create a Case. I assign the SuppliedEmail field to the email of the user who's creating the case, as well as all other necessary fields. The case is correctly created in salesforce but the auto-response rule set up for it is not triggered. I have verified the rule is working and active, all conditions for the rule are met, so it's not a question of the rule not matching.
The problem is that salesforce is not evaluating/triggering auto-response rules after a Case is created through the API. Through the SOAP API you can set this using the EmailHeader but I can't find a way to set this through the REST API.
To be clear I'm making a POST request to the URI /sobjects/Case
with the JSON value of the case itself as the request body.
Is there a way to set the EmailHeader.triggerAutoResponseEmail
field to true using the REST API, perhaps through some additional field in the request body?