Authorization: ********************
{
"rule_set_name": "string",
"country_code": "string",
"phone_number": "string",
"call_metadata": {
"property1": "string",
"property2": "string"
},
"source_id": 0,
"source_field": "string",
"caller_id": "string",
"client_sid": 0,
"comm_type": {
"call_type": "INBOUND"
},
"call_type": "string",
"org_id": "string",
"region_id": "string",
"email": "string",
"zip_code": "string"
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v0alpha/compliance/processoutboundcall' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"rule_set_name": "string",
"country_code": "string",
"phone_number": "string",
"call_metadata": {
"property1": "string",
"property2": "string"
},
"source_id": 0,
"source_field": "string",
"caller_id": "string",
"client_sid": 0,
"comm_type": {
"call_type": "INBOUND"
},
"call_type": "string",
"org_id": "string",
"region_id": "string",
"email": "string",
"zip_code": "string"
}'
{
"permit": true,
"rule_responses": [
{
"rule_text": "string",
"permit": true,
"plugin_response": "string"
}
]
}