{
  "opencollection": "1.0.0",
  "info": {
    "name": "Convert Accounts Visitors Data API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Visitors Data",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Visitors Data",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.convert.com/api/v2/accounts/:account_id/projects/:project_id/visitors-data",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "ID of the account that owns the retrieved/saved data"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "ID of the project to be retrieved"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Get visitors data for a project\n"
        },
        {
          "info": {
            "name": "Create Visitor Data Item",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.convert.com/api/v2/accounts/:account_id/projects/:project_id/visitors-data/add",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "ID of the account that owns the retrieved/saved data"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "ID of the project to be retrieved"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new visitor data item. Fails if visitor_id already exists."
        },
        {
          "info": {
            "name": "Get Visitor Data Item",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.convert.com/api/v2/accounts/:account_id/projects/:project_id/visitors-data/:visitor_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "ID of the account that owns the retrieved/saved data"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "ID of the project to be retrieved"
              },
              {
                "name": "visitor_id",
                "value": "",
                "type": "path",
                "description": "The visitor identifier for visitor data operations"
              }
            ]
          },
          "docs": "Returns a single visitor data item by visitor_id."
        },
        {
          "info": {
            "name": "Update Visitor Data Item",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.convert.com/api/v2/accounts/:account_id/projects/:project_id/visitors-data/:visitor_id/update",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "ID of the account that owns the retrieved/saved data"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "ID of the project to be retrieved"
              },
              {
                "name": "visitor_id",
                "value": "",
                "type": "path",
                "description": "The visitor identifier for visitor data operations"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing visitor data item by visitor_id."
        },
        {
          "info": {
            "name": "Delete Visitor Data Item",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.convert.com/api/v2/accounts/:account_id/projects/:project_id/visitors-data/:visitor_id/delete",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "ID of the account that owns the retrieved/saved data"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "ID of the project to be retrieved"
              },
              {
                "name": "visitor_id",
                "value": "",
                "type": "path",
                "description": "The visitor identifier for visitor data operations"
              }
            ]
          },
          "docs": "Deletes a visitor data item identified by visitor_id."
        },
        {
          "info": {
            "name": "Import Visitors Data Csv",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.convert.com/api/v2/accounts/:account_id/projects/:project_id/visitors-data/import",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "ID of the account that owns the retrieved/saved data"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "ID of the project to be retrieved"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Imports visitors data into the project from a CSV file\n"
        },
        {
          "info": {
            "name": "Import Visitors Data Push",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.convert.com/api/v2/accounts/:account_id/projects/:project_id/visitors-data/push",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "ID of the account that owns the retrieved/saved data"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "ID of the project to be retrieved"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "push endpoint for visitors data import from the third party service\n"
        }
      ]
    }
  ],
  "bundled": true
}