{
  "opencollection": "1.0.0",
  "info": {
    "name": "Freshworks Freshcaller Accounts Teams API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Api-Auth",
      "value": "{{X-Api-Auth}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Teams",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all teams",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.freshcaller.com/api/v1/teams",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of results per page."
              }
            ]
          },
          "docs": "Retrieves a list of all agent teams configured in the Freshcaller system for call routing purposes."
        },
        {
          "info": {
            "name": "Create a team",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{domain}.freshcaller.com/api/v1/teams",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new agent team in the Freshcaller system for call routing and organizational purposes."
        },
        {
          "info": {
            "name": "View a team",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.freshcaller.com/api/v1/teams/:team_id",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The ID of the team."
              }
            ]
          },
          "docs": "Retrieves the details of a specific team by its ID."
        },
        {
          "info": {
            "name": "Update a team",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{domain}.freshcaller.com/api/v1/teams/:team_id",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The ID of the team."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the properties of an existing team."
        }
      ]
    }
  ],
  "bundled": true
}