curl --location --request POST 'https://dev.isaac.wellnessliving.com/omega/businesses//email/record' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY;' \
--data-raw '{
"category": "campaign",
"notification_type": "notification_opt_in",
"staff_id": 789,
"provider": "twilio",
"sent_by": 789,
"sender_type": "client",
"sent_at": "string",
"from_email": "sender@dev.concerto.ai",
"messages": [
{
"message_id": 0,
"client_id": 0,
"wl_user_id": 0,
"to_email": "recipient@dev.concerto.ai",
"subject": "Your Appointment Details",
"message": "Dear client, here are your appointment details...",
"cc_email": [
"string"
],
"bcc_email": [
"string"
],
"attachments": [
{
"content": "string",
"content_type": "image/png",
"filename": "string",
"url": "string"
}
],
"status": "initiated",
"provider_metadata": {}
}
]
}'