> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# List Contact Properties

- Component: `appmixer.loops.core.ListContactProperties`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.loops 1.0.0](https://connectors.appmixer.com/connector/appmixer.loops/1.0.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.loops/1.0.0/component/appmixer.loops.core.ListContactProperties>

List the contact properties of your Loops account: all properties, or only the custom ones.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Properties (`list`) | select | Return all contact properties, or only the custom ones. |
| Output Type (`outputType`) | select | Choose whether you want to receive the result set as one complete list, or first item only or one item at a time or stream the items to a file. |

## Output ports

### Port `out`

Variables are loaded dynamically from `/component/appmixer/loops/core/ListContactProperties?outPort=out&ignoreAuth=true`.

## Full metadata (component.json)

```json
{
  "name": "appmixer.loops.core.ListContactProperties",
  "label": "List Contact Properties",
  "description": "List the contact properties of your Loops account: all properties, or only the custom ones.",
  "author": "Appmixer <info@appmixer.com>",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:loops"
  },
  "quota": {
    "manager": "appmixer:loops",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "list": {
            "type": "string",
            "enum": [
              "all",
              "custom"
            ]
          },
          "outputType": {
            "type": "string",
            "default": "array"
          }
        }
      },
      "inspector": {
        "inputs": {
          "list": {
            "type": "select",
            "index": 1,
            "label": "Properties",
            "defaultValue": "all",
            "tooltip": "Return all contact properties, or only the custom ones.",
            "options": [
              {
                "label": "All",
                "value": "all"
              },
              {
                "label": "Custom only",
                "value": "custom"
              }
            ]
          },
          "outputType": {
            "type": "select",
            "label": "Output Type",
            "index": 2,
            "defaultValue": "array",
            "tooltip": "Choose whether you want to receive the result set as one complete list, or first item only or one item at a time or stream the items to a file.",
            "options": [
              {
                "label": "First Item Only",
                "value": "first"
              },
              {
                "label": "All items at once",
                "value": "array"
              },
              {
                "label": "One item at a time",
                "value": "object"
              },
              {
                "label": "Store to CSV file",
                "value": "file"
              }
            ]
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "source": {
        "url": "/component/appmixer/loops/core/ListContactProperties?outPort=out&ignoreAuth=true",
        "data": {
          "properties": {
            "generateOutputPortOptions": true
          },
          "messages": {
            "in/outputType": "inputs/in/outputType"
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
