{
  "item": [
    {
      "id": "0c5a29d0-16ca-4f14-bbf9-fcf022c7ffdf",
      "name": "Field",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "5deb22b8-c580-41a3-9cea-11314ae9e78e",
          "name": "Create field",
          "request": {
            "name": "Create field",
            "description": {},
            "url": {
              "path": [
                "lists",
                ":list_id",
                "fields"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "list_id",
                  "description": "(Required) The ID of the list."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"label\": \"<string>\",\n  \"tag\": \"<string>\",\n  \"type\": \"<string>\",\n  \"choices\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"fallback\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "f366c396-1ab2-4a82-8374-e06e836424f3",
              "name": "The created field.",
              "originalRequest": {
                "url": {
                  "path": [
                    "lists",
                    ":list_id",
                    "fields"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "list_id",
                      "description": "(Required) The ID of the list."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"label\": \"What is your hometown?\",\n  \"tag\": \"Hometown\",\n  \"type\": \"text\",\n  \"choices\": [\n    \"One\",\n    \"Two\"\n  ],\n  \"fallback\": \"Unknown\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"label\": \"What is your hometown?\",\n  \"tag\": \"Hometown\",\n  \"type\": \"text\",\n  \"choices\": [\n    \"One\",\n    \"Two\"\n  ],\n  \"fallback\": \"Unknown\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "c9886823-2c1d-4374-972c-c8996a77267d",
          "name": "Update field",
          "request": {
            "name": "Update field",
            "description": {},
            "url": {
              "path": [
                "lists",
                ":list_id",
                "fields",
                ":tag"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "list_id",
                  "description": "(Required) The ID of the list."
                },
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "tag",
                  "description": "(Required) The tag identifier."
                }
              ]
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PUT",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"label\": \"<string>\",\n  \"tag\": \"<string>\",\n  \"type\": \"<string>\",\n  \"choices\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"fallback\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "54a4c39e-4324-4a8e-b18d-334297e926e6",
              "name": "The updated field.",
              "originalRequest": {
                "url": {
                  "path": [
                    "lists",
                    ":list_id",
                    "fields",
                    ":tag"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "list_id",
                      "description": "(Required) The ID of the list."
                    },
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "tag",
                      "description": "(Required) The tag identifier."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PUT",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"label\": \"What is your hometown?\",\n  \"tag\": \"Hometown\",\n  \"type\": \"text\",\n  \"choices\": [\n    \"One\",\n    \"Two\"\n  ],\n  \"fallback\": \"Unknown\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"label\": \"What is your hometown?\",\n  \"tag\": \"Hometown\",\n  \"type\": \"text\",\n  \"choices\": [\n    \"One\",\n    \"Two\"\n  ],\n  \"fallback\": \"Unknown\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "9f50a6c6-5790-487e-9208-0d63af75a63f",
          "name": "Delete field",
          "request": {
            "name": "Delete field",
            "description": {},
            "url": {
              "path": [
                "lists",
                ":list_id",
                "fields",
                ":tag"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "list_id",
                  "description": "(Required) The ID of the list."
                },
                {
                  "disabled": false,
                  "type": "any",
                  "value": "<string>",
                  "key": "tag",
                  "description": "(Required) The tag identifier."
                }
              ]
            },
            "method": "DELETE",
            "auth": null
          },
          "response": [
            {
              "id": "547a860e-435a-4620-aff5-0b2f5af478e6",
              "name": "The field was deleted.",
              "originalRequest": {
                "url": {
                  "path": [
                    "lists",
                    ":list_id",
                    "fields",
                    ":tag"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "list_id",
                      "description": "(Required) The ID of the list."
                    },
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "<string>",
                      "key": "tag",
                      "description": "(Required) The tag identifier."
                    }
                  ]
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "No Content",
              "code": 204,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "body": "",
              "cookie": [],
              "_postman_previewlanguage": "text"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    }
  ],
  "event": [],
  "variable": [
    {
      "type": "string",
      "value": "https://api.emailoctopus.com",
      "key": "baseUrl"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}"
      }
    ]
  },
  "info": {
    "_postman_id": "5b92cbba-abda-45cc-9519-5469ed2dfd6e",
    "name": "EmailOctopus v2 Automation Field API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": {
      "content": "The EmailOctopus v2 REST API lets developers manage subscriber lists, contacts, custom fields, tags, campaigns, automations, and campaign reports. All requests are made over HTTPS to https://api.emailoctopus.com and authenticated with a Bearer API key in the Authorization header.\n\nContact Support:\n Name: EmailOctopus Support",
      "type": "text/plain"
    }
  }
}