---
title: To Separated Text (From Text OR JSON List)
slug: to-separated-text-from-text-or-json-list
docTags: 
createdAt: 2021-12-22T07:28:32.000Z
---

Converts a JSON list to a delimited text output. The "output" parameter is required only if the input list is a list of JSON Objects and will be ignored if the input list is a Text List&#x20;



### API Definition

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://orca.pathfix.com/functions/list/toseparatedtextfromtextlist",
  "name": "To Separated Text API",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "28UsDqyeH3QRdmtVamSQT",
        "code": "{\n    \"output\": \"ralph@pathfix.com,janet@pathfix.com\"\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\"user_id\": \"ron@pathfix.com\"\r\n \t\t},\r\n \t\t{\r\n \t\t\t\"user_id\": \"janet@pathfix.com\"\r\n \t\t}\r\n \t],\r\n \t\"separator\": \",\",\r\n \t\"output\": \"{{user_id}}\"\r\n }",
        "language": "json"
      }
    ],
    "selectedLanguageId": "ENcJz9TStG38F0X-taA4x"
  },
  "description": "\nCall the following API:",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  }
}
```
:::















