universal-mcp-applications 0.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- universal_mcp/applications/ahrefs/README.md +51 -0
- universal_mcp/applications/ahrefs/__init__.py +1 -0
- universal_mcp/applications/ahrefs/app.py +2291 -0
- universal_mcp/applications/airtable/README.md +22 -0
- universal_mcp/applications/airtable/__init__.py +1 -0
- universal_mcp/applications/airtable/app.py +479 -0
- universal_mcp/applications/apollo/README.md +44 -0
- universal_mcp/applications/apollo/__init__.py +1 -0
- universal_mcp/applications/apollo/app.py +1847 -0
- universal_mcp/applications/asana/README.md +199 -0
- universal_mcp/applications/asana/__init__.py +1 -0
- universal_mcp/applications/asana/app.py +9509 -0
- universal_mcp/applications/aws-s3/README.md +0 -0
- universal_mcp/applications/aws-s3/__init__.py +1 -0
- universal_mcp/applications/aws-s3/app.py +552 -0
- universal_mcp/applications/bill/README.md +0 -0
- universal_mcp/applications/bill/__init__.py +1 -0
- universal_mcp/applications/bill/app.py +8705 -0
- universal_mcp/applications/box/README.md +307 -0
- universal_mcp/applications/box/__init__.py +1 -0
- universal_mcp/applications/box/app.py +15987 -0
- universal_mcp/applications/braze/README.md +106 -0
- universal_mcp/applications/braze/__init__.py +1 -0
- universal_mcp/applications/braze/app.py +4754 -0
- universal_mcp/applications/cal-com-v2/README.md +150 -0
- universal_mcp/applications/cal-com-v2/__init__.py +1 -0
- universal_mcp/applications/cal-com-v2/app.py +5541 -0
- universal_mcp/applications/calendly/README.md +53 -0
- universal_mcp/applications/calendly/__init__.py +1 -0
- universal_mcp/applications/calendly/app.py +1436 -0
- universal_mcp/applications/canva/README.md +43 -0
- universal_mcp/applications/canva/__init__.py +1 -0
- universal_mcp/applications/canva/app.py +941 -0
- universal_mcp/applications/clickup/README.md +135 -0
- universal_mcp/applications/clickup/__init__.py +1 -0
- universal_mcp/applications/clickup/app.py +5009 -0
- universal_mcp/applications/coda/README.md +108 -0
- universal_mcp/applications/coda/__init__.py +1 -0
- universal_mcp/applications/coda/app.py +3671 -0
- universal_mcp/applications/confluence/README.md +198 -0
- universal_mcp/applications/confluence/__init__.py +1 -0
- universal_mcp/applications/confluence/app.py +6273 -0
- universal_mcp/applications/contentful/README.md +17 -0
- universal_mcp/applications/contentful/__init__.py +1 -0
- universal_mcp/applications/contentful/app.py +364 -0
- universal_mcp/applications/crustdata/README.md +25 -0
- universal_mcp/applications/crustdata/__init__.py +1 -0
- universal_mcp/applications/crustdata/app.py +586 -0
- universal_mcp/applications/dialpad/README.md +202 -0
- universal_mcp/applications/dialpad/__init__.py +1 -0
- universal_mcp/applications/dialpad/app.py +5949 -0
- universal_mcp/applications/digitalocean/README.md +463 -0
- universal_mcp/applications/digitalocean/__init__.py +1 -0
- universal_mcp/applications/digitalocean/app.py +20835 -0
- universal_mcp/applications/domain-checker/README.md +13 -0
- universal_mcp/applications/domain-checker/__init__.py +1 -0
- universal_mcp/applications/domain-checker/app.py +265 -0
- universal_mcp/applications/e2b/README.md +12 -0
- universal_mcp/applications/e2b/__init__.py +1 -0
- universal_mcp/applications/e2b/app.py +187 -0
- universal_mcp/applications/elevenlabs/README.md +88 -0
- universal_mcp/applications/elevenlabs/__init__.py +1 -0
- universal_mcp/applications/elevenlabs/app.py +3235 -0
- universal_mcp/applications/exa/README.md +15 -0
- universal_mcp/applications/exa/__init__.py +1 -0
- universal_mcp/applications/exa/app.py +221 -0
- universal_mcp/applications/falai/README.md +17 -0
- universal_mcp/applications/falai/__init__.py +1 -0
- universal_mcp/applications/falai/app.py +331 -0
- universal_mcp/applications/figma/README.md +49 -0
- universal_mcp/applications/figma/__init__.py +1 -0
- universal_mcp/applications/figma/app.py +1090 -0
- universal_mcp/applications/firecrawl/README.md +20 -0
- universal_mcp/applications/firecrawl/__init__.py +1 -0
- universal_mcp/applications/firecrawl/app.py +514 -0
- universal_mcp/applications/fireflies/README.md +25 -0
- universal_mcp/applications/fireflies/__init__.py +1 -0
- universal_mcp/applications/fireflies/app.py +506 -0
- universal_mcp/applications/fpl/README.md +23 -0
- universal_mcp/applications/fpl/__init__.py +1 -0
- universal_mcp/applications/fpl/app.py +1327 -0
- universal_mcp/applications/fpl/utils/api.py +142 -0
- universal_mcp/applications/fpl/utils/fixtures.py +629 -0
- universal_mcp/applications/fpl/utils/helper.py +982 -0
- universal_mcp/applications/fpl/utils/league_utils.py +546 -0
- universal_mcp/applications/fpl/utils/position_utils.py +68 -0
- universal_mcp/applications/ghost-content/README.md +25 -0
- universal_mcp/applications/ghost-content/__init__.py +1 -0
- universal_mcp/applications/ghost-content/app.py +654 -0
- universal_mcp/applications/github/README.md +1049 -0
- universal_mcp/applications/github/__init__.py +1 -0
- universal_mcp/applications/github/app.py +50600 -0
- universal_mcp/applications/gong/README.md +63 -0
- universal_mcp/applications/gong/__init__.py +1 -0
- universal_mcp/applications/gong/app.py +2297 -0
- universal_mcp/applications/google-ads/README.md +0 -0
- universal_mcp/applications/google-ads/__init__.py +1 -0
- universal_mcp/applications/google-ads/app.py +23 -0
- universal_mcp/applications/google-calendar/README.md +21 -0
- universal_mcp/applications/google-calendar/__init__.py +1 -0
- universal_mcp/applications/google-calendar/app.py +574 -0
- universal_mcp/applications/google-docs/README.md +25 -0
- universal_mcp/applications/google-docs/__init__.py +1 -0
- universal_mcp/applications/google-docs/app.py +760 -0
- universal_mcp/applications/google-drive/README.md +68 -0
- universal_mcp/applications/google-drive/__init__.py +1 -0
- universal_mcp/applications/google-drive/app.py +4936 -0
- universal_mcp/applications/google-gemini/README.md +25 -0
- universal_mcp/applications/google-gemini/__init__.py +1 -0
- universal_mcp/applications/google-gemini/app.py +663 -0
- universal_mcp/applications/google-mail/README.md +31 -0
- universal_mcp/applications/google-mail/__init__.py +1 -0
- universal_mcp/applications/google-mail/app.py +1354 -0
- universal_mcp/applications/google-searchconsole/README.md +21 -0
- universal_mcp/applications/google-searchconsole/__init__.py +1 -0
- universal_mcp/applications/google-searchconsole/app.py +320 -0
- universal_mcp/applications/google-sheet/README.md +36 -0
- universal_mcp/applications/google-sheet/__init__.py +1 -0
- universal_mcp/applications/google-sheet/app.py +1941 -0
- universal_mcp/applications/hashnode/README.md +20 -0
- universal_mcp/applications/hashnode/__init__.py +1 -0
- universal_mcp/applications/hashnode/app.py +455 -0
- universal_mcp/applications/heygen/README.md +44 -0
- universal_mcp/applications/heygen/__init__.py +1 -0
- universal_mcp/applications/heygen/app.py +961 -0
- universal_mcp/applications/http-tools/README.md +16 -0
- universal_mcp/applications/http-tools/__init__.py +1 -0
- universal_mcp/applications/http-tools/app.py +153 -0
- universal_mcp/applications/hubspot/README.md +239 -0
- universal_mcp/applications/hubspot/__init__.py +1 -0
- universal_mcp/applications/hubspot/app.py +416 -0
- universal_mcp/applications/jira/README.md +600 -0
- universal_mcp/applications/jira/__init__.py +1 -0
- universal_mcp/applications/jira/app.py +28804 -0
- universal_mcp/applications/klaviyo/README.md +313 -0
- universal_mcp/applications/klaviyo/__init__.py +1 -0
- universal_mcp/applications/klaviyo/app.py +11236 -0
- universal_mcp/applications/linkedin/README.md +15 -0
- universal_mcp/applications/linkedin/__init__.py +1 -0
- universal_mcp/applications/linkedin/app.py +243 -0
- universal_mcp/applications/mailchimp/README.md +281 -0
- universal_mcp/applications/mailchimp/__init__.py +1 -0
- universal_mcp/applications/mailchimp/app.py +10937 -0
- universal_mcp/applications/markitdown/README.md +12 -0
- universal_mcp/applications/markitdown/__init__.py +1 -0
- universal_mcp/applications/markitdown/app.py +63 -0
- universal_mcp/applications/miro/README.md +151 -0
- universal_mcp/applications/miro/__init__.py +1 -0
- universal_mcp/applications/miro/app.py +5429 -0
- universal_mcp/applications/ms-teams/README.md +42 -0
- universal_mcp/applications/ms-teams/__init__.py +1 -0
- universal_mcp/applications/ms-teams/app.py +1823 -0
- universal_mcp/applications/neon/README.md +74 -0
- universal_mcp/applications/neon/__init__.py +1 -0
- universal_mcp/applications/neon/app.py +2018 -0
- universal_mcp/applications/notion/README.md +30 -0
- universal_mcp/applications/notion/__init__.py +1 -0
- universal_mcp/applications/notion/app.py +527 -0
- universal_mcp/applications/openai/README.md +22 -0
- universal_mcp/applications/openai/__init__.py +1 -0
- universal_mcp/applications/openai/app.py +759 -0
- universal_mcp/applications/outlook/README.md +20 -0
- universal_mcp/applications/outlook/__init__.py +1 -0
- universal_mcp/applications/outlook/app.py +444 -0
- universal_mcp/applications/perplexity/README.md +12 -0
- universal_mcp/applications/perplexity/__init__.py +1 -0
- universal_mcp/applications/perplexity/app.py +65 -0
- universal_mcp/applications/pipedrive/README.md +284 -0
- universal_mcp/applications/pipedrive/__init__.py +1 -0
- universal_mcp/applications/pipedrive/app.py +12924 -0
- universal_mcp/applications/posthog/README.md +132 -0
- universal_mcp/applications/posthog/__init__.py +1 -0
- universal_mcp/applications/posthog/app.py +7125 -0
- universal_mcp/applications/reddit/README.md +135 -0
- universal_mcp/applications/reddit/__init__.py +1 -0
- universal_mcp/applications/reddit/app.py +4652 -0
- universal_mcp/applications/replicate/README.md +18 -0
- universal_mcp/applications/replicate/__init__.py +1 -0
- universal_mcp/applications/replicate/app.py +495 -0
- universal_mcp/applications/resend/README.md +40 -0
- universal_mcp/applications/resend/__init__.py +1 -0
- universal_mcp/applications/resend/app.py +881 -0
- universal_mcp/applications/retell/README.md +21 -0
- universal_mcp/applications/retell/__init__.py +1 -0
- universal_mcp/applications/retell/app.py +333 -0
- universal_mcp/applications/rocketlane/README.md +70 -0
- universal_mcp/applications/rocketlane/__init__.py +1 -0
- universal_mcp/applications/rocketlane/app.py +4346 -0
- universal_mcp/applications/semanticscholar/README.md +25 -0
- universal_mcp/applications/semanticscholar/__init__.py +1 -0
- universal_mcp/applications/semanticscholar/app.py +482 -0
- universal_mcp/applications/semrush/README.md +44 -0
- universal_mcp/applications/semrush/__init__.py +1 -0
- universal_mcp/applications/semrush/app.py +2081 -0
- universal_mcp/applications/sendgrid/README.md +362 -0
- universal_mcp/applications/sendgrid/__init__.py +1 -0
- universal_mcp/applications/sendgrid/app.py +9752 -0
- universal_mcp/applications/sentry/README.md +186 -0
- universal_mcp/applications/sentry/__init__.py +1 -0
- universal_mcp/applications/sentry/app.py +7471 -0
- universal_mcp/applications/serpapi/README.md +14 -0
- universal_mcp/applications/serpapi/__init__.py +1 -0
- universal_mcp/applications/serpapi/app.py +293 -0
- universal_mcp/applications/sharepoint/README.md +0 -0
- universal_mcp/applications/sharepoint/__init__.py +1 -0
- universal_mcp/applications/sharepoint/app.py +215 -0
- universal_mcp/applications/shopify/README.md +321 -0
- universal_mcp/applications/shopify/__init__.py +1 -0
- universal_mcp/applications/shopify/app.py +15392 -0
- universal_mcp/applications/shortcut/README.md +128 -0
- universal_mcp/applications/shortcut/__init__.py +1 -0
- universal_mcp/applications/shortcut/app.py +4478 -0
- universal_mcp/applications/slack/README.md +0 -0
- universal_mcp/applications/slack/__init__.py +1 -0
- universal_mcp/applications/slack/app.py +570 -0
- universal_mcp/applications/spotify/README.md +91 -0
- universal_mcp/applications/spotify/__init__.py +1 -0
- universal_mcp/applications/spotify/app.py +2526 -0
- universal_mcp/applications/supabase/README.md +87 -0
- universal_mcp/applications/supabase/__init__.py +1 -0
- universal_mcp/applications/supabase/app.py +2970 -0
- universal_mcp/applications/tavily/README.md +12 -0
- universal_mcp/applications/tavily/__init__.py +1 -0
- universal_mcp/applications/tavily/app.py +51 -0
- universal_mcp/applications/trello/README.md +266 -0
- universal_mcp/applications/trello/__init__.py +1 -0
- universal_mcp/applications/trello/app.py +10875 -0
- universal_mcp/applications/twillo/README.md +0 -0
- universal_mcp/applications/twillo/__init__.py +1 -0
- universal_mcp/applications/twillo/app.py +269 -0
- universal_mcp/applications/twitter/README.md +100 -0
- universal_mcp/applications/twitter/__init__.py +1 -0
- universal_mcp/applications/twitter/api_segments/__init__.py +0 -0
- universal_mcp/applications/twitter/api_segments/api_segment_base.py +51 -0
- universal_mcp/applications/twitter/api_segments/compliance_api.py +122 -0
- universal_mcp/applications/twitter/api_segments/dm_conversations_api.py +255 -0
- universal_mcp/applications/twitter/api_segments/dm_events_api.py +140 -0
- universal_mcp/applications/twitter/api_segments/likes_api.py +159 -0
- universal_mcp/applications/twitter/api_segments/lists_api.py +395 -0
- universal_mcp/applications/twitter/api_segments/openapi_json_api.py +34 -0
- universal_mcp/applications/twitter/api_segments/spaces_api.py +309 -0
- universal_mcp/applications/twitter/api_segments/trends_api.py +40 -0
- universal_mcp/applications/twitter/api_segments/tweets_api.py +1403 -0
- universal_mcp/applications/twitter/api_segments/usage_api.py +40 -0
- universal_mcp/applications/twitter/api_segments/users_api.py +1498 -0
- universal_mcp/applications/twitter/app.py +46 -0
- universal_mcp/applications/unipile/README.md +28 -0
- universal_mcp/applications/unipile/__init__.py +1 -0
- universal_mcp/applications/unipile/app.py +829 -0
- universal_mcp/applications/whatsapp/README.md +23 -0
- universal_mcp/applications/whatsapp/__init__.py +1 -0
- universal_mcp/applications/whatsapp/app.py +595 -0
- universal_mcp/applications/whatsapp-business/README.md +34 -0
- universal_mcp/applications/whatsapp-business/__init__.py +1 -0
- universal_mcp/applications/whatsapp-business/app.py +1065 -0
- universal_mcp/applications/wrike/README.md +46 -0
- universal_mcp/applications/wrike/__init__.py +1 -0
- universal_mcp/applications/wrike/app.py +1583 -0
- universal_mcp/applications/youtube/README.md +57 -0
- universal_mcp/applications/youtube/__init__.py +1 -0
- universal_mcp/applications/youtube/app.py +1696 -0
- universal_mcp/applications/zenquotes/README.md +12 -0
- universal_mcp/applications/zenquotes/__init__.py +1 -0
- universal_mcp/applications/zenquotes/app.py +31 -0
- universal_mcp_applications-0.1.1.dist-info/METADATA +172 -0
- universal_mcp_applications-0.1.1.dist-info/RECORD +268 -0
- universal_mcp_applications-0.1.1.dist-info/WHEEL +4 -0
- universal_mcp_applications-0.1.1.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# HttpToolsApp MCP Server
|
|
2
|
+
|
|
3
|
+
An MCP Server for the HttpToolsApp API.
|
|
4
|
+
|
|
5
|
+
## 🛠️ Tool List
|
|
6
|
+
|
|
7
|
+
This is automatically generated from OpenAPI schema for the HttpToolsApp API.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
| Tool | Description |
|
|
11
|
+
|------|-------------|
|
|
12
|
+
| `http_get` | Perform a GET request to the specified URL with optional parameters. |
|
|
13
|
+
| `http_post` | Perform a POST request to the specified URL with optional parameters. |
|
|
14
|
+
| `http_put` | Perform a PUT request to the specified URL with optional parameters. |
|
|
15
|
+
| `http_delete` | Perform a DELETE request to the specified URL with optional parameters. |
|
|
16
|
+
| `http_patch` | Perform a PATCH request to the specified URL with optional parameters. |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .app import HttpToolsApp
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import httpx
|
|
2
|
+
from loguru import logger
|
|
3
|
+
from universal_mcp.applications.application import APIApplication
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class HttpToolsApp(APIApplication):
|
|
7
|
+
"""
|
|
8
|
+
Base class for Universal MCP Applications.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
def __init__(self, **kwargs) -> None:
|
|
12
|
+
"""
|
|
13
|
+
Initialize the HttpToolsApp.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
**kwargs: Additional keyword arguments for the parent APIApplication.
|
|
17
|
+
"""
|
|
18
|
+
super().__init__(name="http-tools", **kwargs)
|
|
19
|
+
|
|
20
|
+
def _handle_response(self, response: httpx.Response):
|
|
21
|
+
"""
|
|
22
|
+
Handle the HTTP response, returning JSON if possible, otherwise text.
|
|
23
|
+
"""
|
|
24
|
+
try:
|
|
25
|
+
return response.json()
|
|
26
|
+
except Exception:
|
|
27
|
+
logger.warning(
|
|
28
|
+
f"Response is not JSON, returning text. Content-Type: {response.headers.get('content-type')}"
|
|
29
|
+
)
|
|
30
|
+
return {
|
|
31
|
+
"text": response.text,
|
|
32
|
+
"status_code": response.status_code,
|
|
33
|
+
"headers": dict(response.headers),
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
def http_get(
|
|
37
|
+
self, url: str, headers: dict | None = None, query_params: dict | None = None
|
|
38
|
+
):
|
|
39
|
+
"""
|
|
40
|
+
Perform a GET request to the specified URL with optional parameters.
|
|
41
|
+
|
|
42
|
+
Args:
|
|
43
|
+
url (str): The URL to send the GET request to. Example: "https://api.example.com/data"
|
|
44
|
+
headers (dict, optional): Optional HTTP headers to include in the request. Example: {"Authorization": "Bearer token"}
|
|
45
|
+
query_params (dict, optional): Optional dictionary of query parameters to include in the request. Example: {"page": 1}
|
|
46
|
+
|
|
47
|
+
Returns:
|
|
48
|
+
dict: The JSON response from the GET request, or text if not JSON.
|
|
49
|
+
Tags:
|
|
50
|
+
get, important
|
|
51
|
+
"""
|
|
52
|
+
logger.debug(
|
|
53
|
+
f"GET request to {url} with headers {headers} and query params {query_params}"
|
|
54
|
+
)
|
|
55
|
+
response = httpx.get(url, params=query_params, headers=headers)
|
|
56
|
+
response.raise_for_status()
|
|
57
|
+
return self._handle_response(response)
|
|
58
|
+
|
|
59
|
+
def http_post(
|
|
60
|
+
self, url: str, headers: dict | None = None, body: dict | None = None
|
|
61
|
+
):
|
|
62
|
+
"""
|
|
63
|
+
Perform a POST request to the specified URL with optional parameters.
|
|
64
|
+
|
|
65
|
+
Args:
|
|
66
|
+
url (str): The URL to send the POST request to. Example: "https://api.example.com/data"
|
|
67
|
+
headers (dict, optional): Optional HTTP headers to include in the request. Example: {"Content-Type": "application/json"}
|
|
68
|
+
body (dict, optional): Optional JSON body to include in the request. Example: {"name": "John"}
|
|
69
|
+
|
|
70
|
+
Returns:
|
|
71
|
+
dict: The JSON response from the POST request, or text if not JSON.
|
|
72
|
+
Tags:
|
|
73
|
+
post, important
|
|
74
|
+
"""
|
|
75
|
+
logger.debug(f"POST request to {url} with headers {headers} and body {body}")
|
|
76
|
+
response = httpx.post(url, json=body, headers=headers)
|
|
77
|
+
response.raise_for_status()
|
|
78
|
+
return self._handle_response(response)
|
|
79
|
+
|
|
80
|
+
def http_put(self, url: str, headers: dict | None = None, body: dict | None = None):
|
|
81
|
+
"""
|
|
82
|
+
Perform a PUT request to the specified URL with optional parameters.
|
|
83
|
+
|
|
84
|
+
Args:
|
|
85
|
+
url (str): The URL to send the PUT request to. Example: "https://api.example.com/data/1"
|
|
86
|
+
headers (dict, optional): Optional HTTP headers to include in the request. Example: {"Authorization": "Bearer token"}
|
|
87
|
+
body (dict, optional): Optional JSON body to include in the request. Example: {"name": "Jane"}
|
|
88
|
+
|
|
89
|
+
Returns:
|
|
90
|
+
dict: The JSON response from the PUT request, or text if not JSON.
|
|
91
|
+
Tags:
|
|
92
|
+
put, important
|
|
93
|
+
"""
|
|
94
|
+
logger.debug(f"PUT request to {url} with headers {headers} and body {body}")
|
|
95
|
+
response = httpx.put(url, json=body, headers=headers)
|
|
96
|
+
response.raise_for_status()
|
|
97
|
+
return self._handle_response(response)
|
|
98
|
+
|
|
99
|
+
def http_delete(
|
|
100
|
+
self, url: str, headers: dict | None = None, body: dict | None = None
|
|
101
|
+
):
|
|
102
|
+
"""
|
|
103
|
+
Perform a DELETE request to the specified URL with optional parameters.
|
|
104
|
+
|
|
105
|
+
Args:
|
|
106
|
+
url (str): The URL to send the DELETE request to. Example: "https://api.example.com/data/1"
|
|
107
|
+
headers (dict, optional): Optional HTTP headers to include in the request. Example: {"Authorization": "Bearer token"}
|
|
108
|
+
body (dict, optional): Optional JSON body to include in the request. Example: {"reason": "obsolete"}
|
|
109
|
+
|
|
110
|
+
Returns:
|
|
111
|
+
dict: The JSON response from the DELETE request, or text if not JSON.
|
|
112
|
+
Tags:
|
|
113
|
+
delete, important
|
|
114
|
+
"""
|
|
115
|
+
logger.debug(f"DELETE request to {url} with headers {headers} and body {body}")
|
|
116
|
+
response = httpx.delete(url, json=body, headers=headers)
|
|
117
|
+
response.raise_for_status()
|
|
118
|
+
return self._handle_response(response)
|
|
119
|
+
|
|
120
|
+
def http_patch(
|
|
121
|
+
self, url: str, headers: dict | None = None, body: dict | None = None
|
|
122
|
+
):
|
|
123
|
+
"""
|
|
124
|
+
Perform a PATCH request to the specified URL with optional parameters.
|
|
125
|
+
|
|
126
|
+
Args:
|
|
127
|
+
url (str): The URL to send the PATCH request to. Example: "https://api.example.com/data/1"
|
|
128
|
+
headers (dict, optional): Optional HTTP headers to include in the request. Example: {"Authorization": "Bearer token"}
|
|
129
|
+
body (dict, optional): Optional JSON body to include in the request. Example: {"status": "active"}
|
|
130
|
+
|
|
131
|
+
Returns:
|
|
132
|
+
dict: The JSON response from the PATCH request, or text if not JSON.
|
|
133
|
+
Tags:
|
|
134
|
+
patch, important
|
|
135
|
+
"""
|
|
136
|
+
logger.debug(f"PATCH request to {url} with headers {headers} and body {body}")
|
|
137
|
+
response = httpx.patch(url, json=body, headers=headers)
|
|
138
|
+
response.raise_for_status()
|
|
139
|
+
return self._handle_response(response)
|
|
140
|
+
|
|
141
|
+
def list_tools(self):
|
|
142
|
+
"""
|
|
143
|
+
Lists the available tools (methods) for this application.
|
|
144
|
+
Tags:
|
|
145
|
+
list, important
|
|
146
|
+
"""
|
|
147
|
+
return [
|
|
148
|
+
self.http_get,
|
|
149
|
+
self.http_post,
|
|
150
|
+
self.http_put,
|
|
151
|
+
self.http_delete,
|
|
152
|
+
self.http_patch,
|
|
153
|
+
]
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
# HubspotApp MCP Server
|
|
2
|
+
|
|
3
|
+
An MCP Server for the HubspotApp API.
|
|
4
|
+
|
|
5
|
+
## 🛠️ Tool List
|
|
6
|
+
|
|
7
|
+
This is automatically generated from OpenAPI schema for the HubspotApp API.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
| Tool | Description |
|
|
11
|
+
|------|-------------|
|
|
12
|
+
| `add_a_note` | Create a note in HubSpot with the given properties and associations. |
|
|
13
|
+
| `fetch_multiple_lists` | Fetch multiple lists in a single request by ILS list ID. The response will include the definitions of all lists that exist for the listIds provided. |
|
|
14
|
+
| `fetch_list_memberships` | Fetch the memberships of a list in order sorted by the recordId of the records in the list. |
|
|
15
|
+
| `create_list` | Create a new list in HubSpot with the specified object type, processing type, and name. |
|
|
16
|
+
| `get_list_by_id` | Fetch a single list by ILS list ID. |
|
|
17
|
+
| `delete_list_by_id` | Delete a list by ILS list ID. Lists deleted through this endpoint can be restored for up to 90 days. After 90 days, the list is permanently purged and cannot be restored |
|
|
18
|
+
| `add_records_to_list` | Add the records provided to the list. Records that do not exist or that are already members of the list are ignored. |
|
|
19
|
+
| `remove_records_from_list` | Remove the records provided from the list. Records that are not members of the list are ignored. |
|
|
20
|
+
| `search_lists` | Search lists by list name or page through all lists by providing an empty query value. |
|
|
21
|
+
| `fetch_list_by_name` | Fetch a list by its name and object type ID. |
|
|
22
|
+
| `batch_read_emails` | Retrieves a batch of emails from a CRM system using the "POST" method allowing optional filtering by archived status, and returns the results in a multipart response. |
|
|
23
|
+
| `get_email_by_id` | Retrieves detailed information about a specific email object in a CRM system, allowing optional filtering by properties, associations, and archival status. |
|
|
24
|
+
| `delete_email_by_id` | Deletes an email object identified by the specified emailId from a CRM system. |
|
|
25
|
+
| `update_email_by_id` | Updates specific properties of an existing email record in the CRM by its emailId using a PATCH request with JSON data. |
|
|
26
|
+
| `merge_emails_post` | Merges email records using the provided JSON payload, utilizing OAuth2 or private app authentication to manage contact data in the CRM system. |
|
|
27
|
+
| `archive_emails_batch` | Archives a batch of emails by sending a POST request to the "/crm/v3/objects/emails/batch/archive" endpoint with a JSON payload containing the email IDs to be archived. |
|
|
28
|
+
| `create_emails_batch_post` | Creates a batch of email objects in the CRM using the POST method, requiring JSON content and authorization through OAuth2 or private apps. |
|
|
29
|
+
| `update_emails_batch` | Updates multiple email objects in a CRM system using a batch operation via the POST method, returning status messages for each update. |
|
|
30
|
+
| `delete_email_gdpr_data` | Deletes a contact and associated data from the CRM in compliance with GDPR guidelines using the provided JSON payload, requiring the "crm.objects.contacts.write" permission. |
|
|
31
|
+
| `list_emails_with_filters` | Retrieves a paginated list of email objects with optional filtering by properties, associations, and archival status from the CRM email records. |
|
|
32
|
+
| `create_email` | Creates an email object in the CRM using the POST method, allowing for the association of metadata with the email and requiring authentication via OAuth2 or private apps to access the necessary permissions. |
|
|
33
|
+
| `search_emails_post` | Searches for email objects in a CRM system using specific criteria, returning relevant results. |
|
|
34
|
+
| `batch_read_products_post` | Retrieves a batch of product records from the CRM using the POST method, optionally filtering by archived status, and returns the results in a multi-status response. |
|
|
35
|
+
| `get_product_by_id` | Retrieves detailed information about a specific product by its ID, allowing optional filtering by properties, properties with history, associations, and archived status. |
|
|
36
|
+
| `delete_product_by_id` | Deletes a product from the CRM using its product ID. |
|
|
37
|
+
| `patch_product_by_id` | Updates specified properties of a product identified by productId using a JSON PATCH request. |
|
|
38
|
+
| `merge_products` | Merges two or more product records in a CRM system using the POST method, allowing for the consolidation of data into a single, unified record. |
|
|
39
|
+
| `archive_products_batch_post` | Archives a batch of products by ID using the POST method, accepting JSON-formatted request bodies and returning a 204 status upon successful execution. |
|
|
40
|
+
| `create_products_batch` | Creates multiple product records in a single batch request within the CRM system. |
|
|
41
|
+
| `update_products_batch` | Updates multiple product records in a batch using the HubSpot CRM v3 API and returns a status response indicating success or partial failure. |
|
|
42
|
+
| `delete_product_gdpr_data` | Performs a GDPR-compliant deletion of product records in the CRM using the POST method, requiring a JSON request body and authentication. |
|
|
43
|
+
| `list_products` | Retrieves a list of products from a CRM system using the "GET" method, allowing for optional filtering and customization of the returned data based on parameters such as limit, after, properties, properties with history, associations, and archived status. |
|
|
44
|
+
| `create_product` | Creates a new product in the CRM product library to manage the collection of goods and services offered by the company. |
|
|
45
|
+
| `search_products` | Searches for products in a CRM using a POST request to the "/crm/v3/objects/products/search" endpoint, allowing for filtering and retrieval of product data in a JSON format. |
|
|
46
|
+
| `get_pipeline_by_id_for_type` | Retrieves details about a specific CRM pipeline by its ID and object type, providing information about the stages and records within that pipeline. |
|
|
47
|
+
| `update_pipeline` | Updates the details of a specified pipeline for a given CRM object type by replacing its properties using the provided JSON payload. |
|
|
48
|
+
| `delete_pipeline_by_id_and_type` | Deletes a pipeline by its ID and object type in the CRM system using the specified security permissions, optionally validating references and deal stage usages before deletion. |
|
|
49
|
+
| `patch_pipeline_by_object_type` | Updates a CRM pipeline by specifying the object type and pipeline ID, allowing modifications to its configuration with optional validation checks for references and deal stage usage before deletion. |
|
|
50
|
+
| `get_pipeline_audit_by_object_type` | Retrieves an audit of all changes to a specific pipeline in HubSpot CRM, based on the provided object type and pipeline ID. |
|
|
51
|
+
| `get_pipeline_stages_by_object_type` | Retrieves the list of stages within a specified pipeline for a given object type in the CRM system. |
|
|
52
|
+
| `create_pipeline_stage` | Creates a new stage in a specified CRM pipeline using the POST method, requiring the object type and pipeline ID, and a JSON-formatted request body. |
|
|
53
|
+
| `list_pipelines_by_type` | Retrieves a list of pipelines for a specified object type in the CRM, allowing for the management and inspection of pipelines relevant to that object type. |
|
|
54
|
+
| `create_pipeline_by_object_type` | Creates a new pipeline for the specified CRM object type with the provided pipeline details. |
|
|
55
|
+
| `get_pipeline_stage_by_id` | Retrieves detailed information about a specific stage within a given pipeline and object type in the CRM system. |
|
|
56
|
+
| `update_pipeline_stage_by_id` | Updates a specific stage in a CRM pipeline using the provided JSON data and returns a status message. |
|
|
57
|
+
| `delete_pipeline_stage_by_id` | Deletes a specific stage from a pipeline for the given object type in the CRM system. |
|
|
58
|
+
| `update_pipeline_stage` | Updates a specific stage in a CRM pipeline using a PATCH request to the "/crm/v3/pipelines/{objectType}/{pipelineId}/stages/{stageId}" endpoint, requiring a JSON body with the necessary updates. |
|
|
59
|
+
| `batch_read_companies_post` | Reads a batch of companies by internal ID or unique property values using the HubSpot CRM API and returns the results in a JSON format. |
|
|
60
|
+
| `get_company_by_id` | Retrieves a specific company record by ID from the CRM system, optionally including additional properties, associations, and historical data, depending on the query parameters provided. |
|
|
61
|
+
| `delete_company_by_id` | Deletes a company by its ID using the DELETE method, requiring the company ID as a path parameter and authorization through OAuth2 or private apps with the "crm.objects.companies.write" permission. |
|
|
62
|
+
| `patch_company_by_id` | Updates a company in the CRM using the PATCH method, allowing partial modifications to the company's properties. |
|
|
63
|
+
| `merge_companies_post` | Merges two or more company records into a single unified record using the CRM API, requiring a JSON payload and appropriate write permissions. |
|
|
64
|
+
| `archive_companies_batch_post` | Archives a batch of companies using the HubSpot CRM API, requiring a JSON body and returning a 204 status on successful operation. |
|
|
65
|
+
| `create_companies_batch` | Creates multiple company records in batch using the HubSpot CRM API and returns a status message, requiring authorization via OAuth2 or private apps. |
|
|
66
|
+
| `update_companies_batch` | Updates multiple company records in a single request using the HubSpot CRM API. |
|
|
67
|
+
| `delete_company_gdpr_data` | Performs a GDPR-compliant deletion of a company record in the CRM, permanently removing the associated personal data. |
|
|
68
|
+
| `get_companies` | Retrieves a list of company records from a CRM system, allowing for filtering by properties, associations, and archived status. |
|
|
69
|
+
| `create_company` | Creates a new company record in the CRM system using the provided JSON data and returns a 201 status code upon successful creation. |
|
|
70
|
+
| `search_companies_post` | Searches for and retrieves company records and their associated properties in the CRM based on specified criteria. |
|
|
71
|
+
| `get_calling_app_settings` | Retrieves the calling settings for a specified application in HubSpot CRM using the provided app ID. |
|
|
72
|
+
| `update_calling_app_settings` | Configures calling settings for a specified application ID in the CRM using a POST request with a JSON body. |
|
|
73
|
+
| `delete_calling_app_settings_by_id` | Deletes the settings for a specified CRM application identified by `{appId}`, returning a successful response with no content if the operation is completed. |
|
|
74
|
+
| `update_calling_settings` | Updates specific settings for the calling extension of the specified application by applying partial modifications to its resource. |
|
|
75
|
+
| `get_calling_app_recording_settings` | Retrieves the recording settings for a calling extension with the specified `appId` in the HubSpot CRM. |
|
|
76
|
+
| `post_calling_app_recording_settings` | Configures call recording settings for a specific application ID in the CRM using a POST request to update the recording settings. |
|
|
77
|
+
| `update_recording_settings` | Modifies the recording settings for a specific CRM application using the provided JSON body. |
|
|
78
|
+
| `read_quotes_batch` | Reads a batch of quote objects by their internal IDs or unique property values, optionally including archived quotes, in a single POST request. |
|
|
79
|
+
| `get_quote_by_id` | Retrieves a specific sales quote by its ID, optionally including custom properties, property history, associations, and archived status, using the HubSpot CRM API. |
|
|
80
|
+
| `delete_quote_by_id` | Deletes a sales quote with the specified ID using the HubSpot CRM API, requiring "crm.objects.quotes.write" permission. |
|
|
81
|
+
| `update_quote` | Updates a quote object with the specified ID in the CRM system using partial modifications, requiring a JSON body with the changes and returning a status message upon success. |
|
|
82
|
+
| `merge_quotes` | Merges quote objects in a CRM system using the POST method, allowing for the integration of data from multiple quotes into a single unified quote. |
|
|
83
|
+
| `archive_quotes_batch` | Archives a batch of quotes by sending a POST request to the "/crm/v3/objects/quotes/batch/archive" endpoint, requiring a JSON body and authentication via OAuth2 or private apps with the "crm.objects.quotes.write" permission. |
|
|
84
|
+
| `create_quote_batch` | Creates a batch of sales quotes using the HubSpot CRM API, requiring a JSON body and returning a status message upon successful creation. |
|
|
85
|
+
| `update_quotes_batch` | Updates a batch of quote objects in the CRM system using a single POST request, returning a status code indicating success or partial failure. |
|
|
86
|
+
| `delete_quote_gdpr_data` | Performs a GDPR-compliant deletion of a quote object in the CRM system, permanently removing the associated personal data. |
|
|
87
|
+
| `get_quotes` | Retrieves a list of quotes from the CRM, allowing for optional filtering by limit, after, properties, properties with history, associations, and archived status. |
|
|
88
|
+
| `create_quote` | Creates a new quote in HubSpot using the CRM API and returns a status message upon successful creation. |
|
|
89
|
+
| `search_quotes` | Searches for quotes in a CRM system using specified criteria and returns the results, requiring authentication via OAuth2 or private apps with read permissions for quotes. |
|
|
90
|
+
| `batch_read_deals_post` | Reads a batch of deals from the CRM using the provided IDs and returns the specified properties, allowing for optional filtering by archived status. |
|
|
91
|
+
| `get_deal_by_id` | Retrieves a deal by its ID and returns its details, supporting optional parameters for specifying properties, associations, and archived status. |
|
|
92
|
+
| `delete_deal_by_id` | Deletes a specific deal by its ID from the CRM system. |
|
|
93
|
+
| `update_deal_by_id` | Updates an individual deal in the CRM by its record ID using the PATCH method. |
|
|
94
|
+
| `merge_deals` | Merges two or more deal records into a single master deal record, consolidating data and deleting duplicates in the CRM system. |
|
|
95
|
+
| `archive_deals_batch_post` | Archives a batch of deal records in the CRM by their IDs using the POST method. |
|
|
96
|
+
| `create_deals_batch` | Creates multiple deals in a CRM using a batch operation via the POST method, requiring a JSON body with deal data and appropriate permissions for writing deals. |
|
|
97
|
+
| `batch_update_deals` | Updates multiple deals in HubSpot CRM in a single operation using a POST request to "/crm/v3/objects/deals/batch/update", requiring a JSON body with deal identifiers and updates, and supports OAuth2 and private app authentication for the "crm.objects.deals.write" scope. |
|
|
98
|
+
| `post_deal_gdpr_delete` | Deletes a deal record in compliance with GDPR requirements using the provided JSON payload, requiring a valid OAuth2 or private app authentication with the necessary write permissions. |
|
|
99
|
+
| `list_deals` | Retrieves a list of CRM deal objects from HubSpot using the GET method, allowing optional filtering by parameters such as limit, after, properties, propertiesWithHistory, associations, and archived status. |
|
|
100
|
+
| `create_deal` | Creates a new deal object in the CRM using the HubSpot API, requiring a JSON payload and returning a status code indicating success. |
|
|
101
|
+
| `search_deals` | Searches and retrieves deal records in the CRM using filters and criteria provided in the request body. |
|
|
102
|
+
| `cancel_import_by_id` | Cancels an active import operation in a CRM system using the provided import ID. |
|
|
103
|
+
| `get_import_by_id` | Retrieves the status and details of a specific CRM import operation identified by the import ID. |
|
|
104
|
+
| `get_import_errors_by_id` | Retrieves a list of errors associated with a specific CRM import operation, using the import ID, and allows filtering by optional parameters such as "after" and "limit". |
|
|
105
|
+
| `get_schema_by_object_type` | Retrieves the schema definition for a specified CRM object type, including its properties and metadata. |
|
|
106
|
+
| `delete_schema_by_type` | Deletes the specified CRM object schema by its type, optionally including archived versions, to remove its definition from the system. |
|
|
107
|
+
| `patch_crm_schema_by_object_type` | Updates a custom CRM object schema in HubSpot using the PATCH method, allowing for partial modifications to the schema of a specified object type. |
|
|
108
|
+
| `create_object_type_association` | Creates a new association definition for the specified CRM object type to define relationships between that object and others. |
|
|
109
|
+
| `delete_schema_object_type_purge` | Purges a schema for a specific object type in the CRM system using the DELETE method, requiring the objectType as a path parameter and a custom write permission. |
|
|
110
|
+
| `delete_association_by_object_type_id` | Removes an association identified by the associationIdentifier from a CRM object schema of the specified objectType using the HubSpot API. |
|
|
111
|
+
| `list_schemas` | Retrieves a list of custom object schemas in the CRM, optionally filtering by archived status, using either legacy private apps or OAuth2 credentials for authentication. |
|
|
112
|
+
| `create_crm_schema` | Creates a new custom object schema in the CRM to define a new type of CRM record. |
|
|
113
|
+
| `archive_properties_batch_post` | Archives a batch of properties for a specified object type in CRM using a POST request. |
|
|
114
|
+
| `get_property_group` | Retrieves details of a specified property group for a given CRM object type. |
|
|
115
|
+
| `remove_property_group` | Deletes a property group identified by the given object type and group name from the CRM schema. |
|
|
116
|
+
| `update_property_group_by_identifier` | Modifies the properties of a specified group in a CRM object type using the PATCH method, requiring authentication and a JSON request body to update the group's properties. |
|
|
117
|
+
| `get_crm_property` | Retrieves the details of a specific property for a given CRM object type, optionally including archived properties and additional specified fields. |
|
|
118
|
+
| `delete_property_by_object_type` | Deletes a specified property of a given object type in the CRM system. |
|
|
119
|
+
| `patch_crm_property_by_name` | Updates the specified property of a given CRM object type by applying partial modifications using a JSON Patch request. |
|
|
120
|
+
| `batch_read_properties_by_object_type` | Performs a batch read operation on CRM properties for a specified object type using a POST request, returning the results in a batch format. |
|
|
121
|
+
| `create_batch_properties` | Creates multiple properties in batches for a specified object type in the CRM using a POST request to the "/crm/v3/properties/{objectType}/batch/create" endpoint. |
|
|
122
|
+
| `get_properties_by_object_type` | Retrieves a list of properties for a specified CRM object type using the HubSpot API, allowing for optional filtering by archived status and specific properties. |
|
|
123
|
+
| `create_property_schema` | Creates a new custom property for a specified CRM object type. |
|
|
124
|
+
| `get_property_groups_by_object_type` | Retrieves a list of groups for a specified object type in the CRM using the "GET" method at the path "/crm/v3/properties/{objectType}/groups". |
|
|
125
|
+
| `create_property_group` | Creates a new property group for the specified CRM object type to organize related properties within HubSpot records. |
|
|
126
|
+
| `get_owner_by_id` | Retrieves detailed information about a specific CRM owner by their ID using the HubSpot API. |
|
|
127
|
+
| `batch_create_timeline_events` | Creates multiple timeline events in a batch using the provided event templates and returns a response with the created events. |
|
|
128
|
+
| `get_timeline_event_template_by_id` | Retrieves a specific event template by its ID for an application in HubSpot CRM, using the provided app ID and event template ID. |
|
|
129
|
+
| `update_timeline_event_template_by_id` | Updates an existing event template in the HubSpot CRM timeline for a specific app, using the provided event template ID and app ID, and returns a status message. |
|
|
130
|
+
| `delete_event_template_by_id` | Deletes an event template with the specified `eventTemplateId` associated with the application identified by `appId` in a CRM system, returning a successful response with no content upon completion. |
|
|
131
|
+
| `create_event` | Creates a new timeline event in a CRM record based on an event template, adding custom event information to the timeline of a contact, company, or deal. |
|
|
132
|
+
| `create_token_template` | Creates a new token for an event template in the HubSpot CRM timeline using the provided JSON data. |
|
|
133
|
+
| `update_event_template_token` | Updates a specific token in an event template within a CRM timeline using the provided JSON data. |
|
|
134
|
+
| `delete_timeline_event_template_token` | Deletes a token by the specified name from an event template in the CRM timeline for a given application ID. |
|
|
135
|
+
| `get_timeline_event_detail_by_id` | Retrieves detailed information for a specific timeline event identified by its event template ID and event ID in the CRM. |
|
|
136
|
+
| `get_timeline_event_by_id` | Retrieves a specific timeline event by its event template ID and event ID, returning detailed information about that event in the CRM. |
|
|
137
|
+
| `get_timeline_event_templates_by_app_id` | Retrieves a list of event templates for a specified app ID in the HubSpot CRM API. |
|
|
138
|
+
| `create_timeline_event_template` | Creates a new event template for a specified application ID in HubSpot's CRM timeline using the provided JSON payload. |
|
|
139
|
+
| `get_timeline_event_render` | Retrieves and renders a specific timeline event from a CRM object using an event template and event ID, allowing for optional detailed rendering. |
|
|
140
|
+
| `batch_read_contacts_post` | Retrieves a batch of contacts from the CRM using the provided identifiers and properties, supporting optional filtering by archived status. |
|
|
141
|
+
| `get_contact_by_id` | Retrieves a contact by ID from the CRM, allowing for optional filtering by properties, properties with history, associations, and archived status. |
|
|
142
|
+
| `delete_contact_by_id` | Deletes a contact by its ID from the CRM system, permanently removing all associated content in compliance with GDPR, and requires the "crm.objects.contacts.write" permission. |
|
|
143
|
+
| `update_contact_by_id` | Updates an individual contact by its record ID using a PATCH request to the "/crm/v3/objects/contacts/{contactId}" endpoint, requiring a JSON body with the fields to be updated. |
|
|
144
|
+
| `merge_contacts` | Merges two or more duplicate contact records into a single record in the CRM system, retaining the most relevant data while discarding redundant information. |
|
|
145
|
+
| `archive_contacts_batch_post` | Archives a batch of contacts by ID using the HubSpot CRM API, returning a "204 No Content" response upon success. |
|
|
146
|
+
| `create_contacts_batch` | Creates a batch of contacts in HubSpot using the CRM API, requiring a JSON payload and OAuth2 or private app authentication. |
|
|
147
|
+
| `batch_update_contacts` | Updates multiple contact records in a single request by providing their IDs or unique property values, overwriting specified properties in batch. |
|
|
148
|
+
| `delete_contact_gdpr_data` | Permanently deletes a contact and all associated data from the CRM to comply with GDPR requirements. |
|
|
149
|
+
| `get_contacts` | Retrieves a list of contacts from a CRM system, allowing for optional filtering by limit, pagination, specific properties, property history, associations, and archived status. |
|
|
150
|
+
| `create_contact` | Creates a new contact in the CRM system using the provided JSON data and returns a successful creation response. |
|
|
151
|
+
| `search_contacts_post` | Searches for contact records in the CRM system based on specified criteria and returns matching contacts. |
|
|
152
|
+
| `batch_read_feedback_submissions` | Reads a batch of feedback submissions by sending a POST request, allowing for optional filtering by archived status, and returns the relevant data in JSON format. |
|
|
153
|
+
| `get_feedback_submission_by_id` | Retrieves detailed information about a specific feedback submission using its ID, with optional parameters to include properties, history, associations, and archived status. |
|
|
154
|
+
| `delete_feedback_submission_by_id` | Deletes a specific feedback submission identified by the provided `feedbackSubmissionId` from the CRM system. |
|
|
155
|
+
| `patch_feedback_submission_by_id` | Updates specific fields of a feedback submission by ID using partial modifications with a JSON request body. |
|
|
156
|
+
| `merge_feedback_submissions` | Merges feedback submission records using the POST method, requiring a JSON body and supporting OAuth2 and private apps for authentication. |
|
|
157
|
+
| `archive_feedback_submissions_batch` | Archives a batch of feedback submissions by ID using the HubSpot API and returns a status response with a 204 status code upon successful completion. |
|
|
158
|
+
| `create_feedback_submissions_batch` | Creates a batch of feedback submissions using the HubSpot API, allowing for the simultaneous creation of multiple feedback submissions. |
|
|
159
|
+
| `update_feedback_submissions_batch` | Updates multiple feedback submissions in batches using the HubSpot CRM API. |
|
|
160
|
+
| `post_feedback_submissions_gdpr_delete` | Permanently deletes feedback submissions and associated data to comply with GDPR regulations using the provided JSON body. |
|
|
161
|
+
| `get_feedback_submissions` | Retrieves a list of feedback submissions from HubSpot CRM, allowing for optional filtering by limit, pagination, specific properties, property history, associations, and archived status. |
|
|
162
|
+
| `create_feedback_submission` | Searches for feedback submissions using the HubSpot CRM API and returns relevant results. |
|
|
163
|
+
| `search_feedback_submissions` | Searches for feedback submissions in HubSpot CRM using the POST method, allowing developers to filter and retrieve specific feedback data. |
|
|
164
|
+
| `read_batch_objects` | Performs a batch read operation on CRM objects of the specified type, allowing for the retrieval of multiple records in a single request, with optional filtering by archived status. |
|
|
165
|
+
| `get_object_details` | Retrieves a specific CRM object record by its object type and ID, allowing for optional specification of properties, associations, and other query parameters. |
|
|
166
|
+
| `delete_object_by_id` | Deletes a specified CRM object of the given type and ID using the DELETE method. |
|
|
167
|
+
| `patch_object_by_id` | Updates a specific CRM object using the PATCH method by modifying its properties based on the provided JSON body. |
|
|
168
|
+
| `merge_objects` | Merges duplicate records of a specified object type into a single record using the provided JSON body. |
|
|
169
|
+
| `archive_batch_objects_by_type` | Archives a batch of objects of a specified type in CRM using the POST method, requiring a JSON body and returning a 204 status code upon successful archiving. |
|
|
170
|
+
| `batch_create_object_records` | Creates multiple records of a specified object type in a CRM system using a single POST request, supporting batch creation and returning a status message based on the outcome. |
|
|
171
|
+
| `update_batch_object` | Updates multiple records of a specified object type in a CRM system using a batch operation via the POST method. |
|
|
172
|
+
| `gdpr_delete_object` | Permanently deletes an object of the specified type from the CRM, adhering to GDPR guidelines for data removal, using the "POST" method with the object type specified in the path and additional details in the request body. |
|
|
173
|
+
| `list_objects_by_type` | Retrieves a list of records for a specified CRM object type with optional filtering, pagination, property selection, association inclusion, and archived status. |
|
|
174
|
+
| `create_object_by_type` | Creates a new object of the specified type in a CRM system using the provided JSON data, returning a status message upon successful creation. |
|
|
175
|
+
| `search_objects_by_type_post` | Searches for objects of a specified type within a CRM using the provided JSON payload, filtering by various criteria to return a list of matching objects. |
|
|
176
|
+
| `get_video_conferencing_settings_by_app_id` | Retrieves the video conferencing settings for a specific application identified by the provided appId using the HubSpot API. |
|
|
177
|
+
| `update_video_conferencing_settings_by_app_id` | Updates video conferencing settings for a specific application identified by its `appId` using the provided JSON data. |
|
|
178
|
+
| `delete_video_conf_settings_by_app_id` | Deletes the video conferencing settings for the specified app identified by the appId. |
|
|
179
|
+
| `batch_read_tickets_post` | Retrieves and formats a batch of tickets from HubSpot CRM using a POST request to the "/crm/v3/objects/tickets/batch/read" endpoint. |
|
|
180
|
+
| `get_ticket_by_id` | Retrieves a specific ticket record by ID from the CRM, optionally including specified properties, property history, associations, and archived status. |
|
|
181
|
+
| `delete_ticket_by_id` | Deletes a ticket by its ID using the CRM API. |
|
|
182
|
+
| `update_ticket` | Updates an individual ticket by its ID using the HubSpot CRM API, allowing modification of specific fields via a JSON payload. |
|
|
183
|
+
| `merge_tickets` | Merges two or more tickets into a single ticket in the CRM system using the POST method, allowing for the consolidation of related customer service requests. |
|
|
184
|
+
| `archive_tickets_batch_post` | Archives a batch of tickets by ID using the HubSpot API and returns a status message. |
|
|
185
|
+
| `create_tickets_batch` | Creates a batch of tickets in the CRM using the HubSpot API and returns a status message. |
|
|
186
|
+
| `update_tickets_batch` | Updates multiple tickets in a single request using the HubSpot CRM API, returning a status message indicating the success or partial success of the operation. |
|
|
187
|
+
| `delete_ticket_gdpr` | Permanently deletes a ticket and associated data in compliance with GDPR guidelines using the POST method. |
|
|
188
|
+
| `get_tickets` | Retrieves a list of tickets from the CRM, allowing for filtering by limit, after cursor, specific properties, properties with history, associations, and archived status. |
|
|
189
|
+
| `create_ticket` | Creates a new ticket object in the CRM using the HubSpot API, allowing for the management of customer service requests. |
|
|
190
|
+
| `search_tickets_post` | Searches and filters ticket records within the CRM system based on specified criteria, returning matching ticket results. |
|
|
191
|
+
| `batch_read_line_items_post` | Retrieves a batch of line items by internal ID or unique property values using the HubSpot CRM API. |
|
|
192
|
+
| `get_line_item_by_id` | Retrieves a specific line item by its ID from the CRM, optionally including additional properties, associations, and history, using the CRM API with appropriate permissions. |
|
|
193
|
+
| `delete_line_item_by_id` | Deletes a line item from HubSpot CRM using its ID, requiring the "crm.objects.line_items.write" permission. |
|
|
194
|
+
| `patch_line_item_by_id` | Updates properties of a specific line item in the CRM system using a partial JSON patch request. |
|
|
195
|
+
| `merge_line_items_post` | Merges duplicate line items into a single instance using the specified parameters via the POST method. |
|
|
196
|
+
| `archive_line_items_batch_post` | Archives a batch of line items by their IDs in the CRM using a POST request. |
|
|
197
|
+
| `create_line_items_batch` | Creates a batch of line items using the HubSpot API and returns a status message upon successful creation. |
|
|
198
|
+
| `batch_update_line_items` | Updates a batch of line items using their internal IDs or unique property values via the POST method, requiring authentication with the "crm.objects.line_items.write" scope. |
|
|
199
|
+
| `gdpr_delete_line_items` | Deletes line item records from the CRM to comply with GDPR requirements, using the POST method with OAuth2 or private app authentication. |
|
|
200
|
+
| `list_line_items` | Retrieves a paginated list of line items with optional filters for properties, associations, and archival status in the CRM. |
|
|
201
|
+
| `create_line_item` | Creates a new line item in HubSpot CRM using the POST method, allowing you to add products or services to deals and quotes. |
|
|
202
|
+
| `search_line_items` | Searches and retrieves line items and their associated properties in the CRM based on specified filter criteria. |
|
|
203
|
+
| `get_crm_imports` | Retrieves a list of CRM import operations using the HubSpot API, allowing optional filtering by date and limit on the number of results returned. |
|
|
204
|
+
| `create_crm_import` | Imports data into a HubSpot CRM using a POST request with a multipart/form-data payload, allowing bulk creation or update of records via uploaded files such as CSV or Excel. |
|
|
205
|
+
| `get_owners_list` | Retrieves a list of CRM owners using the "GET" method, allowing optional filtering by email, pagination, and archived status, and returns a response with owner details. |
|
|
206
|
+
| `get_association_types_by_object_types` | Retrieves the association types between two specified object types in HubSpot CRM using the "GET" method. |
|
|
207
|
+
| `get_marketing_campaigns` | Retrieves a list of marketing campaigns with optional filtering by name, sorting, and limiting results. |
|
|
208
|
+
| `create_marketing_campaigns` | Creates a new marketing campaign using the provided JSON data and returns a status message upon successful creation. |
|
|
209
|
+
| `batch_read_campaigns_post` | Retrieves a batch of campaign data from the marketing API, filtering by optional start and end dates and specifying properties to include, using JSON-formatted request body. |
|
|
210
|
+
| `update_campaigns_batch` | Updates multiple marketing campaigns in a batch using the POST method, requiring a JSON body and authentication via OAuth2 or private apps with "marketing.campaigns.read" permissions. |
|
|
211
|
+
| `get_campaign_metrics` | Retrieves campaign metrics for a specified campaign GUID, optionally filtering by start and end dates. |
|
|
212
|
+
| `get_campaign_asset_by_type` | Retrieves assets of a specified type for a given marketing campaign, supporting optional filtering by date range and pagination. |
|
|
213
|
+
| `archive_campaigns_batch` | Archives a batch of marketing campaigns using the HubSpot API, requiring a JSON request body and returning a 204 status upon successful completion. |
|
|
214
|
+
| `update_campaign_asset` | Updates a specific asset of a given type within a marketing campaign identified by campaignGuid. |
|
|
215
|
+
| `delete_campaign_asset_by_id` | Deletes a specific asset from a marketing campaign using the provided campaign GUID, asset type, and asset ID. |
|
|
216
|
+
| `get_campaign_revenue_report` | Retrieves revenue reports for a specific marketing campaign using the provided campaign GUID, with optional filtering by attribution model and date range. |
|
|
217
|
+
| `create_campaigns_batch` | Creates multiple marketing campaigns in a single operation using the "POST" method, accepting a JSON body with campaign details and returning a status message upon successful creation. |
|
|
218
|
+
| `get_campaign_budget_totals` | Retrieves the total budget details for a marketing campaign using the campaign's GUID. |
|
|
219
|
+
| `get_campaign_by_guid` | Retrieves detailed information about a specific marketing campaign identified by its campaignGuid, optionally filtered by date range and selected properties. |
|
|
220
|
+
| `delete_campaign_by_guid` | Deletes a marketing campaign using the provided campaign GUID and returns a 204 No Content response. |
|
|
221
|
+
| `patch_campaign_by_guid` | Updates specified properties of a marketing campaign identified by the campaignGuid using a JSON patch document. |
|
|
222
|
+
| `get_campaign_contacts_report_by_type` | Retrieves a report of contacts of a specified type for a marketing campaign, allowing optional filtering by start and end dates and pagination. |
|
|
223
|
+
| `list_email_statistics` | Retrieves email statistics for a specified time range and optional email IDs and properties using the GET method. |
|
|
224
|
+
| `create_ab_test_email_variation` | Creates a variation for an A/B test email using the POST method and returns a successful creation status. |
|
|
225
|
+
| `get_email_statistics_histogram` | Retrieves histogram statistics for marketing emails filtered by optional parameters such as interval, time range, and specific email IDs. |
|
|
226
|
+
| `get_email_ab_test_variation` | Retrieves the variation for an A/B test associated with a specific email by its ID using the GET method. |
|
|
227
|
+
| `reset_email_draft_by_id` | Resets the draft status of an email using the specified email ID. |
|
|
228
|
+
| `restore_email_revision_to_draft` | Restores a specified email revision to draft status by email ID and revision ID. |
|
|
229
|
+
| `get_email_draft_by_id` | Retrieves the draft of an email with the specified `{emailId}` using the marketing API. |
|
|
230
|
+
| `update_email_draft_by_id` | Updates a draft email identified by the specified emailId using the provided JSON data. |
|
|
231
|
+
| `get_email_revisions` | Get a list of revisions for a specified marketing email, optionally filtered by date range and limited in number. |
|
|
232
|
+
| `get_email_revision_by_id` | Retrieves a specific revision of an email identified by the provided email ID and revision ID using the GET method. |
|
|
233
|
+
| `clone_email` | Clones a marketing email using the POST method at the "/marketing/v3/emails/clone" endpoint, creating a duplicate email with the same properties as the original but with a unique ID. |
|
|
234
|
+
| `list_marketing_emails` | Retrieves a list of marketing emails with optional filtering, sorting, pagination, and inclusion of statistics. |
|
|
235
|
+
| `create_email_marketing_campaign` | Creates a new email resource in the marketing system using the provided JSON data and returns a success response upon creation. |
|
|
236
|
+
| `restore_email_revision` | Restores a specific email revision using the provided email ID and revision ID via the POST method. |
|
|
237
|
+
| `get_email_by_id_marketing` | Retrieves detailed information about a specific email by its ID, optionally including statistics, selected properties, and archived status. |
|
|
238
|
+
| `delete_email_by_id_marketing` | Deletes the specified marketing email by its emailId, optionally archiving it, and returns a 204 No Content status on success. |
|
|
239
|
+
| `patch_email_by_id` | Updates an email resource identified by `{emailId}` with partial modifications using JSON in the request body and optionally sets its archived status. |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .app import HubspotApp
|