Docs

Reference

Stages, lists, tags

Pipeline stages, lead lists and tags in use — read before moving or tagging people.

View MarkdownThis page is generated from the source code on every release.

Pipeline stages, lead lists and tags in use — read before moving or tagging people.

Overview

Name Value
Code crm.setup
New code (v2) stages.setup_defaults
Scope needed crm.read
Risk Read
May need confirmation No
Runs as Answers right away
Needs Idempotency-Key No
Member roles allowed owner, manager, agent, viewer
In the app People → filters

Input fields

This operation takes no fields.

Example request

curl -X POST https://tlg.builera.app/api/public/v2/ops/crm.setup \
  -H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Output fields (data)

Field Type Required
stages object[] Yes
lists object[] Yes
tags object[] Yes

Example answer

{
  "data": {
    "stages": [
      {
        "id": "00000000-0000-4000-8000-000000000000",
        "name": "text",
        "color": "text",
        "kind": "open",
        "position": 1
      }
    ],
    "lists": [
      {
        "id": "00000000-0000-4000-8000-000000000000",
        "name": "text",
        "description": "text",
        "created_at": "2026-10-22T12:00:00.000Z"
      }
    ],
    "tags": [
      {
        "n": 1,
        "tag": "text"
      }
    ]
  }
}

Using it over MCP

Not listed on any profile: call tools_describe then tools_run with code: "crm.setup". Tool name when listed: crm_setup.

Was this page helpful?

Last checked: 10/24/2026 · build 2.0