---
title: Append JSON Object to List
slug: append-json-object-to-list
docTags: 
createdAt: 2021-12-22T07:28:32.000Z
---

This is a variant of the Merge. The input and output look the same in the two documents but when you use the API from the public library, the "**list\_to\_append**" property changes to "**json\_to\_append**"&#x20;



### API Definition

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://orca.pathfix.com/functions/list/append",
  "name": "Append or Merge Two Lists API",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "28UsDqyeH3QRdmtVamSQT",
        "code": "{\n\t\"output\": [{\n\t\t\t\"list1_property\": \"value\"\n\t\t},\n\t\t{\n\t\t\t\"list2_property\": \"value\"\n\t\t}\n\t]\n\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\"list1_property\": \"value\"\r\n\t}],\r\n\t\"list_to_append\": [{\r\n\t\t\"list2_property\": \"value\"\r\n\t}]\r\n}",
        "language": "json"
      }
    ],
    "selectedLanguageId": "ENcJz9TStG38F0X-taA4x"
  },
  "description": "\nCall the following API:",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  }
}
```
:::

















