Gohighlevel logo

Search Opportunities (LeadConnector)

GoHighLevelSearch Opportunities (LeadConnector)

POST/v1/gohighlevel-search-opportunities
texau__gohighlevel-search-opportunitiescrm
cURL · api.texau.app
84ms
POST/v1/gohighlevel-search-opportunities
{
  "query": "sample-value",
  "limit": 1,
  "filter_1_field": "sample-value",
  "filter_1_operator": "sample-value",
  "filter_1_value": "sample-value",
  "sort_by": "sample-value",
  "sort_direction": "sample-value"
}
200 Accepted
{
  "ok": true,
  "data": {
    "success": true,
    "total": 1,
    "opportunity_id": "rec_4f3a91",
    "unique_name": "sample",
    "monetary_value": 1,
    "pipeline_id": "rec_4f3a91",
    "pipeline_stage_id": "rec_4f3a91",
    "status": "valid",
    "source": "sample",
    "last_status_change_at": "valid",
    "last_stage_change_at": "sample",
    "created_at": "sample",
    "updated_at": "sample",
    "contact_id": "rec_4f3a91",
    "location_id": "rec_4f3a91",
    "contact_name": "sample",
    "contact_company_name": "sample",
    "contact_email": "[email protected]",
    "contact_mobile_number": "sample",
    "contact_tag": "sample",
    "lost_reason_id": "rec_4f3a91",
    "follower": "sample",
    "note": "sample",
    "task": "sample",
    "calendar_event": "sample"
  }
}

Search and filter opportunities using advanced criteria, sorting, and standard pagination

Install

Add search opportunities (leadconnector) to your MCP client.

