{
  "info": {
    "name": "Huggy API v3 (EN)",
    "description": "Generated collection from the official documentation.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "Chats",
      "item": [
        {
          "name": "View all chats",
          "request": {
            "method": "GET",
            "description": "This endpoint has some optional parameters to get the data from a chat according to your situation.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats"
              ],
              "variable": [],
              "query": [
                {
                  "key": "agent",
                  "value": "",
                  "description": "Agent ID"
                },
                {
                  "key": "department",
                  "value": "",
                  "description": "Department ID"
                },
                {
                  "key": "customer",
                  "value": "",
                  "description": "Customer ID"
                },
                {
                  "key": "situation",
                  "value": "",
                  "description": "Chat situation"
                },
                {
                  "key": "status",
                  "value": "",
                  "description": "Chat status"
                },
                {
                  "key": "channel",
                  "value": "",
                  "description": "Filter by channels (e.g., whatsapp, telegram-bot, messenger, email)"
                }
              ]
            }
          }
        },
        {
          "name": "View chat details",
          "request": {
            "method": "GET",
            "description": "Get the detailed data of a chat by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "View chats message",
          "request": {
            "method": "GET",
            "description": "Get the detailed data of a chat by its ID. This request will return the corresponding chat messages.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/messages",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "messages"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": [
                {
                  "key": "showEvents",
                  "value": "",
                  "description": "Displays the chat's internal event messages"
                }
              ]
            }
          }
        },
        {
          "name": "View all tags of a chat",
          "request": {
            "method": "GET",
            "description": "View the list of tags added to a chat.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "tags"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "View ID of an agent",
          "request": {
            "method": "GET",
            "description": "Get the name and ID of an agent by the chat identifier.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/agents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "agents"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "Get context variables",
          "request": {
            "method": "GET",
            "description": "Gets the chat context variables.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/contextVariables",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "contextVariables"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "Add a new message in a chat",
          "request": {
            "method": "POST",
            "description": "Add a new message passing key and value in the request body.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/messages",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "messages"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"text\": \"<string>\",\n  \"fileBase64\": \"<string>\",\n  \"options\": \"<array>\",\n  \"file\": \"<string>\",\n  \"isInternal\": \"<boolean>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Transfer a chat to another agent",
          "request": {
            "method": "POST",
            "description": "Transfer a chat to another agent.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/transfer",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "transfer"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"agentId\": \"<integer>\",\n  \"message\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Execute flow",
          "request": {
            "method": "POST",
            "description": "Run a Flow from a chat that is not finalized or is not internal.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/flow",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "flow"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"flowId\": \"<integer>\",\n  \"variables\": \"<object>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Add an agent",
          "request": {
            "method": "PUT",
            "description": "Add an agent to a chat.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/agent",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "agent"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"agentId\": \"<integer>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Mark messages as read",
          "request": {
            "method": "PUT",
            "description": "Mark the chat message as read.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/read",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "read"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "Update the tabulation of a chat",
          "request": {
            "method": "PUT",
            "description": "This action allows you to update the tabulation of a chat.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/tabulation",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "tabulation"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tabulationId\": \"<integer>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Update chat tags",
          "request": {
            "method": "PUT",
            "description": "This action allows you to make changes to the tags of a chat.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "tags"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tags\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Move to the queue",
          "request": {
            "method": "PUT",
            "description": "Move a chat to the queue.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/queue",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "queue"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "Assign a department to a chat",
          "request": {
            "method": "PUT",
            "description": "Assigns a department to a chat.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/department",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "department"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"department\": \"<integer>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Close a chat",
          "request": {
            "method": "PUT",
            "description": "Close a chat, passing its ID in the request parameter.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/close",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "close"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tabulation\": \"<integer>\",\n  \"comment\": \"<string>\",\n  \"sendFeedback\": \"<boolean>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Reopen a chat",
          "request": {
            "method": "PUT",
            "description": "Reopen a chat by passing its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/reopen",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "reopen"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "Update the chat Workflow step",
          "request": {
            "method": "PUT",
            "description": "Update the Workflow step of a chat.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/workflow",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "workflow"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stepId\": \"<integer>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Assign the chat to the agent",
          "request": {
            "method": "PUT",
            "description": "Assign the chat to the company agent.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id/assignToMe",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id",
                "assignToMe"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "Delete a chat",
          "request": {
            "method": "DELETE",
            "description": "Delete a chat by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/chats/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "chats",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Chat ID"
                }
              ],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Agents",
      "item": [
        {
          "name": "View all agents",
          "request": {
            "method": "GET",
            "description": "Get the information of all registered agents.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/agents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "agents"
              ],
              "variable": [],
              "query": [
                {
                  "key": "allPages",
                  "value": "",
                  "description": "Parameter that will return all records if your value to true"
                }
              ]
            }
          }
        },
        {
          "name": "View the agent profile",
          "request": {
            "method": "GET",
            "description": "Get the agent profile data logged into Huggy platform.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/agents/profile",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "agents",
                "profile"
              ],
              "variable": [],
              "query": []
            }
          }
        },
        {
          "name": "View an agent data",
          "request": {
            "method": "GET",
            "description": "Get data from a specific agent.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/agents/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "agents",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Agent ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "View agent status",
          "request": {
            "method": "GET",
            "description": "Get the status of an agent by your ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/agents/:id/status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "agents",
                ":id",
                "status"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Agent ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "Invite a new agent",
          "request": {
            "method": "POST",
            "description": "To invite a new agent, three required attributes must be passed in the request body.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/agents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "agents"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"<string>\",\n  \"maxChats\": \"<integer>\",\n  \"type\": \"<integer>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Update the agent status",
          "request": {
            "method": "PUT",
            "description": "Update the status of an agent.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/agents/status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "agents",
                "status"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"<integer>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Update an agent",
          "request": {
            "method": "PUT",
            "description": "Allows updating the information of the agent.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/agents/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "agents",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Agent ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\",\n  \"login\": \"<string>\",\n  \"email\": \"<string>\",\n  \"password\": \"<string>\",\n  \"type\": \"<integer>\",\n  \"phone\": \"<string>\",\n  \"active\": \"<boolean>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Contacts",
      "item": [
        {
          "name": "View all contacts",
          "request": {
            "method": "GET",
            "description": "Gets data from all registered contacts.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/contacts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "contacts"
              ],
              "variable": [],
              "query": [
                {
                  "key": "email",
                  "value": "",
                  "description": "Contact email"
                },
                {
                  "key": "phone",
                  "value": "",
                  "description": "Contact phone"
                }
              ]
            }
          }
        },
        {
          "name": "View a contact",
          "request": {
            "method": "GET",
            "description": "Get the specific contact data by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/contacts/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "contacts",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Contact ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "View a contact timeline",
          "request": {
            "method": "GET",
            "description": "Get the contact timeline data by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/contacts/:id/timeline",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "contacts",
                ":id",
                "timeline"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Contact ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "View a contact group",
          "request": {
            "method": "GET",
            "description": "Get the group data that the contact belong.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/contacts/:id/groups",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "contacts",
                ":id",
                "groups"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Contact ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "View a contact organization",
          "request": {
            "method": "GET",
            "description": "Gets data of a contact organization.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/contacts/:id/organizations",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "contacts",
                ":id",
                "organizations"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Contact ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "View a custom field",
          "request": {
            "method": "GET",
            "description": "Get the contact custom field data.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/contacts/:id/customFields",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "contacts",
                ":id",
                "customFields"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Contact ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "View contact associations",
          "request": {
            "method": "GET",
            "description": "An association defines that a contact can be considered main contact of other contact.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/contacts/:id/linkedContacts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "contacts",
                ":id",
                "linkedContacts"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Contact ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "Create a contact",
          "request": {
            "method": "POST",
            "description": "To create a new contact, name and email information are required.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/contacts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "contacts"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create a chat from the contact ID",
          "request": {
            "method": "POST",
            "description": "Create a chat from the contact's ID passing the uuid of the desired channel.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/contacts/:id/chats",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "contacts",
                ":id",
                "chats"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Contact ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"channelUuid\": \"<string>\",\n  \"subject\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create a comment in contact timeline",
          "request": {
            "method": "POST",
            "description": "Create a comment in contact's timeline by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/timeline/createComment/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "timeline",
                "createComment",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Contact ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"comment\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Update a contact",
          "request": {
            "method": "PUT",
            "description": "Update a contact by its ID",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/contacts/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "contacts",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Contact ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\",\n  \"gender\": \"<string>\",\n  \"email\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"mobile\": \"<string>\",\n  \"birthDate\": \"<string>\",\n  \"address\": \"<string>\",\n  \"city\": \"<string>\",\n  \"district\": \"<string>\",\n  \"state\": \"<string>\",\n  \"zipCode\": \"<string>\",\n  \"obs\": \"<string>\",\n  \"groupsID\": \"<array>\",\n  \"organization\": \"<integer>\",\n  \"organizationsID\": \"<array>\",\n  \"custom_fields\": \"<object>\",\n  \"linksID\": \"<array>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Execute a Flow to a contact",
          "request": {
            "method": "PUT",
            "description": "Initialize the execution of a Flow to a specific contact.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/contacts/:contactId/execFlow",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "contacts",
                ":contactId",
                "execFlow"
              ],
              "variable": [
                {
                  "key": "contactId",
                  "value": "",
                  "description": "Contact ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"uuid\": \"<string>\",\n  \"flowId\": \"<integer>\",\n  \"variables\": \"<object>\",\n  \"whenInChat\": \"<boolean>\",\n  \"whenWaitForChat\": \"<boolean>\",\n  \"whenInAuto\": \"<boolean>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete a contact",
          "request": {
            "method": "DELETE",
            "description": "Delete a contact by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/contacts/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "contacts",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Contact ID"
                }
              ],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Custom fields",
      "item": [
        {
          "name": "View all custom fields",
          "request": {
            "method": "GET",
            "description": "Get list of all custom fields.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/customFields",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "customFields"
              ],
              "variable": [],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Departments",
      "item": [
        {
          "name": "View all departments",
          "request": {
            "method": "GET",
            "description": "Get the list of all departments created in the company.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/departments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "departments"
              ],
              "variable": [],
              "query": [
                {
                  "key": "allPages",
                  "value": "",
                  "description": "Parameter that will return all records"
                }
              ]
            }
          }
        },
        {
          "name": "View all parent departments",
          "request": {
            "method": "GET",
            "description": "Get list of all parent departments.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/departments/parents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "departments",
                "parents"
              ],
              "variable": [],
              "query": []
            }
          }
        },
        {
          "name": "View a department",
          "request": {
            "method": "GET",
            "description": "Get the registered department information by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/departments/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "departments",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Department ID"
                }
              ],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Tags",
      "item": [
        {
          "name": "Delete tags",
          "request": {
            "method": "DELETE",
            "description": "Deletes a tag by its ID",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/tags/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "tags",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Tag ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "Delete batch tags",
          "request": {
            "method": "DELETE",
            "description": "Deletes a batch of tags by passing an array in the request body",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/tags/batch",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "tags",
                "batch"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tags\": \"<array>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Tabulations",
      "item": [
        {
          "name": "View all tabulations",
          "request": {
            "method": "GET",
            "description": "Get the list of all created tabulations.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/tabulations",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "tabulations"
              ],
              "variable": [],
              "query": [
                {
                  "key": "allPages",
                  "value": "",
                  "description": "Parameter that will return all records"
                }
              ]
            }
          }
        },
        {
          "name": "View a tabulation",
          "request": {
            "method": "GET",
            "description": "Gets data of a tabulation by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/tabulations/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "tabulations",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Tabulations ID"
                }
              ],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Telegram Bot",
      "item": [
        {
          "name": "View all telegram bots",
          "request": {
            "method": "GET",
            "description": "Get the list of all telegram bots registered on the Huggy platform.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/telegramBot",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "telegramBot"
              ],
              "variable": [],
              "query": []
            }
          }
        },
        {
          "name": "View a telegram bot",
          "request": {
            "method": "GET",
            "description": "Get the telegram bot data by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/telegramBot/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "telegramBot",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Telegram bot ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "Register a telegram bot",
          "request": {
            "method": "POST",
            "description": "Register a new telegram bot on the Huggy plataform by its token.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/telegramBot",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "telegramBot"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"token\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Update a telegram bot",
          "request": {
            "method": "PUT",
            "description": "Update name, input flows and output flows of a telegram bot by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/telegramBot/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "telegramBot",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Telegram bot ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\",\n  \"flowInID\": \"<integer>\",\n  \"flowOutID\": \"<integer>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete a telegram bot",
          "request": {
            "method": "DELETE",
            "description": "Delete a telegram bot by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/telegramBot/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "telegramBot",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Telegram bot ID"
                }
              ],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Shortcuts",
      "item": [
        {
          "name": "View all shortcuts",
          "request": {
            "method": "GET",
            "description": "Get the list of all shortcuts created in Huggy platform.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/shortcuts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "shortcuts"
              ],
              "variable": [],
              "query": []
            }
          }
        },
        {
          "name": "View a shortcut",
          "request": {
            "method": "GET",
            "description": "Get the shortcut data by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/shortcuts/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "shortcuts",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Shortcut ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "Create a new shortcut",
          "request": {
            "method": "POST",
            "description": "Creates a new shortcut for sending texts, images and files.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/shortcuts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "shortcuts"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\",\n  \"key\": \"<string>\",\n  \"file\": \"<string>\",\n  \"text\": \"<string>\",\n  \"public\": \"<boolean>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Update shortcut",
          "request": {
            "method": "PUT",
            "description": "Update a shortcut by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/shortcuts/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "shortcuts",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Shortcut ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\",\n  \"key\": \"<string>\",\n  \"file\": \"<string>\",\n  \"text\": \"<string>\",\n  \"public\": \"<boolean>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete a shortcut",
          "request": {
            "method": "DELETE",
            "description": "Delete a shortcut by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/shortcuts/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "shortcuts",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Shortcut ID"
                }
              ],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Status",
      "item": [
        {
          "name": "View all status",
          "request": {
            "method": "GET",
            "description": "Get the list of all custom status that was created by agents.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "status"
              ],
              "variable": [],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Workflow",
      "item": [
        {
          "name": "View all workflows",
          "request": {
            "method": "GET",
            "description": "Get the list of all workflows and their respective phases.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/workflows",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "workflows"
              ],
              "variable": [],
              "query": []
            }
          }
        },
        {
          "name": "View a workflow",
          "request": {
            "method": "GET",
            "description": "Get the workflow data by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/workflows/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "workflows",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Workflow ID"
                }
              ],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Bots",
      "item": [
        {
          "name": "View all bots",
          "request": {
            "method": "GET",
            "description": "Get the list of all bots created in Huggy platform",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/bots",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "bots"
              ],
              "variable": [],
              "query": []
            }
          }
        },
        {
          "name": "View a bot",
          "request": {
            "method": "GET",
            "description": "Get the bot data by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/bots/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "bots",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Bot ID"
                }
              ],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Virtual Agents",
      "item": [
        {
          "name": "View all virtual agents",
          "request": {
            "method": "GET",
            "description": "Get the list of all virtual agents registered in Huggy platform.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/virtualAgents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "virtualAgents"
              ],
              "variable": [],
              "query": []
            }
          }
        },
        {
          "name": "View a virtual agent",
          "request": {
            "method": "GET",
            "description": "Get the virtual agent data by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/virtualAgents/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "virtualAgents",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Virtual agent ID"
                }
              ],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Projects",
      "item": [
        {
          "name": "View all projects",
          "request": {
            "method": "GET",
            "description": "Get the list of all projects created in Huggy platform.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/projects",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "projects"
              ],
              "variable": [],
              "query": []
            }
          }
        },
        {
          "name": "View a project",
          "request": {
            "method": "GET",
            "description": "Get the project data by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/projects/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "projects",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Project ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "Create a project",
          "request": {
            "method": "POST",
            "description": "Create a project passing in the request body the attribute name and its respective value.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/projects",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "projects"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Update the project name",
          "request": {
            "method": "PUT",
            "description": "Update the project name passing in the request body the attribute name and its respective value.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/projects/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "projects",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Project ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete a project",
          "request": {
            "method": "DELETE",
            "description": "Delete a project by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/projects/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "projects",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Project ID"
                }
              ],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Projects (Flows)",
      "item": [
        {
          "name": "View all project flows",
          "request": {
            "method": "GET",
            "description": "Get the list of all project flows and its configured actions.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/projects/:id/flows",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "projects",
                ":id",
                "flows"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Project ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "View a flow",
          "request": {
            "method": "GET",
            "description": "Get the flow data by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/projects/:projectId/flows/:flowId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "projects",
                ":projectId",
                "flows",
                ":flowId"
              ],
              "variable": [
                {
                  "key": "projectId",
                  "value": "",
                  "description": "Project ID"
                },
                {
                  "key": "flowId",
                  "value": "",
                  "description": "Flow ID"
                }
              ],
              "query": []
            }
          }
        },
        {
          "name": "Create a flow",
          "request": {
            "method": "POST",
            "description": "Pass in the query parameter the project ID and in the request body the attribute description so that the flow will be created.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/projects/:id/flows",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "projects",
                ":id",
                "flows"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Project ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"description\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Update a flow",
          "request": {
            "method": "PUT",
            "description": "Update the flow description.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/projects/:projectId/flows/:flowId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "projects",
                ":projectId",
                "flows",
                ":flowId"
              ],
              "variable": [
                {
                  "key": "projectId",
                  "value": "",
                  "description": "Project ID"
                },
                {
                  "key": "flowId",
                  "value": "",
                  "description": "Project flow number"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"description\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete a flow",
          "request": {
            "method": "DELETE",
            "description": "Delete a flow by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/projects/:projectId/flows/:flowId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "projects",
                ":projectId",
                "flows",
                ":flowId"
              ],
              "variable": [
                {
                  "key": "projectId",
                  "value": "",
                  "description": "Project ID"
                },
                {
                  "key": "flowId",
                  "value": "",
                  "description": "Flow ID"
                }
              ],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Organizations",
      "item": [
        {
          "name": "View all organizations",
          "request": {
            "method": "GET",
            "description": "View a list of all organizations registered in Huggy platform.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/organizations",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "organizations"
              ],
              "variable": [],
              "query": []
            }
          }
        },
        {
          "name": "Create a new organization",
          "request": {
            "method": "POST",
            "description": "Create a new organization in Huggy platform.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/organizations",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "organizations"
              ],
              "variable": [],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Update a organization",
          "request": {
            "method": "PUT",
            "description": "Update the organization name.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/organizations/:Id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "organizations",
                ":Id"
              ],
              "variable": [
                {
                  "key": "Id",
                  "value": "",
                  "description": "Organization ID"
                }
              ],
              "query": []
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete a organization",
          "request": {
            "method": "DELETE",
            "description": "Delete a organization by its ID.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/organizations/:Id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "organizations",
                ":Id"
              ],
              "variable": [
                {
                  "key": "Id",
                  "value": "",
                  "description": "Organization ID"
                }
              ],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Companies",
      "item": [
        {
          "name": "View all companies",
          "request": {
            "method": "GET",
            "description": "Get the list of all agent companies.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "type": "string"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/companies/{{companyId}}/companies",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies",
                "{{companyId}}",
                "companies"
              ],
              "variable": [],
              "query": []
            }
          }
        }
      ]
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.huggy.app/v3",
      "type": "string"
    },
    {
      "key": "companyId",
      "value": "SEU_COMPANY_ID",
      "type": "string"
    },
    {
      "key": "token",
      "value": "SEU_TOKEN_AQUI",
      "type": "string"
    }
  ]
}