{
  "opencollection": "1.0.0",
  "info": {
    "name": "Freshworks Freshcaller Accounts Time Entries API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Api-Auth",
      "value": "{{X-Api-Auth}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Time Entries",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all time entries for a ticket",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.freshcaller.com/api/v1/tickets/:ticket_id/time_entries",
            "params": [
              {
                "name": "ticket_id",
                "value": "",
                "type": "path",
                "description": "The ID of the ticket."
              }
            ]
          },
          "docs": "Retrieves all time entries logged against a specific ticket."
        },
        {
          "info": {
            "name": "Create a time entry for a ticket",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{domain}.freshcaller.com/api/v1/tickets/:ticket_id/time_entries",
            "params": [
              {
                "name": "ticket_id",
                "value": "",
                "type": "path",
                "description": "The ID of the ticket."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Logs a new time entry against a specific ticket for tracking time spent on support activities."
        }
      ]
    }
  ],
  "bundled": true
}