{
  "opencollection": "1.0.0",
  "info": {
    "name": "Hubflo chat_room custom_field API",
    "version": "v2"
  },
  "items": [
    {
      "info": {
        "name": "custom_field",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieves the custom fields",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.hubflo.com/api/v2/custom-fields",
            "params": [
              {
                "name": "page",
                "value": "1",
                "type": "query",
                "description": "Page number"
              },
              {
                "name": "per_page",
                "value": "10",
                "type": "query",
                "description": "Number of items per page (max 100)"
              },
              {
                "name": "resource_type",
                "value": "",
                "type": "query",
                "description": "Filter by resource type (project, task, contact or company)"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns the custom fields"
        },
        {
          "info": {
            "name": "Creates a custom field",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.hubflo.com/api/v2/custom-fields",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns the created custom field"
        },
        {
          "info": {
            "name": "Retrieves a custom field",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.hubflo.com/api/v2/custom-fields/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Custom field ID"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a custom field"
        },
        {
          "info": {
            "name": "Updates a custom field",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.hubflo.com/api/v2/custom-fields/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Custom field ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns the updated custom field"
        },
        {
          "info": {
            "name": "Deletes a custom field",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.hubflo.com/api/v2/custom-fields/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Custom field ID"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes a custom field"
        }
      ]
    }
  ],
  "bundled": true
}