{
  "opencollection": "1.0.0",
  "info": {
    "name": "SimpleLegal API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Matters",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Matters",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.simplelegal.com/api/v1/matters",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results per page (max 100)."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter matters by status."
              },
              {
                "name": "practice_area",
                "value": "",
                "type": "query",
                "description": "Filter matters by practice area."
              }
            ]
          },
          "docs": "Retrieve a paginated list of legal matters."
        },
        {
          "info": {
            "name": "Create Matter",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.simplelegal.com/api/v1/matters",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new legal matter."
        },
        {
          "info": {
            "name": "Get Matter",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.simplelegal.com/api/v1/matters/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Matter ID."
              }
            ]
          },
          "docs": "Retrieve a specific legal matter by ID."
        },
        {
          "info": {
            "name": "Update Matter",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.simplelegal.com/api/v1/matters/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Matter ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update fields on an existing legal matter."
        }
      ]
    },
    {
      "info": {
        "name": "Invoices",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Invoices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.simplelegal.com/api/v1/invoices",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Results per page."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by invoice status."
              },
              {
                "name": "matter_id",
                "value": "",
                "type": "query",
                "description": "Filter invoices by matter ID."
              },
              {
                "name": "vendor_id",
                "value": "",
                "type": "query",
                "description": "Filter invoices by vendor ID."
              }
            ]
          },
          "docs": "Retrieve a paginated list of invoices."
        },
        {
          "info": {
            "name": "Create Invoice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.simplelegal.com/api/v1/invoices",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Submit a new invoice for processing."
        },
        {
          "info": {
            "name": "Get Invoice",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.simplelegal.com/api/v1/invoices/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Invoice ID."
              }
            ]
          },
          "docs": "Retrieve a specific invoice by ID."
        },
        {
          "info": {
            "name": "Update Invoice",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.simplelegal.com/api/v1/invoices/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Invoice ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update fields on an existing invoice."
        }
      ]
    },
    {
      "info": {
        "name": "Vendors",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Vendors",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.simplelegal.com/api/v1/vendors",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Results per page."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by vendor status."
              }
            ]
          },
          "docs": "Retrieve a paginated list of vendors (law firms and service providers)."
        },
        {
          "info": {
            "name": "Create Vendor",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.simplelegal.com/api/v1/vendors",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new vendor (law firm or service provider)."
        },
        {
          "info": {
            "name": "Get Vendor",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.simplelegal.com/api/v1/vendors/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Vendor ID."
              }
            ]
          },
          "docs": "Retrieve a specific vendor by ID."
        },
        {
          "info": {
            "name": "Update Vendor",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.simplelegal.com/api/v1/vendors/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Vendor ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update fields on an existing vendor."
        }
      ]
    },
    {
      "info": {
        "name": "Cost Codes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Cost Codes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.simplelegal.com/api/v1/cost-codes",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filter by cost code type."
              },
              {
                "name": "active",
                "value": "",
                "type": "query",
                "description": "Filter by active status."
              }
            ]
          },
          "docs": "Retrieve a list of all billing and cost codes."
        }
      ]
    },
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.simplelegal.com/api/v1/users",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Results per page."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by user status."
              }
            ]
          },
          "docs": "Retrieve a paginated list of platform users."
        },
        {
          "info": {
            "name": "Create User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.simplelegal.com/api/v1/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new platform user."
        }
      ]
    },
    {
      "info": {
        "name": "Payments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Payments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.simplelegal.com/api/v1/payments",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Results per page."
              },
              {
                "name": "invoice_id",
                "value": "",
                "type": "query",
                "description": "Filter payments by invoice ID."
              }
            ]
          },
          "docs": "Retrieve a paginated list of invoice payments."
        },
        {
          "info": {
            "name": "Create Payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.simplelegal.com/api/v1/payments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Record a payment for an approved invoice."
        }
      ]
    }
  ],
  "bundled": true
}