Search for messages. Up to 50 results will be returned. Bot messages will not be included.
cURL
curl --request POST \ --url https://1-some-client.some-server.healvi-chat/third-party/v1/search/messages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "query": "<string>", "conversation_id": 123, "not_older_than_days": 30 } '
{ "data": [ { "channel": "bridge", "message_id": 123, "conversation_id": 123, "customer_id": 123, "profile_id": 123, "profile_name": "<string>", "preview": "<string>", "score": 123 } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The search term to look for. Uses fuzzy search.
If given, only search for messages in that conversation.
Max age of messages. Lower to increase search performance.
Success
Show child attributes