Having some config trouble here… I am trying to trigger a Genesys Cloud Architect External Data Action via a Zapier webhook using POST /api/v2/architect/flows/{flowId}/execute. I need to pass a JSON payload with user attributes, but the API returns a 400 error.
“Invalid flow input: missing required field ‘interactionType’”
Here is my cURL snippet:
curl -X POST https://api.mypurecloud.com/api/v2/architect/flows/123/execute -H "Authorization: Bearer <token>" -H "Content-Type: application/json" -d '{"divisionId": "456", "data": {"name": "Test"}}'
What is the correct JSON structure for the body?