{
  "opencollection": "1.0.0",
  "info": {
    "name": "Folk External Companies API",
    "version": "2025-06-09"
  },
  "items": [
    {
      "info": {
        "name": "Companies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List companies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.folk.app/v1/companies",
            "params": [
              {
                "name": "limit",
                "value": "20",
                "type": "query",
                "description": "The number of items to return."
              },
              {
                "name": "cursor",
                "value": "eyJvZmZzZXQiOjN9",
                "type": "query",
                "description": "A cursor for pagination across multiple pages of results. Don’t include this parameter on the first call. Use the `pagination.nextLink` value returned in a previous response to request subsequent results."
              },
              {
                "name": "combinator",
                "value": "and",
                "type": "query",
                "description": "The logical operator to combine multiple filters."
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "A record of filters to apply, following the format `filter[attribute][operator]=value`. The `attribute` is the name of the attribute to filter on, and the `operator` is one of the supported filter operators. Refer to [Filterable fields](/api-reference/filtering#filterable-fields) to learn more about the supported attributes and operators."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a list of companies in the workspace."
        },
        {
          "info": {
            "name": "Create a company",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.folk.app/v1/companies",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new company in the workspace."
        },
        {
          "info": {
            "name": "Get a company",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.folk.app/v1/companies/:companyId",
            "params": [
              {
                "name": "companyId",
                "value": "",
                "type": "path",
                "description": "The ID of the company to retrieve."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve an existing company in the workspace."
        },
        {
          "info": {
            "name": "Update a company",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.folk.app/v1/companies/:companyId",
            "params": [
              {
                "name": "companyId",
                "value": "",
                "type": "path",
                "description": "The ID of the company to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update an existing company in the workspace."
        },
        {
          "info": {
            "name": "Delete a company",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.folk.app/v1/companies/:companyId",
            "params": [
              {
                "name": "companyId",
                "value": "",
                "type": "path",
                "description": "The ID of the company to delete."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete an existing company in the workspace."
        },
        {
          "info": {
            "name": "Search for companies",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.folk.app/v1/companies/search",
            "params": [
              {
                "name": "limit",
                "value": "20",
                "type": "query",
                "description": "The number of items to return."
              },
              {
                "name": "cursor",
                "value": "eyJvZmZzZXQiOjN9",
                "type": "query",
                "description": "A cursor for pagination across multiple pages of results. Don’t include this parameter on the first call. Use the `pagination.nextLink` value returned in a previous response to request subsequent results."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Search for companies in the workspace."
        }
      ]
    }
  ],
  "bundled": true
}