CRM

Delete a segment

crm_delete_segment · Deletes data · Markdown

Deletes a saved segment; the records in it stay as they are.

$0.001 a call

From your agent’s balance. A call that fails costs nothing.

An example

We don't need the summer sale 2025 buyers list any more. Delete it, but keep the people.

Your agent callscrm_delete_segment$0.001 a call

The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.

With these arguments
{
  "object": "contact",
  "segment": "Summer sale 2025 buyers"
}
What comes back
{
  "deleted": {
    "id": 4102,
    "object": "contact",
    "name": "Summer sale 2025 buyers",
    "filters": [
      {
        "field": "tag",
        "op": "eq",
        "value": "summer-sale-2025"
      }
    ],
    "sort": null,
    "updated_at": "2026-10-14T08:00:00+00:00"
  }
}

Use it when

A saved list is no longer needed.

What it does

Delete a saved segment; the records stay as they are.

What comes back

deleted: the segment's name. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
objectRequiredstringOne of: contact,company,deal.
segmentRequiredstringName or id. 1 to 80 characters.

The call

Over MCP, call crm_delete_segment on https://api.conecto.chat/mcp/crm. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/crm_delete_segment \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"object":"contact","segment":"Summer sale 2025 buyers"}'

When it refuses

A refused call costs nothing and says what to do next.

CodeWhenWhat to do
not_found404No saved segment of that object has that name or id.Call crm_list_segments; the message also names the saved segments.

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md