# listPipelineNames

List the organization's own deal pipelines, id and name only, oldest first. `sameNameCount` is how many share the row's name. Use this to find a pipeline id by name. For every pipeline's stages in one call, use listPipelines.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "listPipelineNames", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

None.

## Response (data, an example)

```json
{
  "dealQuery": {
    "listDealPipelineRefs": [
      {
        "id": "<ID>",
        "name": "…",
        "sameNameCount": 0
      }
    ]
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "listPipelineNames",
    "variables": {}
  }'
```
