Can’t get this config to load properly. I am attempting to invoke a shared flow via the REST API using the /api/v2/architect/sharedflows/{sharedFlowId}/invocations endpoint. The request body contains the required inputs and context fields, but I am consistently receiving a 400 Bad Request with an INVALID_INPUT error code. Here is the payload structure I am sending:
{
"inputs": {
"callerId": "1234567890"
},
"context": {
"flowId": "abc-123"
}
}
What is the correct schema for invoking a shared flow programmatically in this context?
Thank you.