curl --request POST \
--url https://api.example.com/api/v1/campaigns/{campaign_id}/ehr-event/{friendly_id} \
--header 'Content-Type: application/json' \
--data '
{
"event_type": "appointment_created",
"event_data": {},
"target_id": "<string>",
"external_id": "<string>"
}
'