{
  "opencollection": "1.0.0",
  "info": {
    "name": "1Fort API Documentation Email AI API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "email_ai",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List email users for broker",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/users",
            "params": [
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "A search term."
              },
              {
                "name": "ordering",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "provider",
                "value": "",
                "type": "query",
                "description": "Filter by email provider (OFFICE365 or GOOGLE)"
              },
              {
                "name": "is_active",
                "value": "",
                "type": "query",
                "description": "Filter by active status (true/false)"
              }
            ]
          },
          "docs": "List email users (mailboxes) for the broker's integrations"
        },
        {
          "info": {
            "name": "Retrieve email user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "A UUID string identifying this Email User."
              }
            ]
          },
          "docs": "Retrieve email user details"
        },
        {
          "info": {
            "name": "List attachments with summary",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/:business_id/attachments",
            "params": [
              {
                "name": "business_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "A search term."
              },
              {
                "name": "ordering",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "year",
                "value": "",
                "type": "query",
                "description": "Filter attachments by year"
              },
              {
                "name": "document_type",
                "value": "",
                "type": "query",
                "description": "Filter attachments by document type"
              }
            ]
          },
          "docs": "List attachments for emails linked to a business with summary statistics"
        },
        {
          "info": {
            "name": "List emails linked to a business",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/:business_id/emails",
            "params": [
              {
                "name": "business_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Search emails by subject or body"
              },
              {
                "name": "ordering",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "received_after",
                "value": "",
                "type": "query",
                "description": "Filter emails received after this date (ISO format)"
              }
            ]
          },
          "docs": "List emails linked to a business"
        }
      ]
    }
  ],
  "bundled": true
}