{
  "opencollection": "1.0.0",
  "info": {
    "name": "Everhour Clients API",
    "version": "1.2"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Api-Key",
      "value": "{{X-Api-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Clients",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all clients",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.everhour.com/clients",
            "params": [
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Search clients by name."
              }
            ]
          },
          "docs": "Returns clients, optionally filtered by name query."
        },
        {
          "info": {
            "name": "Create client",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.everhour.com/clients",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a client and optionally links projects to it."
        },
        {
          "info": {
            "name": "Get client",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.everhour.com/clients/:clientId",
            "params": [
              {
                "name": "clientId",
                "value": "",
                "type": "path",
                "description": "Client ID."
              }
            ]
          },
          "docs": "Returns a single client by ID."
        },
        {
          "info": {
            "name": "Update client",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.everhour.com/clients/:clientId",
            "params": [
              {
                "name": "clientId",
                "value": "",
                "type": "path",
                "description": "Client ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a client."
        },
        {
          "info": {
            "name": "Update client budget",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.everhour.com/clients/:clientId/budget",
            "params": [
              {
                "name": "clientId",
                "value": "",
                "type": "path",
                "description": "Client ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Sets or updates a client budget - money, time, or costs based, with general, monthly, weekly, or daily periods, thresholds, and overbudget protection."
        },
        {
          "info": {
            "name": "Delete client budget",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.everhour.com/clients/:clientId/budget",
            "params": [
              {
                "name": "clientId",
                "value": "",
                "type": "path",
                "description": "Client ID."
              }
            ]
          },
          "docs": "Removes the budget from a client."
        }
      ]
    }
  ],
  "bundled": true
}