omega
  1. email
omega
  • health
    • Get Health
      GET
    • Check Db Connection
      GET
  • sms
    • Queue SMS for sending and database recording
      POST
    • Record SMS message in database without sending
      POST
    • Update SMS delivery status
      POST
  • email
    • Queue email for sending and database recording
      POST
    • Record email message in database without sending
      POST
    • Update email delivery status
      POST
    • Handle external email provider webhooks
      POST
  • businesses
    • Get paginated list of client conversations for a business
      GET
    • Add internal note to a client conversation
      POST
    • Get list of business locations
      GET
    • Create or retrieve client conversation
      POST
    • Get available conversation filters
      GET
    • Get paginated conversation messages with filters
      GET
    • Assign a client conversation to a staff member
      POST
    • Update client conversation status
      POST
    • Update read status of messages using filters
      POST
  • business-clients
    • Get detailed client profile and conversation information
      GET
    • Get paginated list of clients for a business
      GET
  • business-staffs
    • Get detailed profile of a specific staff member
      GET
    • Get paginated list of staff members for a business
      GET
  • voice-calls
    • Get Token
      GET
    • Handle Twiml Call
      POST
  • messages
    • Retry Processing of Failed Messages
    • Retry Processing of Failed Messages
    • Get messages by request ID
    • Get messages by request ID
    • Search messages within a specific conversation
    • Search messages within a specific conversation
    • Process and record messages from any supported channel
  • twilio
    • Process incoming SMS replies via Twilio webhook
    • Process SMS delivery status updates from Twilio
    • Update voice call status in DB
  • session
    • Expire Session
  • authentication
    • Generate Auth Token
  • business
    • Onboard a business
    • Get business onboarding status
  1. email

Queue email for sending and database recording

POST
/businesses/{business_id}/email
Queues an email message for sending to specified recipients. The message will be:
Validated for existence if message_id is provided
Added to the email sending queue
Recorded in the database upon successful delivery
Supports both single and bulk message sending.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dev.isaac.wellnessliving.com/omega/businesses//email' \
--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"
        }
    ]
}'
Response Response Example
200 - Example 1
{}

Request

Authorization
API Key
Add parameter in header
X-API-KEY
Example:
X-API-KEY: ********************
or
API Key
Add parameter in header
cookie
Example:
cookie: ********************
or
Path Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Returns a success message with queue confirmation. The actual email delivery status will be updated asynchronously.
Body

🟠422Parameter Error
Modified at 2025-07-07 07:04:14
Previous
Update SMS delivery status
Next
Record email message in database without sending
Built with