{
  "opencollection": "1.0.0",
  "info": {
    "name": "Salesflare Accounts API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.salesflare.com/accounts",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "query"
              },
              {
                "name": "details",
                "value": "",
                "type": "query"
              },
              {
                "name": "search",
                "value": "",
                "type": "query"
              },
              {
                "name": "name",
                "value": "",
                "type": "query"
              },
              {
                "name": "creation_after",
                "value": "",
                "type": "query"
              },
              {
                "name": "creation_before",
                "value": "",
                "type": "query"
              },
              {
                "name": "min_size",
                "value": "",
                "type": "query"
              },
              {
                "name": "max_size",
                "value": "",
                "type": "query"
              },
              {
                "name": "domain",
                "value": "",
                "type": "query"
              },
              {
                "name": "tag",
                "value": "",
                "type": "query"
              },
              {
                "name": "tag.name",
                "value": "",
                "type": "query"
              },
              {
                "name": "address.country",
                "value": "",
                "type": "query"
              },
              {
                "name": "address.city",
                "value": "",
                "type": "query"
              },
              {
                "name": "address.state_region",
                "value": "",
                "type": "query"
              },
              {
                "name": "hotness",
                "value": "",
                "type": "query",
                "description": "Hotness level. Allowed values: 1 (Room temp), 2 (Hot), 3 (On fire)."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "custom",
                "value": "",
                "type": "query"
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Sort instructions. Provide either 'key' (ascending) or 'key desc' (descending). Default sort order is ascending."
              },
              {
                "name": "q",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "export",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Request a list of accounts with optional filters and pagination"
        },
        {
          "info": {
            "name": "Create an account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.salesflare.com/accounts",
            "params": [
              {
                "name": "update_if_exists",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an account"
        },
        {
          "info": {
            "name": "Get account details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.salesflare.com/accounts/:account_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get account details"
        },
        {
          "info": {
            "name": "Update an account",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.salesflare.com/accounts/:account_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an account"
        },
        {
          "info": {
            "name": "Delete an account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.salesflare.com/accounts/:account_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete an account"
        },
        {
          "info": {
            "name": "List an account's messages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.salesflare.com/accounts/:account_id/messages",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "before",
                "value": "",
                "type": "query"
              },
              {
                "name": "after",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List an account's messages"
        },
        {
          "info": {
            "name": "Get an account's feed",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.salesflare.com/accounts/:account_id/feed",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "before",
                "value": "",
                "type": "query"
              },
              {
                "name": "after",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "types",
                "value": "",
                "type": "query"
              },
              {
                "name": "contacts",
                "value": "",
                "type": "query",
                "description": "List of contacts to filter the account feed on. Empty array means no contacts and if key not present then all contacts will be used."
              }
            ]
          },
          "docs": "Get an account's feed which includes emails, messages, meetings, and other activities"
        },
        {
          "info": {
            "name": "Update an account's users",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.salesflare.com/accounts/:account_id/users",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an account's users"
        },
        {
          "info": {
            "name": "Update an account's users",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.salesflare.com/accounts/:account_id/users",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an account's users"
        },
        {
          "info": {
            "name": "Update an account's contacts",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.salesflare.com/accounts/:account_id/contacts",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an account's contacts"
        },
        {
          "info": {
            "name": "Update an account's contacts",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.salesflare.com/accounts/:account_id/contacts",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an account's contacts"
        }
      ]
    }
  ],
  "bundled": true
}