Skip to main content

Search Conversations

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

READghl.search_conversations
  • Contract tier: agent_ready
  • Risk: read
  • Catalog version: 2026-07-12.2
  • Descriptor hash: 2c7f641f8d9e897e33a771070ee7607c3bc4618a3d7479b7978fcb97d557afb6

Search conversations in GoHighLevel with privacy-safe summaries by default. Contact emails, phone numbers, full message bodies, and raw provider fields are omitted unless explicitly requested. GHL category: Conversations. This is a read-only GHL API operation.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-search-conversations-example",
"method": "tools/call",
"params": {
"name": "ghl.search_conversations",
"arguments": {
"limit": 1,
"query": "query_example",
"status": "all",
"tenantId": "tenantId_123",
"contactId": "contactId_123",
"assignedTo": "assignedTo_example",
"includeMessageBodies": false,
"includeContactDetails": false
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"limit": {
"type": "number",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Maximum number of conversations to return (default: 20, max: 100)"
},
"query": {
"type": "string",
"description": "Search query to filter conversations"
},
"status": {
"enum": [
"all",
"read",
"unread",
"starred",
"recents"
],
"type": "string",
"default": "all",
"description": "Filter conversations by read status"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"contactId": {
"type": "string",
"description": "Filter conversations for a specific contact"
},
"assignedTo": {
"type": "string",
"description": "Filter by user ID assigned to conversations"
},
"includeMessageBodies": {
"type": "boolean",
"default": false,
"description": "Defaults to false. When true, include truncated last-message body snippets. Leave false for privacy-safe discovery."
},
"includeContactDetails": {
"type": "boolean",
"default": false,
"description": "Defaults to false. When true, include contact display name/email/phone in results only when explicitly needed."
}
}
}

Output Schema

{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the GHL MCP operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Tool-specific GHL or local navigation result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe execution, routing, and timing metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe error details when ok is false; credential values are never returned."
}
},
"description": "Normalized GHL MCP response envelope.",
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-search-conversations-example",
"method": "tools/call",
"params": {
"name": "ghl.search_conversations",
"arguments": {
"limit": 1,
"query": "query_example",
"status": "all",
"tenantId": "tenantId_123",
"contactId": "contactId_123",
"assignedTo": "assignedTo_example",
"includeMessageBodies": false,
"includeContactDetails": false
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ghl.search_conversations executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}