{
 "info": {
  "name": "MSMEPulse API",
  "description": "Set the token variable to an API token from Settings → API and webhooks. Documentation: https://msmepulse.com/developers",
  "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
 },
 "auth": {
  "type": "bearer",
  "bearer": [
   {
    "key": "token",
    "value": "{{token}}",
    "type": "string"
   }
  ]
 },
 "variable": [
  {
   "key": "baseUrl",
   "value": "https://app.msmepulse.com/api/v1"
  },
  {
   "key": "token",
   "value": ""
  }
 ],
 "item": [
  {
   "name": "Clients",
   "item": [
    {
     "name": "List clients (search, archived=1)",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/clients",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "clients"
       ],
       "variable": []
      },
      "description": "Needs the **Clients** scope with read access."
     }
    },
    {
     "name": "Add a client",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/clients",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "clients"
       ],
       "variable": []
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"name\": \"Nova Retail Pvt Ltd\",\n  \"country\": \"IN\",\n  \"currency\": \"INR\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Clients** scope with read and write access."
     }
    },
    {
     "name": "Get a client, with their projects",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/clients/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "clients",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Clients** scope with read access."
     }
    },
    {
     "name": "Update a client",
     "request": {
      "method": "PATCH",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/clients/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "clients",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"name\": \"Nova Retail Pvt Ltd\",\n  \"type\": \"business\",\n  \"country\": \"IN\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Clients** scope with read and write access."
     }
    },
    {
     "name": "A client's overview: projects, money owed, ageing, sales and timeline",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/clients/:id/360",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "clients",
        ":id",
        "360"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Clients** scope with read access."
     }
    },
    {
     "name": "Add a note, call or meeting to a client's timeline",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/clients/:id/activities",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "clients",
        ":id",
        "activities"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"kind\": \"note\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Clients** scope with read access."
     }
    },
    {
     "name": "Archive or restore a client",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/clients/:id/:action",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "clients",
        ":id",
        ":action"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "action",
         "value": "archive"
        }
       ]
      },
      "description": "Needs the **Clients** scope with read and write access."
     }
    },
    {
     "name": "Add a contact to a client",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/clients/:id/contacts",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "clients",
        ":id",
        "contacts"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"name\": \"Nova Retail Pvt Ltd\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Clients** scope with read and write access."
     }
    },
    {
     "name": "Update a client's contact",
     "request": {
      "method": "PATCH",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/clients/:id/contacts/:cid",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "clients",
        ":id",
        "contacts",
        ":cid"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "cid",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"name\": \"Nova Retail Pvt Ltd\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Clients** scope with read and write access."
     }
    },
    {
     "name": "Remove a client's contact",
     "request": {
      "method": "DELETE",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/clients/:id/contacts/:cid",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "clients",
        ":id",
        "contacts",
        ":cid"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "cid",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Clients** scope with read and write access."
     }
    },
    {
     "name": "List a client's client portal users",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/clients/:id/portal-access",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "clients",
        ":id",
        "portal-access"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Clients** scope with read access."
     }
    },
    {
     "name": "Invite a client contact to the client portal",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/clients/:id/portal-access",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "clients",
        ":id",
        "portal-access"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Clients** scope with read and write access."
     }
    },
    {
     "name": "Remove someone's client portal access",
     "request": {
      "method": "DELETE",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/clients/:id/portal-access/:uid",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "clients",
        ":id",
        "portal-access",
        ":uid"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "uid",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Clients** scope with read and write access."
     }
    }
   ]
  },
  {
   "name": "Projects",
   "item": [
    {
     "name": "List projects",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/projects",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects"
       ],
       "variable": []
      },
      "description": "Needs the **Projects and tasks** scope with read access."
     }
    },
    {
     "name": "Create a project (optionally from a template)",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/projects",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects"
       ],
       "variable": []
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"name\": \"Nova Retail Pvt Ltd\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "Get a project, with milestones and budget",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/projects/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Projects and tasks** scope with read access."
     }
    },
    {
     "name": "Update a project",
     "request": {
      "method": "PATCH",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/projects/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"name\": \"Nova Retail Pvt Ltd\",\n  \"code\": \"code value\",\n  \"clientId\": \"65f0c2a1b4e8d9f0a1b2c3d4\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "Set a project's board columns",
     "request": {
      "method": "PUT",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/projects/:id/columns",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id",
        "columns"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"columns\": [\n    {\n      \"key\": \"key value\",\n      \"name\": \"Nova Retail Pvt Ltd\",\n      \"done\": false\n    }\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "Archive or restore a project",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/projects/:id/:action",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id",
        ":action"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "action",
         "value": "archive"
        }
       ]
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "Add a milestone",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/projects/:id/milestones",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id",
        "milestones"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"name\": \"Nova Retail Pvt Ltd\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "Update a milestone",
     "request": {
      "method": "PATCH",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/projects/:id/milestones/:mid",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id",
        "milestones",
        ":mid"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "mid",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"name\": \"Nova Retail Pvt Ltd\",\n  \"dueDate\": \"2026-10-26\",\n  \"amount\": 100000\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "Delete a milestone",
     "request": {
      "method": "DELETE",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/projects/:id/milestones/:mid",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id",
        "milestones",
        ":mid"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "mid",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "A project's document checklist",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/projects/:id/documents",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id",
        "documents"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Projects and tasks** scope with read access."
     }
    },
    {
     "name": "Add an item to the document checklist",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/projects/:id/documents",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id",
        "documents"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"title\": \"Website rebuild\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "Update a checklist item",
     "request": {
      "method": "PATCH",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/projects/:id/documents/:did",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id",
        "documents",
        ":did"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "did",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"title\": \"Website rebuild\",\n  \"about\": \"about value\",\n  \"compulsory\": false\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "Remove a checklist item",
     "request": {
      "method": "DELETE",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/projects/:id/documents/:did",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id",
        "documents",
        ":did"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "did",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "Mark a checklist item received, approved or rejected",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/projects/:id/documents/:did/status",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id",
        "documents",
        ":did",
        "status"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "did",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"status\": \"pending\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "Upload a file to a checklist item",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/projects/:id/documents/:did/files",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id",
        "documents",
        ":did",
        "files"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "did",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "Download a checklist file",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/projects/:id/documents/:did/files/:fid",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id",
        "documents",
        ":did",
        "files",
        ":fid"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "did",
         "value": ""
        },
        {
         "key": "fid",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Projects and tasks** scope with read access."
     }
    },
    {
     "name": "A project's tasks",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/projects/:id/tasks",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id",
        "tasks"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Projects and tasks** scope with read access."
     }
    },
    {
     "name": "Add a task to a project",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/projects/:id/tasks",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "projects",
        ":id",
        "tasks"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"title\": \"Website rebuild\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    }
   ]
  },
  {
   "name": "Tasks",
   "item": [
    {
     "name": "Update a task (status, assignees, due date…)",
     "request": {
      "method": "PATCH",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/tasks/:taskId",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "tasks",
        ":taskId"
       ],
       "variable": [
        {
         "key": "taskId",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"title\": \"Website rebuild\",\n  \"description\": \"Rollout support\",\n  \"columnKey\": \"columnKey value\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "Delete a task",
     "request": {
      "method": "DELETE",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/tasks/:taskId",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "tasks",
        ":taskId"
       ],
       "variable": [
        {
         "key": "taskId",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "Open tasks (assignee=anyone for everyone's)",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/tasks",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "tasks"
       ],
       "variable": []
      },
      "description": "Needs the **Projects and tasks** scope with read access."
     }
    }
   ]
  },
  {
   "name": "Invoices and payments",
   "item": [
    {
     "name": "List invoices (status, clientId, kind)",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/invoices",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices"
       ],
       "variable": []
      },
      "description": "Needs the **Invoices and payments** scope with read access."
     }
    },
    {
     "name": "Create a draft invoice",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/invoices",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices"
       ],
       "variable": []
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"clientId\": \"65f0c2a1b4e8d9f0a1b2c3d4\",\n  \"issueDate\": \"2026-10-26\",\n  \"currency\": \"INR\",\n  \"lines\": [\n    {\n      \"description\": \"Rollout support\",\n      \"quantity\": 1,\n      \"unitPrice\": 100000\n    }\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    },
    {
     "name": "Unbilled approved time and completed milestones for a client",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/invoices/billable",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        "billable"
       ],
       "variable": []
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    },
    {
     "name": "Work out an invoice's tax and totals without saving it",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/invoices/preview",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        "preview"
       ],
       "variable": []
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"clientId\": \"65f0c2a1b4e8d9f0a1b2c3d4\",\n  \"issueDate\": \"2026-10-26\",\n  \"currency\": \"INR\",\n  \"lines\": [\n    {\n      \"description\": \"Rollout support\",\n      \"quantity\": 1,\n      \"unitPrice\": 100000\n    }\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    },
    {
     "name": "Get an invoice, with its lines, tax and payments",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/invoices/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Invoices and payments** scope with read access."
     }
    },
    {
     "name": "Replace a draft invoice",
     "request": {
      "method": "PUT",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/invoices/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"clientId\": \"65f0c2a1b4e8d9f0a1b2c3d4\",\n  \"issueDate\": \"2026-10-26\",\n  \"currency\": \"INR\",\n  \"lines\": [\n    {\n      \"description\": \"Rollout support\",\n      \"quantity\": 1,\n      \"unitPrice\": 100000\n    }\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    },
    {
     "name": "Delete a draft invoice",
     "request": {
      "method": "DELETE",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/invoices/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    },
    {
     "name": "Issue a draft invoice (gives it its number)",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/invoices/:id/issue",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        ":id",
        "issue"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    },
    {
     "name": "Email an invoice to the client",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/invoices/:id/send",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        ":id",
        "send"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"to\": \"someone@example.com\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    },
    {
     "name": "Create an online payment link",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/invoices/:id/pay-link",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        ":id",
        "pay-link"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    },
    {
     "name": "Record a payment (with TDS in India)",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/invoices/:id/payments",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        ":id",
        "payments"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"date\": \"2026-10-26\",\n  \"amount\": 100000,\n  \"method\": \"bank_transfer\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    },
    {
     "name": "Remove a recorded payment",
     "request": {
      "method": "DELETE",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/invoices/:id/payments/:pid",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        ":id",
        "payments",
        ":pid"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "pid",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    },
    {
     "name": "Record the client's TDS certificate for a payment",
     "request": {
      "method": "PATCH",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/invoices/:id/payments/:pid/tds-certificate",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        ":id",
        "payments",
        ":pid",
        "tds-certificate"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "pid",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"received\": false\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    },
    {
     "name": "Cancel an issued invoice",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/invoices/:id/cancel",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        ":id",
        "cancel"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"reason\": \"Duplicate charge\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    },
    {
     "name": "Raise a credit note against an invoice",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/invoices/:id/credit-notes",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        ":id",
        "credit-notes"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"issueDate\": \"2026-10-26\",\n  \"reason\": \"discount\",\n  \"lines\": [\n    {\n      \"index\": 1,\n      \"amount\": 100000\n    }\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    },
    {
     "name": "Raise a debit note against an invoice",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/invoices/:id/debit-notes",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        ":id",
        "debit-notes"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"issueDate\": \"2026-10-26\",\n  \"reason\": \"undercharge\",\n  \"lines\": [\n    {\n      \"description\": \"Rollout support\",\n      \"quantity\": 1,\n      \"unitPrice\": 100000\n    }\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    },
    {
     "name": "Record a refund",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/invoices/:id/refunds",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "invoices",
        ":id",
        "refunds"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"date\": \"2026-10-26\",\n  \"amount\": 100000,\n  \"method\": \"bank_transfer\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Invoices and payments** scope with read and write access."
     }
    }
   ]
  },
  {
   "name": "Leads and deals",
   "item": [
    {
     "name": "The pipeline's stages",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/sales/stages",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "sales",
        "stages"
       ],
       "variable": []
      },
      "description": "Needs the **Leads, deals and proposals** scope with read access."
     }
    },
    {
     "name": "List leads",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/sales/leads",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "sales",
        "leads"
       ],
       "variable": []
      },
      "description": "Needs the **Leads, deals and proposals** scope with read access."
     }
    },
    {
     "name": "Add a lead",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/sales/leads",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "sales",
        "leads"
       ],
       "variable": []
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"name\": \"Nova Retail Pvt Ltd\",\n  \"source\": \"referral\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Get a lead",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/sales/leads/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "sales",
        "leads",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Leads, deals and proposals** scope with read access."
     }
    },
    {
     "name": "Update a lead",
     "request": {
      "method": "PATCH",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/sales/leads/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "sales",
        "leads",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"name\": \"Nova Retail Pvt Ltd\",\n  \"company\": \"company value\",\n  \"email\": \"\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Delete a lead",
     "request": {
      "method": "DELETE",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/sales/leads/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "sales",
        "leads",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Convert a lead into a client and deal",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/sales/leads/:id/convert",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "sales",
        "leads",
        ":id",
        "convert"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"dealTitle\": \"dealTitle value\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "List deals",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/sales/deals",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "sales",
        "deals"
       ],
       "variable": []
      },
      "description": "Needs the **Leads, deals and proposals** scope with read access."
     }
    },
    {
     "name": "Add a deal",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/sales/deals",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "sales",
        "deals"
       ],
       "variable": []
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"title\": \"Website rebuild\",\n  \"clientId\": \"65f0c2a1b4e8d9f0a1b2c3d4\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Get a deal",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/sales/deals/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "sales",
        "deals",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Leads, deals and proposals** scope with read access."
     }
    },
    {
     "name": "Update a deal",
     "request": {
      "method": "PATCH",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/sales/deals/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "sales",
        "deals",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"title\": \"Website rebuild\",\n  \"clientId\": \"65f0c2a1b4e8d9f0a1b2c3d4\",\n  \"contactName\": \"contactName value\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Delete a deal",
     "request": {
      "method": "DELETE",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/sales/deals/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "sales",
        "deals",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Move a deal to another stage (won, lost…)",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/sales/deals/:id/move",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "sales",
        "deals",
        ":id",
        "move"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"stageKey\": \"stageKey value\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Log a call, meeting or follow-up on a lead or deal",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/sales/:type/:id/activities",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "sales",
        ":type",
        ":id",
        "activities"
       ],
       "variable": [
        {
         "key": "type",
         "value": "leads"
        },
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"kind\": \"note\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    }
   ]
  },
  {
   "name": "Proposals",
   "item": [
    {
     "name": "Proposal templates",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/proposals/templates",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "proposals",
        "templates"
       ],
       "variable": []
      },
      "description": "Needs the **Leads, deals and proposals** scope with read access."
     }
    },
    {
     "name": "List proposals",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/proposals",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "proposals"
       ],
       "variable": []
      },
      "description": "Needs the **Leads, deals and proposals** scope with read access."
     }
    },
    {
     "name": "Create a draft proposal",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/proposals",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "proposals"
       ],
       "variable": []
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"clientId\": \"65f0c2a1b4e8d9f0a1b2c3d4\",\n  \"title\": \"Website rebuild\",\n  \"issueDate\": \"2026-10-26\",\n  \"validUntil\": \"2026-10-26\",\n  \"currency\": \"INR\",\n  \"lines\": [\n    {\n      \"description\": \"Rollout support\",\n      \"quantity\": 1,\n      \"unitPrice\": 100000\n    }\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Work out a proposal's totals without saving it",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/proposals/preview",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "proposals",
        "preview"
       ],
       "variable": []
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"clientId\": \"65f0c2a1b4e8d9f0a1b2c3d4\",\n  \"title\": \"Website rebuild\",\n  \"issueDate\": \"2026-10-26\",\n  \"validUntil\": \"2026-10-26\",\n  \"currency\": \"INR\",\n  \"lines\": [\n    {\n      \"description\": \"Rollout support\",\n      \"quantity\": 1,\n      \"unitPrice\": 100000\n    }\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Get a proposal",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/proposals/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "proposals",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Leads, deals and proposals** scope with read access."
     }
    },
    {
     "name": "Replace a draft proposal",
     "request": {
      "method": "PUT",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/proposals/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "proposals",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"clientId\": \"65f0c2a1b4e8d9f0a1b2c3d4\",\n  \"title\": \"Website rebuild\",\n  \"issueDate\": \"2026-10-26\",\n  \"validUntil\": \"2026-10-26\",\n  \"currency\": \"INR\",\n  \"lines\": [\n    {\n      \"description\": \"Rollout support\",\n      \"quantity\": 1,\n      \"unitPrice\": 100000\n    }\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Delete a draft proposal",
     "request": {
      "method": "DELETE",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/proposals/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "proposals",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Copy a proposal",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/proposals/:id/duplicate",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "proposals",
        ":id",
        "duplicate"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Email a proposal for e-signature",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/proposals/:id/send",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "proposals",
        ":id",
        "send"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"to\": \"someone@example.com\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Get the client's link to view and sign",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/proposals/:id/link",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "proposals",
        ":id",
        "link"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Start a new revision of a sent proposal",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/proposals/:id/revise",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "proposals",
        ":id",
        "revise"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Leads, deals and proposals** scope with read and write access."
     }
    },
    {
     "name": "Turn an accepted proposal into a project",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/proposals/:id/convert",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "proposals",
        ":id",
        "convert"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"name\": \"Nova Retail Pvt Ltd\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Projects and tasks** scope with read and write access."
     }
    },
    {
     "name": "Download a proposal as a PDF",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/proposals/:id/pdf",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "proposals",
        ":id",
        "pdf"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Leads, deals and proposals** scope with read access."
     }
    }
   ]
  },
  {
   "name": "Expenses and bills",
   "item": [
    {
     "name": "List vendors",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses/vendors",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "vendors"
       ],
       "variable": []
      },
      "description": "Needs the **Expenses and bills** scope with read access."
     }
    },
    {
     "name": "Add a vendor",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/expenses/vendors",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "vendors"
       ],
       "variable": []
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"name\": \"Nova Retail Pvt Ltd\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Expenses and bills** scope with read and write access."
     }
    },
    {
     "name": "Update a vendor",
     "request": {
      "method": "PUT",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/expenses/vendors/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "vendors",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"name\": \"Nova Retail Pvt Ltd\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Expenses and bills** scope with read and write access."
     }
    },
    {
     "name": "Archive a vendor",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses/vendors/:id/archive",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "vendors",
        ":id",
        "archive"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Expenses and bills** scope with read and write access."
     }
    },
    {
     "name": "List expenses (view=company or mine)",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses"
       ],
       "variable": []
      },
      "description": "Needs the **Expenses and bills** scope with read access."
     }
    },
    {
     "name": "Record an expense",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/expenses",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses"
       ],
       "variable": []
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"date\": \"2026-10-26\",\n  \"category\": \"category value\",\n  \"description\": \"Rollout support\",\n  \"currency\": \"INR\",\n  \"amount\": 100000\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Expenses and bills** scope with read and write access."
     }
    },
    {
     "name": "Get an expense",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses/item/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "item",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Expenses and bills** scope with read access."
     }
    },
    {
     "name": "Update an expense",
     "request": {
      "method": "PUT",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/expenses/item/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "item",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"date\": \"2026-10-26\",\n  \"category\": \"category value\",\n  \"description\": \"Rollout support\",\n  \"currency\": \"INR\",\n  \"amount\": 100000\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Expenses and bills** scope with read and write access."
     }
    },
    {
     "name": "Delete a draft expense",
     "request": {
      "method": "DELETE",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses/item/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "item",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Expenses and bills** scope with read and write access."
     }
    },
    {
     "name": "Submit a claim for approval",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses/item/:id/submit",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "item",
        ":id",
        "submit"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Expenses and bills** scope with read and write access."
     }
    },
    {
     "name": "Attach a receipt",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses/item/:id/receipts",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "item",
        ":id",
        "receipts"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Expenses and bills** scope with read and write access."
     }
    },
    {
     "name": "Download a receipt",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses/attachments/:aid",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "attachments",
        ":aid"
       ],
       "variable": [
        {
         "key": "aid",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Expenses and bills** scope with read access."
     }
    },
    {
     "name": "List vendor bills",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses/bills",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "bills"
       ],
       "variable": []
      },
      "description": "Needs the **Expenses and bills** scope with read access."
     }
    },
    {
     "name": "Record a vendor bill",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/expenses/bills",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "bills"
       ],
       "variable": []
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"vendorId\": \"65f0c2a1b4e8d9f0a1b2c3d4\",\n  \"billNumber\": \"billNumber value\",\n  \"billDate\": \"2026-10-26\",\n  \"currency\": \"INR\",\n  \"lines\": [\n    {\n      \"description\": \"Rollout support\",\n      \"amount\": 100000\n    }\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Expenses and bills** scope with read and write access."
     }
    },
    {
     "name": "Get a vendor bill",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses/bills/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "bills",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Expenses and bills** scope with read access."
     }
    },
    {
     "name": "Update a vendor bill",
     "request": {
      "method": "PUT",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/expenses/bills/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "bills",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"vendorId\": \"65f0c2a1b4e8d9f0a1b2c3d4\",\n  \"billNumber\": \"billNumber value\",\n  \"billDate\": \"2026-10-26\",\n  \"currency\": \"INR\",\n  \"lines\": [\n    {\n      \"description\": \"Rollout support\",\n      \"amount\": 100000\n    }\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Expenses and bills** scope with read and write access."
     }
    },
    {
     "name": "Void a vendor bill",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/expenses/bills/:id/void",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "bills",
        ":id",
        "void"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"reason\": \"Duplicate charge\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Expenses and bills** scope with read and write access."
     }
    },
    {
     "name": "Record a payment to a vendor (with TDS in India)",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/expenses/bills/:id/payments",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "bills",
        ":id",
        "payments"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"date\": \"2026-10-26\",\n  \"amount\": 100000,\n  \"method\": \"bank_transfer\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Expenses and bills** scope with read and write access."
     }
    },
    {
     "name": "Remove a vendor payment",
     "request": {
      "method": "DELETE",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses/bills/:id/payments/:pid",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "bills",
        ":id",
        "payments",
        ":pid"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        },
        {
         "key": "pid",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Expenses and bills** scope with read and write access."
     }
    },
    {
     "name": "Attach the bill document",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses/bills/:id/receipts",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "bills",
        ":id",
        "receipts"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Expenses and bills** scope with read and write access."
     }
    },
    {
     "name": "Input tax (GST paid on purchases) for a period",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses/reports/input-tax",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "reports",
        "input-tax"
       ],
       "variable": []
      },
      "description": "Needs the **Expenses and bills** scope with read access."
     }
    },
    {
     "name": "MSMED Act: payments due to micro and small suppliers",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses/reports/msmed",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "reports",
        "msmed"
       ],
       "variable": []
      },
      "description": "Needs the **Expenses and bills** scope with read access."
     }
    },
    {
     "name": "Spending by category and project",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/expenses/reports/summary",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "expenses",
        "reports",
        "summary"
       ],
       "variable": []
      },
      "description": "Needs the **Expenses and bills** scope with read access."
     }
    }
   ]
  },
  {
   "name": "Support tickets",
   "item": [
    {
     "name": "List support tickets",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/helpdesk/tickets",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "helpdesk",
        "tickets"
       ],
       "variable": []
      },
      "description": "Needs the **Support tickets** scope with read access."
     }
    },
    {
     "name": "Open a ticket",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/helpdesk/tickets",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "helpdesk",
        "tickets"
       ],
       "variable": []
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"subject\": \"subject value\",\n  \"body\": \"body value\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Support tickets** scope with read and write access."
     }
    },
    {
     "name": "Ticket statuses, priorities, categories and the support team",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/helpdesk/meta",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "helpdesk",
        "meta"
       ],
       "variable": []
      },
      "description": "Needs the **Support tickets** scope with read access."
     }
    },
    {
     "name": "Projects a ticket can be linked to",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/helpdesk/projects",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "helpdesk",
        "projects"
       ],
       "variable": []
      },
      "description": "Needs the **Support tickets** scope with read access."
     }
    },
    {
     "name": "Get a ticket, with its messages",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/helpdesk/tickets/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "helpdesk",
        "tickets",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Support tickets** scope with read access."
     }
    },
    {
     "name": "Update a ticket (status, priority, assignee…)",
     "request": {
      "method": "PATCH",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/helpdesk/tickets/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "helpdesk",
        "tickets",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"subject\": \"subject value\",\n  \"type\": \"question\",\n  \"priority\": \"low\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Support tickets** scope with read and write access."
     }
    },
    {
     "name": "Reply on a ticket, or add an internal note",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/helpdesk/tickets/:id/reply",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "helpdesk",
        "tickets",
        ":id",
        "reply"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"body\": \"body value\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Support tickets** scope with read and write access."
     }
    },
    {
     "name": "Link a ticket to a client",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/helpdesk/tickets/:id/client",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "helpdesk",
        "tickets",
        ":id",
        "client"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"clientId\": \"65f0c2a1b4e8d9f0a1b2c3d4\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Support tickets** scope with read and write access."
     }
    },
    {
     "name": "Merge a ticket into another",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/helpdesk/tickets/:id/merge",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "helpdesk",
        "tickets",
        ":id",
        "merge"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"into\": 1\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      },
      "description": "Needs the **Support tickets** scope with read and write access."
     }
    },
    {
     "name": "Support desk report: volumes and SLA",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/helpdesk/report",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "helpdesk",
        "report"
       ],
       "variable": []
      },
      "description": "Needs the **Support tickets** scope with read access."
     }
    }
   ]
  },
  {
   "name": "Attendance and leave",
   "item": [
    {
     "name": "Download a check-in selfie",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/hr/attendance/photos/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "hr",
        "attendance",
        "photos",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Attendance and leave** scope with read access."
     }
    },
    {
     "name": "One person's day: times, where each punch was made, visits",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/hr/attendance/:userId/:date",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "hr",
        "attendance",
        ":userId",
        ":date"
       ],
       "variable": [
        {
         "key": "userId",
         "value": ""
        },
        {
         "key": "date",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Attendance and leave** scope with read access."
     }
    },
    {
     "name": "Attendance for a month (month=YYYY-MM)",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/hr/attendance",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "hr",
        "attendance"
       ],
       "variable": []
      },
      "description": "Needs the **Attendance and leave** scope with read access."
     }
    },
    {
     "name": "Leave types",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/hr/leave/types",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "hr",
        "leave",
        "types"
       ],
       "variable": []
      },
      "description": "Needs the **Attendance and leave** scope with read access."
     }
    },
    {
     "name": "Leave balances",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/hr/leave/balances",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "hr",
        "leave",
        "balances"
       ],
       "variable": []
      },
      "description": "Needs the **Attendance and leave** scope with read access."
     }
    },
    {
     "name": "Leave requests (view=team, from)",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/hr/leave/requests",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "hr",
        "leave",
        "requests"
       ],
       "variable": []
      },
      "description": "Needs the **Attendance and leave** scope with read access."
     }
    },
    {
     "name": "Get a leave request",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/hr/leave/requests/:id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "hr",
        "leave",
        "requests",
        ":id"
       ],
       "variable": [
        {
         "key": "id",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Attendance and leave** scope with read access."
     }
    },
    {
     "name": "Holidays (year)",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/hr/holidays",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "hr",
        "holidays"
       ],
       "variable": []
      },
      "description": "Needs the **Attendance and leave** scope with read access."
     }
    },
    {
     "name": "Offices, work sites, shifts and attendance rules",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/hr/setup",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "hr",
        "setup"
       ],
       "variable": []
      },
      "description": "Needs the **Attendance and leave** scope with read access."
     }
    },
    {
     "name": "The employee directory",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/hr/employees",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "hr",
        "employees"
       ],
       "variable": []
      },
      "description": "Needs the **Employee directory** scope with read access."
     }
    },
    {
     "name": "An employee's record (sensitive fields masked)",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/hr/employees/:userId",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "hr",
        "employees",
        ":userId"
       ],
       "variable": [
        {
         "key": "userId",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Employee directory** scope with read access."
     }
    }
   ]
  },
  {
   "name": "Reports",
   "item": [
    {
     "name": "List the reports this token can run",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/reports",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "reports"
       ],
       "variable": []
      },
      "description": "Needs the **Reports** scope with read access."
     }
    },
    {
     "name": "Run a report (from, to, clientId, projectId, userId, groupBy)",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/reports/:key",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "reports",
        ":key"
       ],
       "variable": [
        {
         "key": "key",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Reports** scope with read access."
     }
    },
    {
     "name": "Download a report as a spreadsheet (format=xlsx or csv)",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/reports/:key/export",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "reports",
        ":key",
        "export"
       ],
       "variable": [
        {
         "key": "key",
         "value": ""
        }
       ]
      },
      "description": "Needs the **Reports** scope with read access."
     }
    }
   ]
  }
 ]
}
