{
  "opencollection": "1.0.0",
  "info": {
    "name": "1Fort API Documentation email_ai (v2): profiles API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "email_ai (v2): profiles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/schema"
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/search/schema"
          },
          "docs": "Return OpenSearch query schema."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:id/create-business/schema",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:id/link-business/schema",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:id/link-email/schema",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:id/schema",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "List Binders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/binders",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List entities with optional filters."
        },
        {
          "info": {
            "name": "Create Binder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/binders",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create a new binder."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/binders/schema",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "Search",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/binders/search",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Search entities with POST body filters."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/binders/search/schema",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "Retrieve Binder",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/binders/:id",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a single entity by ID."
        },
        {
          "info": {
            "name": "Update an existing binder.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/binders/:id",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "A structured `coverage_term` replaces the binder's term wholesale;\n`status` round-trips through the legacy vocabulary via normalize_status."
        },
        {
          "info": {
            "name": "List COIs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/cois",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List entities with optional filters."
        },
        {
          "info": {
            "name": "Create COI",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/cois",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create a new certificate of insurance."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/cois/schema",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "Search",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/cois/search",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Search entities with POST body filters."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/cois/search/schema",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "Retrieve COI",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/cois/:id",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a single entity by ID."
        },
        {
          "info": {
            "name": "Update COI",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/cois/:id",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update an existing entity."
        },
        {
          "info": {
            "name": "List Coverage applications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/coverage-applications",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List entities with optional filters."
        },
        {
          "info": {
            "name": "Create a new CoverageApplication with auto-created parent Application.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/coverage-applications",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Creates both Application and CoverageApplication as a unified entity."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/coverage-applications/schema",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "Search",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/coverage-applications/search",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Search entities with POST body filters."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/coverage-applications/search/schema",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "Retrieve Coverage application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/coverage-applications/:id",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a single entity by ID."
        },
        {
          "info": {
            "name": "Update Coverage application",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/coverage-applications/:id",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update an existing entity."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/entities/search/schema",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "List Invoices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/invoices",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List entities with optional filters."
        },
        {
          "info": {
            "name": "Create an insurance invoice with auto-checkout.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/invoices",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "If ``herald_quote_id`` is provided, the invoice is built from the\nquote (program/agency fees + CT-derived line items) via\n``InsuranceInvoiceService.create_from_quote``. Set\n``auto_calculate_taxes`` to run InsCipher first so tax fees flow\ninto the invoice. Without ``herald_quote_id``, a standalone invoice\nis created from the supplied line items."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/invoices/schema",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "Retrieve Invoice",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/invoices/:id",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a single entity by ID."
        },
        {
          "info": {
            "name": "Update an existing invoice, optionally replacing line items.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/invoices/:id",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Wrapped in @transaction.atomic so that if checkout regeneration\nfails, the invoice/line-item changes are rolled back — preventing\na stale CheckoutInvoice from pointing to updated totals."
        },
        {
          "info": {
            "name": "Queue an invoice email send.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/invoices/:id/send-email",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns 202; the actual delivery is dispatched asynchronously (see\n``AgentActionService`` on the server side for how queueing and\ndelivery are coordinated)."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/invoices/:id/send-email/schema",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "List Policies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/policies",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List entities with optional filters."
        },
        {
          "info": {
            "name": "Create Policy",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/policies",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create a new policy."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/policies/schema",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "Search",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/policies/search",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Search entities with POST body filters."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/policies/search/schema",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "Retrieve Policy",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/policies/:id",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a single entity by ID."
        },
        {
          "info": {
            "name": "Update an existing policy.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/policies/:id",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "A structured `coverage_term` replaces the policy's term wholesale and\nsupersedes the flat limit/carrier scalars. Otherwise coverage scalars\n(limit, carrier_id) route to the CoverageTerm; date_issued maps to\nissue_date; the rest are plain columns."
        },
        {
          "info": {
            "name": "List Quotes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/quotes",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List entities with optional filters."
        },
        {
          "info": {
            "name": "Create a new quote with optional structured coverage_term or legacy flat fields.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/quotes",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Post-creation steps (outside atomic block):\n1. Upload attachments (async)\n\nInvoice generation is no longer auto-triggered. The agent must\ncreate invoices explicitly via POST /profiles/{id}/invoices with\nherald_quote_id set."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/quotes/schema",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "Search",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/quotes/search",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Search entities with POST body filters."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/quotes/search/schema",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        },
        {
          "info": {
            "name": "Retrieve Quote",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/quotes/:id",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a single entity by ID."
        },
        {
          "info": {
            "name": "Update Quote",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/quotes/:id",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update an existing entity."
        },
        {
          "info": {
            "name": "Queue a proposal email send.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/quotes/:id/send-proposal",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns 202; the actual delivery is dispatched asynchronously (see\n``AgentActionService`` on the server side for how queueing and\ndelivery are coordinated)."
        },
        {
          "info": {
            "name": "List Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.1fort.com/apis/v2/broker/agent/profiles/:profile_pk/quotes/:id/send-proposal/schema",
            "params": [
              {
                "name": "profile_pk",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the schema for this endpoint."
        }
      ]
    }
  ],
  "bundled": true
}