# listPipelineRoles

The org's roles of one `kind` (CONTACT when omitted): CONTACT a pipeline item's people, USER teammates, PROPERTY a pipeline item's properties, ITEM_LINK linked pipeline items, RELATIONSHIP related people, CONTACT_PROPERTY a contact's properties. `pipelineItemId`: the roles its pipeline owner offers. Ids for every set…Role op.

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

## Variables

- `kind`: `PipelineRoleKind` (one of `CONTACT`, `USER`, `PROPERTY`, `ITEM_LINK`, `RELATIONSHIP`, `CONTACT_PROPERTY`). Which link a pipeline role labels: a person on an item (CONTACT), a teammate on an item or a contact (USER), a property on an item (PROPERTY), an item linked to an item (ITEM_LINK), a related person's link to their main contact (RELATIONSHIP), or a contact's property (CONTACT_PROPERTY). A role never changes kind.
- `pipelineItemId`: `ID`

## Response (data, an example)

```json
{
  "pipelineItemQuery": {
    "listPipelineRoles": [
      {
        "id": "<ID>",
        "kind": "CONTACT",
        "name": "…",
        "onlyOne": true
      }
    ]
  }
}
```

## Example

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