---
title: To Text List
slug: to-text-list
docTags: 
createdAt: 2021-12-22T07:28:32.000Z
---

Converts a list of JSON Objects to a Text List



### API Definition

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://orca.pathfix.com/functions/list/totextlist",
  "name": "To Text List API",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "28UsDqyeH3QRdmtVamSQT",
        "code": "\t\"output\": {\n\t\t\"output\": [\n\t\t\t\"bill@pathfix.com\",\n\t\t\t\"sophie@pathfix.com\"\n\t\t]\n\t}\n",
        "language": "200"
      },
      {
        "id": "yIX64DyIuDPJgBRFSfAWb",
        "code": "{\n    \"message\": \"error\"\n}",
        "language": "404"
      }
    ],
    "selectedLanguageId": "28UsDqyeH3QRdmtVamSQT"
  },
  "examples": {
    "languages": [
      {
        "id": "ENcJz9TStG38F0X-taA4x",
        "code": "{\r\n\t\"input\": [{\r\n\t\t\t\"emailAddress\": \"bill@pathfix.com\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"emailAddress\": \"sophie@pathfix.com\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"emailAddress\": \"\"\r\n\t\t}\r\n\t],\r\n\t\"rule\": {\r\n\t\t\"drop_nulls\": true\r\n\t}\r\n\t\"output\": \"{{emailAddress}}\",\r\n}",
        "language": "json"
      }
    ],
    "selectedLanguageId": "ENcJz9TStG38F0X-taA4x"
  },
  "description": "\nCall the following API:",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  }
}
```
:::