Drop this into claude_desktop_config.json (or your client's equivalent) and the tool shows up in any chat.

claude_desktop_config.json
{
  "mcpServers": {
    "texau": {
      "command": "npx",
      "args": ["-y", "@texau/mcp-server"],
      "env": { "TEXAU_API_KEY": "..." }
    }
  }
}

Tool name: texau__gohighlevel-search-opportunities

When to use this.

The "Search Opportunities" action within the LeadConnector API enables users to efficiently search and filter sales opportunities using advanced criteria, sorting options, and standard pagination. Key input parameters include an optional search query to match against configured fields, a limit to specify the number of results per page, and various filters to refine results based on specific fields and comparison operators. The action returns comprehensive output data, including opportunity details such as ID, name, monetary value, status, and associated contact information, along with metadata like tasks and calendar events. This functionality is essential for CRM and integration use cases, allowing businesses to streamline their sales processes, track opportunities effectively, and enhance lead management strategies.

Try it

Run a sample request.

The response is a deterministic, cached example. No live call, no credits used.

Search Opportunities (LeadConnector)

Try it

General search string (Max 75 chars). Tests against configured searchable fields.

The number of results to return per page.

The field to apply the first filter to.

The comparison operator for the first filter.

The value to filter by.

The field to sort the results by.

Response is cached — no live API call.

Response

Output schema.

Every field returned in `data`. Click rows to expand nested objects.

FieldType
  • success
    Success
    nullableboolean
  • total
    Total
    nullablenumber
  • opportunity_id
    Opportunity Id
    text
  • unique_name
    Unique Name
    text
  • monetary_value
    Monetary Value
    number
  • pipeline_id
    Pipeline Id
    text
  • pipeline_stage_id
    Pipeline Stage Id
    text
  • status
    Status
    text
  • source
    Source
    nullabletext
  • last_status_change_at
    Last Status Change At
    nullabletext
  • last_stage_change_at
    Last Stage Change At
    nullabletext
  • created_at
    Created At
    nullabletext
  • updated_at
    Updated At
    nullabletext
  • contact_id
    Contact Id
    text
  • location_id
    Location Id
    nullabletext
  • contact_name
    Contact Name
    text
  • contact_company_name
    Contact Company Name
    nullabletext
  • contact_email
    Contact Email
    text
  • contact_mobile_number
    Contact Mobile Number
    nullabletext
  • contact_tag
    Contact Tag
    nullabletext
  • lost_reason_id
    Lost Reason Id
    nullabletext
  • follower
    Follower
    nullabletext
  • note
    Note
    nullabletext
  • task
    Task
    nullabletext
  • calendar_event
    Calendar Event
    nullabletext

Integrate

Copy-pasteable snippets.

Real endpoint: https://v3-api.texau.com/api/v1/gohighlevel-search-opportunities. Auth: x-api-key.

cURL · api.texau.app
84ms
POST/v1/gohighlevel-search-opportunities
curl -X POST 'https://v3-api.texau.com/api/v1/gohighlevel-search-opportunities' \
  -H 'x-api-key: $TEXAU_API_KEY' \
  -H 'content-type: application/json' \
  -d '{"query":"sample-value","limit":1,"filter_1_field":"sample-value","filter_1_operator":"sample-value","filter_1_value":"sample-value","sort_by":"sample-value","sort_direction":"sample-value"}'
200 Accepted
{
  "ok": true,
  "data": {
    "success": true,
    "total": 1,
    "opportunity_id": "rec_4f3a91",
    "unique_name": "sample",
    "monetary_value": 1,
    "pipeline_id": "rec_4f3a91",
    "pipeline_stage_id": "rec_4f3a91",
    "status": "valid",
    "source": "sample",
    "last_status_change_at": "valid",
    "last_stage_change_at": "sample",
    "created_at": "sample",
    "updated_at": "sample",
    "contact_id": "rec_4f3a91",
    "location_id": "rec_4f3a91",
    "contact_name": "sample",
    "contact_company_name": "sample",
    "contact_email": "[email protected]",
    "contact_mobile_number": "sample",
    "contact_tag": "sample",
    "lost_reason_id": "rec_4f3a91",
    "follower": "sample",
    "note": "sample",
    "task": "sample",
    "calendar_event": "sample"
  }
}

Output

Results land in a TexAu table.

Sample rows below.

Real result preview coming soon.

InputStatusScore
[email protected]valid96
[email protected]risky54
[email protected]invalid12

Workflow

A real example.

Trigger → search opportunities (leadconnector) → enrich → push to your CRM. ~80 ms operator effort, the rest runs in the background.

Step 1TriggerNew row, webhook, or schedule.
Step 2Search Opportunities (LeadConnector)GoHighLevel action runs.
Step 3EnrichWaterfall fills missing fields.
Step 4Push to CRMHubSpot / Salesforce / Pipedrive.

Built for

Who runs this.

GTM EngineerRevOpsAgency

Reliability

Rate limits & reliability.

  • Per-minute limit60 / min
  • Per-day limit10,000 / day
  • RetriesAutomatic w/ backoff
  • ModeSync

Errors

HTTP status codes.

What each response means and what to do about it.

CodeCauseFix
200 OKAction ran. Data in `data`.Read response.
400 Bad RequestMissing or malformed input.Validate against the input schema.
401 UnauthorizedMissing or invalid `x-api-key`.Re-issue from /api-platform.
403 ForbiddenWorkspace lacks plan tier.Upgrade or contact sales.
404 Not FoundAction key not recognized.Verify the slug.
429 Rate LimitedPer-minute or per-day cap hit.Backoff; reduce concurrency.
500 Server ErrorUnexpected TexAu issue.Retry with backoff.
502 Bad GatewayUpstream provider 5xx.Retry; we surface root cause.
504 TimeoutUpstream slower than maxLatency.Switch to `isAsync` polling.

Pricing

What it costs to run.

Light tier

Pricing tier on /pricing. Per-action credit cost is private.

FAQ.

  • Is this real-time?

    Yes. Synchronous actions return in ~1–4 s. Long-running work uses async polling (see status 504 → switch to async).

  • Do I get charged on failure?

    No. Verified failures cost zero credits. Provider miss / 5xx / timeout cascade to the next provider in the waterfall when applicable.

  • Does it work with Claude / Cursor via MCP?

    Yes. Add the texau MCP server to your client config, then call `texau__gohighlevel-...` directly.

  • What CRMs can I push results to?

    HubSpot, Salesforce, Pipedrive, Zoho, and GoHighLevel are bidirectional. Smartlead, Instantly, Lemlist, HeyReach, Apollo Sequences, and Reply.io for outbound.

Run Search Opportunities (LeadConnector) in 60 seconds.

Pull your API key, paste the cURL, ship to your CRM.