{
  "opencollection": "1.0.0",
  "info": {
    "name": "Freshteam Applicants Employees API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Employees",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List employees",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.freshteam.com/api/employees",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for paginated list results (default 1)."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Field to sort the list by."
              },
              {
                "name": "sort_type",
                "value": "",
                "type": "query",
                "description": "Sort direction, asc or desc."
              }
            ]
          },
          "docs": "Lists employees in the account. Paginated via page, sort, and sort_type."
        },
        {
          "info": {
            "name": "Create an employee",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{domain}.freshteam.com/api/employees",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new employee record."
        },
        {
          "info": {
            "name": "Retrieve an employee",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.freshteam.com/api/employees/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The resource identifier."
              }
            ]
          },
          "docs": "Retrieve an employee"
        },
        {
          "info": {
            "name": "Update an employee",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{domain}.freshteam.com/api/employees/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The resource identifier."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an employee"
        },
        {
          "info": {
            "name": "List employee fields",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.freshteam.com/api/employee_fields"
          },
          "docs": "Lists the standard and custom fields defined on employee records."
        },
        {
          "info": {
            "name": "List branches",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.freshteam.com/api/branches"
          },
          "docs": "List branches"
        },
        {
          "info": {
            "name": "List departments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.freshteam.com/api/departments"
          },
          "docs": "List departments"
        },
        {
          "info": {
            "name": "List sub-departments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.freshteam.com/api/sub_departments"
          },
          "docs": "List sub-departments"
        },
        {
          "info": {
            "name": "List business units",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.freshteam.com/api/business_units"
          },
          "docs": "List business units"
        },
        {
          "info": {
            "name": "List teams",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.freshteam.com/api/teams"
          },
          "docs": "List teams"
        },
        {
          "info": {
            "name": "List roles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.freshteam.com/api/roles"
          },
          "docs": "List roles"
        }
      ]
    }
  ],
  "bundled": true
}