We’re trying to standardize our IVR logic by moving common greeting and authentication steps into a shared flow module. The goal is to have multiple inbound call flows invoke this single source of truth using a Data Action. I’ve set up the shared flow with an entry point and configured the Data Action in the main flow to call it via the REST API. The endpoint path looks correct, but the call consistently fails with a 404 Not Found error. I’ve double-checked the flow ID and the environment variables, but nothing seems to be off. Here’s the Data Action JSON configuration I’m using:
{
"settings": {
"method": "POST",
"url": "{{env:GENESYS_CLOUD_API_URL}}/api/v2/flows/actions/{{flowId}}/execute",
"headers": {
"Authorization": "Bearer {{token}}"
}
}
}
The {{flowId}} resolves correctly in the debug logs. I can call the same endpoint manually with Postman using the same token and it works fine. I’ve also tried adding the Accept: application/json header, but that didn’t change anything. The error response body is just a generic error object with no useful details. Is there a specific permission or header I’m missing that’s causing this?