curl --location --request PUT '/v1/flows//phases//messaging-config/rules/' \
--header 'Content-Type: application/json' \
--data '{
"channels": [
{
"name": "string",
"templateId": "string",
"setup": {
"phoneId": "string"
}
}
],
"conditions": [
{
"rule": [
{
"path": "string",
"condition": "string",
"target": null
}
]
}
]
}'{
"ruleId": "string",
"channels": [
"string"
],
"conditions": [
"string"
]
}