{
  "opencollection": "1.0.0",
  "info": {
    "name": "Luminary Documents Individuals API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://auth.withluminary.com/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Individuals",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all individuals in a household",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.withluminary.com/api/public/v1/households/:id/individuals",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Household ID"
              },
              {
                "name": "is_primary",
                "value": "",
                "type": "query",
                "description": "Filter by primary client status"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor for forward pagination. Returns items after this cursor."
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "Cursor for backward pagination. Returns items before this cursor."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of items to return"
              }
            ]
          },
          "docs": "Retrieve a paginated list of client profiles/individuals belonging to a specific household"
        },
        {
          "info": {
            "name": "List all individuals (client profiles)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.withluminary.com/api/public/v1/individuals",
            "params": [
              {
                "name": "household_id",
                "value": "",
                "type": "query",
                "description": "Filter individuals by household ID"
              },
              {
                "name": "is_primary",
                "value": "",
                "type": "query",
                "description": "Filter by primary client status"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor for forward pagination. Returns items after this cursor."
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "Cursor for backward pagination. Returns items before this cursor."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of items to return"
              }
            ]
          },
          "docs": "Retrieve a paginated list of client profiles/individuals using cursor-based pagination"
        },
        {
          "info": {
            "name": "Create a new individual (client profile)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.withluminary.com/api/public/v1/individuals",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new client profile/individual with the provided data"
        },
        {
          "info": {
            "name": "Get an individual by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.withluminary.com/api/public/v1/individuals/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Individual ID"
              }
            ]
          },
          "docs": "Retrieve detailed information about a specific client profile"
        },
        {
          "info": {
            "name": "Update an individual",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{subdomain}.withluminary.com/api/public/v1/individuals/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Individual ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing client profile with new data"
        },
        {
          "info": {
            "name": "Delete an individual",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.withluminary.com/api/public/v1/individuals/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Individual ID"
              }
            ]
          },
          "docs": "Soft delete a client profile (marks as deleted but preserves data)"
        }
      ]
    }
  ],
  "bundled": true
}