{
  "opencollection": "1.0.0",
  "info": {
    "name": "Agile CRM REST Campaigns HelpDesk API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "HelpDesk",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve all tickets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.agilecrm.com/dev/api/helpdesk/tickets"
          },
          "docs": "Retrieve all tickets"
        },
        {
          "info": {
            "name": "Create a ticket",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{domain}.agilecrm.com/dev/api/helpdesk/tickets"
          },
          "docs": "Create a ticket"
        },
        {
          "info": {
            "name": "Delete a ticket",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{domain}.agilecrm.com/dev/api/helpdesk/tickets/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a ticket"
        },
        {
          "info": {
            "name": "Get filter IDs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.agilecrm.com/dev/api/helpdesk/filters"
          },
          "docs": "Get filter IDs"
        },
        {
          "info": {
            "name": "Get ticket messages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.agilecrm.com/dev/api/helpdesk/tickets/:id/messages",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get ticket messages"
        },
        {
          "info": {
            "name": "Add note to a ticket",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{domain}.agilecrm.com/dev/api/helpdesk/tickets/:id/notes",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Add note to a ticket"
        }
      ]
    }
  ],
  "bundled": true
}