Trying to call a shared flow from an inbound call flow using the proxy in Architect. The docs say to use /api/v2/architect/sharedflows/{id}/execute. Getting a 404 Not Found.
- Using valid access token with
architect:sharedflowscope. - Flow ID is correct, verified in UI.
- Endpoint returns 404 in Postman.
Code:
var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var response = await client.PostAsync($"https://{org}.mypurecloud.com/api/v2/architect/sharedflows/{flowId}/execute", content);
Why is it failing?