omega
  1. messages
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 paginated list of clients for a business
  • business-staffs
    • Get detailed profile of a specific staff member
    • Get paginated list of staff members for a business
  • voice-calls
    • Get Token
    • Handle Twiml Call
  • messages
    • Retry Processing of Failed Messages
      POST
    • Retry Processing of Failed Messages
      POST
    • Get messages by request ID
      GET
    • Get messages by request ID
      GET
    • Search messages within a specific conversation
      GET
    • Search messages within a specific conversation
      GET
    • Process and record messages from any supported channel
      POST
  • 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. messages

Search messages within a specific conversation

GET
/messages/{business_id}/conversations/{conversation_id}/messages/search
Search through messages in a specific conversation using text matching on content and subject fields.
Requires minimum 3 characters in search term
Uses trigram-based search for better performance
Returns paginated results ordered by sent date
Searches only within the specified conversation
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://dev.isaac.wellnessliving.com/omega/messages//conversations//messages/search' \
--header 'X-API-KEY;'
Response Response Example
200 - Example 1
{
    "messages": [
        {
            "message_id": 12345,
            "message_type": "TEXT",
            "content": "string",
            "channel": "string",
            "message_category": "string",
            "sender_id": 0,
            "sender_type": "string",
            "client_name": "string",
            "client_gender": "string",
            "client_image_url": "string",
            "staff_name": "string",
            "staff_gender": "string",
            "staff_image_url": "string",
            "message_status": "string",
            "sent_at": "2019-08-24T14:15:22Z",
            "flagged": true,
            "response_id": 0,
            "receiver_id": 0,
            "receiver_type": "string",
            "subject": "string",
            "recording_url": "string"
        }
    ],
    "total_messages": 50,
    "next_page": false
}

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

Query Params

Responses

🟢200OK
application/json
Returns a paginated list of messages matching the search criteria within the conversation
Body

🟠422Parameter Error
Modified at 2025-07-02 09:07:20
Previous
Get messages by request ID
Next
Search messages within a specific conversation
Built with