[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"footer-description":3,"footer-primary":5,"footer-secondary":95,"header-nav":121,"header-nav-data":260,"github-stars":262,"dfd79d2b-7af5-4cdb-aa94-3f73de97ebd8":366,"site-banner":373,"74634853-196b-4ce3-b256-4534c054838f":377,"8f849cd0-a47b-4e32-bb19-b478973c90f7":406,"hubspot":412,"358b0659-1f05-4427-bd1c-4bc03a43c182":455,"1b444c23-b593-4391-9410-4ca5d2c7a7cb":462,"9df3f40e-6272-4ec6-a0d7-cc29265e087c":466},{"description":4},"\u003Cp>A composable backend to build your Headless CMS, BaaS, and more.&nbsp;\u003C/p>",{"items":6},[7,31,51,71],{"id":8,"title":9,"url":10,"page":10,"children":11},"522e608a-77b0-4333-820d-d4f44be2ade1","Solutions",null,[12,17,22,27],{"id":13,"title":14,"url":10,"page":15},"fcafe85a-a798-4710-9e7a-776fe413aae5","Headless CMS",{"permalink":16},"/solutions/headless-cms",{"id":18,"title":19,"url":10,"page":20},"79972923-93cf-4777-9e32-5c9b0315fc10","Backend-as-a-Service",{"permalink":21},"/solutions/backend-as-a-service",{"id":23,"title":24,"url":10,"page":25},"0fa8d0c1-7b64-4f6f-939d-d7fdb99fc407","Product Information",{"permalink":26},"/solutions/product-information-management",{"id":28,"title":29,"url":30,"page":10},"63946d54-6052-4780-8ff4-91f5a9931dcc","100+ Things to Build","https://directus.io/blog/100-tools-apps-and-platforms-you-can-build-with-directus",{"id":32,"title":33,"url":10,"page":10,"children":34},"8ab4f9b1-f3e2-44d6-919b-011d91fe072f","Resources",[35,39,43,47],{"id":36,"title":37,"url":38,"page":10},"f951fb84-8777-4b84-9e91-996fe9d25483","Documentation","https://docs.directus.io",{"id":40,"title":41,"url":42,"page":10},"366febc7-a538-4c08-a326-e6204957f1e3","Guides","https://docs.directus.io/guides/",{"id":44,"title":45,"url":46,"page":10},"aeb9128e-1c5f-417f-863c-2449416433cd","Community","https://directus.chat",{"id":48,"title":49,"url":50,"page":10},"da1c2ed8-0a77-49b0-a903-49c56cb07de5","Release Notes","https://github.com/directus/directus/releases",{"id":52,"title":53,"url":10,"page":10,"children":54},"d61fae8c-7502-494a-822f-19ecff3d0256","Support",[55,59,63,67],{"id":56,"title":57,"url":58,"page":10},"8c43c781-7ebd-475f-a931-747e293c0a88","Issue Tracker","https://github.com/directus/directus/issues",{"id":60,"title":61,"url":62,"page":10},"d77bb78e-cf7b-4e01-932a-514414ba49d3","Feature Requests","https://github.com/directus/directus/discussions?discussions_q=is:open+sort:top",{"id":64,"title":65,"url":66,"page":10},"4346be2b-2c53-476e-b53b-becacec626a6","Community Chat","https://discord.com/channels/725371605378924594/741317677397704757",{"id":68,"title":69,"url":70,"page":10},"26c115d2-49f7-4edc-935e-d37d427fb89d","Cloud Dashboard","https://directus.cloud",{"id":72,"title":73,"url":10,"page":10,"children":74},"49141403-4f20-44ac-8453-25ace1265812","Organization",[75,80,86,90],{"id":76,"title":77,"url":78,"page":79},"1f36ea92-8a5e-47c8-914c-9822a8b9538a","About","/about",{"permalink":78},{"id":81,"title":82,"url":83,"page":84},"b84bf525-5471-4b14-a93c-225f6c386005","Careers","#",{"permalink":85},"/careers",{"id":87,"title":88,"url":89,"page":10},"86aabc3a-433d-434b-9efa-ad1d34be0a34","Brand Assets","https://drive.google.com/drive/folders/1lBOTba4RaA5ikqOn8Ewo4RYzD0XcymG9?usp=sharing",{"id":91,"title":92,"url":10,"page":93},"8d2fa1e3-198e-4405-81e1-2ceb858bc237","Contact",{"permalink":94},"/contact",{"items":96},[97,103,109,115],{"id":98,"title":99,"url":10,"page":100,"children":102},"8a1b7bfa-429d-4ffc-a650-2a5fdcf356da","Cloud Policies",{"permalink":101},"/cloud-policies",[],{"id":104,"title":105,"url":83,"page":106,"children":108},"bea848ef-828f-4306-8017-6b00ec5d4a0c","License",{"permalink":107},"/bsl",[],{"id":110,"title":111,"url":83,"page":112,"children":114},"4e914f47-4bee-42b7-b445-3119ee4196ef","Terms",{"permalink":113},"/terms",[],{"id":116,"title":117,"url":83,"page":118,"children":120},"ea69eda6-d317-4981-8421-fcabb1826bfd","Privacy",{"permalink":119},"/privacy",[],{"items":122},[123,185,241,246,253],{"id":124,"title":125,"url":10,"callout":126,"callout_title":127,"children_title":128,"page":10,"children":129},"62c04c6c-5793-4702-8ed1-73dd563fd605","Product","8f849cd0-a47b-4e32-bb19-b478973c90f7","Project Showcase","Use Cases and Features",[130,136,142,149,154,162,170,178],{"id":131,"title":14,"url":132,"description":133,"image":10,"icon":134,"page":135},"e7d7d5ed-89b1-4455-8b4a-8ae92c70e3a0","/solutions/headless-cms/","Manage and deliver content with ease","code_blocks",{"permalink":16},{"id":137,"title":19,"url":138,"description":139,"image":10,"icon":140,"page":141},"60bdefd9-95e6-45a3-9f81-4748d07c59d3","/solutions/backend-as-a-service/","Build and ship applications faster","speed",{"permalink":21},{"id":143,"title":144,"url":145,"description":146,"image":10,"icon":147,"page":148},"5f9aebeb-4f89-445e-9850-5b1261a2743c","Headless Commerce","/solutions/product-information-management/","A single source of truth for products","shopping_cart_checkout",{"permalink":26},{"id":150,"title":151,"url":30,"description":152,"image":10,"icon":153,"page":10},"49e46134-80be-470e-8c73-afb1417fa9b6","100+ More Use Cases","Build anything (or everything)","lightbulb",{"id":155,"title":156,"url":157,"description":158,"image":10,"icon":159,"page":160},"a589ac77-a5ce-45c5-a054-e43111e19158","Instant APIs","/products/connect/","Connect a database, get REST + GraphQL APIs","api",{"permalink":161},"/toolkit/connect",{"id":163,"title":164,"url":165,"description":166,"image":10,"icon":167,"page":168},"4a0f129a-c546-4493-b0a9-306e51692e90","Granular Policy-Based Auth","/products/auth/","Provide secure, autonomous data access","lock_person",{"permalink":169},"/toolkit/auth",{"id":171,"title":172,"url":173,"description":174,"image":10,"icon":175,"page":176},"f9250f2c-93a4-4108-80db-011bbe391ecf","Visual Automation Builder","/products/automate/","Automate content and data workflows with ease","build",{"permalink":177},"/toolkit/automate",{"id":179,"title":180,"url":10,"description":181,"image":10,"icon":182,"page":183},"f1ae4e40-5b05-42a4-9cd3-33dda35cc939","50+ More Features","Get everything you need out-of-the-box","auto_fix",{"permalink":184},"/features",{"id":186,"title":33,"url":10,"callout":187,"callout_title":188,"children_title":189,"page":10,"children":190},"2f6ad0d1-6dd3-4f17-b5c8-9f2abf71409a","dfd79d2b-7af5-4cdb-aa94-3f73de97ebd8","Watch Directus TV","Learn More",[191,198,205,211,218,224,230,235],{"id":192,"title":193,"url":194,"description":195,"image":10,"icon":196,"page":197},"0a3bf9f5-1ef2-43f4-bc09-7ff7488241c5","Blog","/blog","Read our latest articles and guides","library_books",{"permalink":194},{"id":199,"title":200,"url":83,"description":201,"image":10,"icon":202,"page":203},"165e3dc2-e51b-4456-8382-99c5775b0412","Case Studies","Case studies and success stories","magic_button",{"permalink":204},"/case-studies",{"id":206,"title":207,"url":208,"description":209,"image":10,"icon":210,"page":10},"5ae324b6-bf44-4c21-95ad-e6dc0c1c1f40","Community Forum","https://community.directus.io/","Questions and conversations","comment",{"id":212,"title":213,"url":83,"description":214,"image":10,"icon":215,"page":216},"b1db03f0-e537-490e-8c0f-c61c401d1024","Agency Directory","Browse our list of agency partners ","handshake",{"permalink":217},"/agency-directory",{"id":219,"title":220,"url":78,"description":221,"image":10,"icon":222,"page":223},"991731c8-eb40-4eec-85a5-6e977bcd7ec9","About Us","Learn more about Directus and the team","supervised_user_circle",{"permalink":78},{"id":225,"title":226,"url":227,"description":228,"image":10,"icon":229,"page":10},"52aebf38-b3ad-4a27-807d-ce52398cd509","Wall of Love","https://testimonial.to/directus/all","See what others are saying about us","heart_plus",{"id":231,"title":92,"url":83,"description":232,"image":10,"icon":233,"page":234},"a86eca65-d5ae-4263-b7d9-4f1a1c50a0b1","Have a general inquiry or question for us?","mark_email_unread",{"permalink":94},{"id":236,"title":53,"url":10,"description":237,"image":10,"icon":238,"page":239},"28225825-8d41-4809-9032-192fbf5c6e5d","Reach out to Directus support","support",{"permalink":240},"/support",{"id":242,"title":243,"url":244,"callout":10,"callout_title":10,"children_title":10,"page":10,"children":245},"a3f1275d-b088-4b11-99bf-143fcbf39104","Developers","/docs",[],{"id":247,"title":248,"url":249,"callout":10,"callout_title":10,"children_title":10,"page":250,"children":252},"fae8fded-d2e2-468e-a68b-82abec7a7225","Enterprise","/solutions/enterprise/",{"permalink":251},"/solutions/enterprise",[],{"id":254,"title":255,"url":256,"callout":10,"callout_title":10,"children_title":10,"page":257,"children":259},"5c5e2fbc-49fd-4e41-a71e-e4f8db2b00cf","Pricing","/pricing/",{"permalink":258},"/pricing/self-hosted",[],{"header_cta_buttons":261},"74634853-196b-4ce3-b256-4534c054838f",{"id":263,"node_id":264,"name":265,"full_name":266,"private":267,"owner":268,"html_url":285,"description":286,"fork":267,"url":287,"forks_url":288,"keys_url":289,"collaborators_url":290,"teams_url":291,"hooks_url":292,"issue_events_url":293,"events_url":294,"assignees_url":295,"branches_url":296,"tags_url":297,"blobs_url":298,"git_tags_url":299,"git_refs_url":300,"trees_url":301,"statuses_url":302,"languages_url":303,"stargazers_url":304,"contributors_url":305,"subscribers_url":306,"subscription_url":307,"commits_url":308,"git_commits_url":309,"comments_url":310,"issue_comment_url":311,"contents_url":312,"compare_url":313,"merges_url":314,"archive_url":315,"downloads_url":316,"issues_url":317,"pulls_url":318,"milestones_url":319,"notifications_url":320,"labels_url":321,"releases_url":322,"deployments_url":323,"created_at":324,"updated_at":325,"pushed_at":326,"git_url":327,"ssh_url":328,"clone_url":329,"svn_url":285,"homepage":330,"size":331,"stargazers_count":332,"watchers_count":332,"language":333,"has_issues":334,"has_projects":334,"has_downloads":334,"has_wiki":267,"has_pages":267,"has_discussions":334,"forks_count":335,"mirror_url":10,"archived":267,"disabled":267,"open_issues_count":336,"license":337,"allow_forking":334,"is_template":267,"web_commit_signoff_required":267,"has_pull_requests":334,"pull_request_creation_policy":342,"topics":343,"visibility":284,"forks":335,"open_issues":336,"watchers":332,"default_branch":362,"temp_clone_token":10,"custom_properties":363,"organization":364,"network_count":335,"subscribers_count":365},7122594,"MDEwOlJlcG9zaXRvcnk3MTIyNTk0","directus","directus/directus",false,{"login":265,"id":269,"node_id":270,"avatar_url":271,"gravatar_id":272,"url":273,"html_url":274,"followers_url":275,"following_url":276,"gists_url":277,"starred_url":278,"subscriptions_url":279,"organizations_url":280,"repos_url":281,"events_url":282,"received_events_url":283,"type":73,"user_view_type":284,"site_admin":267},15967950,"MDEyOk9yZ2FuaXphdGlvbjE1OTY3OTUw","https://avatars.githubusercontent.com/u/15967950?v=4","","https://api.github.com/users/directus","https://github.com/directus","https://api.github.com/users/directus/followers","https://api.github.com/users/directus/following{/other_user}","https://api.github.com/users/directus/gists{/gist_id}","https://api.github.com/users/directus/starred{/owner}{/repo}","https://api.github.com/users/directus/subscriptions","https://api.github.com/users/directus/orgs","https://api.github.com/users/directus/repos","https://api.github.com/users/directus/events{/privacy}","https://api.github.com/users/directus/received_events","public","https://github.com/directus/directus","The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.","https://api.github.com/repos/directus/directus","https://api.github.com/repos/directus/directus/forks","https://api.github.com/repos/directus/directus/keys{/key_id}","https://api.github.com/repos/directus/directus/collaborators{/collaborator}","https://api.github.com/repos/directus/directus/teams","https://api.github.com/repos/directus/directus/hooks","https://api.github.com/repos/directus/directus/issues/events{/number}","https://api.github.com/repos/directus/directus/events","https://api.github.com/repos/directus/directus/assignees{/user}","https://api.github.com/repos/directus/directus/branches{/branch}","https://api.github.com/repos/directus/directus/tags","https://api.github.com/repos/directus/directus/git/blobs{/sha}","https://api.github.com/repos/directus/directus/git/tags{/sha}","https://api.github.com/repos/directus/directus/git/refs{/sha}","https://api.github.com/repos/directus/directus/git/trees{/sha}","https://api.github.com/repos/directus/directus/statuses/{sha}","https://api.github.com/repos/directus/directus/languages","https://api.github.com/repos/directus/directus/stargazers","https://api.github.com/repos/directus/directus/contributors","https://api.github.com/repos/directus/directus/subscribers","https://api.github.com/repos/directus/directus/subscription","https://api.github.com/repos/directus/directus/commits{/sha}","https://api.github.com/repos/directus/directus/git/commits{/sha}","https://api.github.com/repos/directus/directus/comments{/number}","https://api.github.com/repos/directus/directus/issues/comments{/number}","https://api.github.com/repos/directus/directus/contents/{+path}","https://api.github.com/repos/directus/directus/compare/{base}...{head}","https://api.github.com/repos/directus/directus/merges","https://api.github.com/repos/directus/directus/{archive_format}{/ref}","https://api.github.com/repos/directus/directus/downloads","https://api.github.com/repos/directus/directus/issues{/number}","https://api.github.com/repos/directus/directus/pulls{/number}","https://api.github.com/repos/directus/directus/milestones{/number}","https://api.github.com/repos/directus/directus/notifications{?since,all,participating}","https://api.github.com/repos/directus/directus/labels{/name}","https://api.github.com/repos/directus/directus/releases{/id}","https://api.github.com/repos/directus/directus/deployments","2012-12-12T01:35:36Z","2026-04-15T04:20:19Z","2026-04-14T21:58:02Z","git://github.com/directus/directus.git","git@github.com:directus/directus.git","https://github.com/directus/directus.git","https://directus.io",439603,34792,"TypeScript",true,4701,388,{"key":338,"name":339,"spdx_id":340,"url":10,"node_id":341},"other","Other","NOASSERTION","MDc6TGljZW5zZTA=","all",[159,344,345,346,347,348,265,349,350,351,352,353,354,355,356,357,358,359,360,361],"app","cms","composable","data-visualization","database","graphql","headless-cms","javascript","mariadb","mssql","mysql","no-code","node","postgresql","sql","sqlite","typescript","vue","main",{},{"login":265,"id":269,"node_id":270,"avatar_url":271,"gravatar_id":272,"url":273,"html_url":274,"followers_url":275,"following_url":276,"gists_url":277,"starred_url":278,"subscriptions_url":279,"organizations_url":280,"repos_url":281,"events_url":282,"received_events_url":283,"type":73,"user_view_type":284,"site_admin":267},327,{"id":187,"title":367,"description":368,"image":369,"external_url":370,"icon":371,"badge":372,"page":10,"resource":10},"Directus TV","Go down the rabbit hole with hours of original video content from our team. ","ab70faf5-fc28-4608-a7e7-74fd4f020a9d","/tv","connected_tv","Video",{"id":374,"icon":371,"content":375,"link":376},"812bf73d-ebfb-4246-9538-937a09a0c795","Learn more about our native MCP","https://directus.io/mcp",{"alignment":378,"style":379,"experiment_enabled":267,"experiment":10,"experiment_variant":380,"buttons":383,"variants":393},"center","default",{"id":381,"key":382,"experiment":10},"8c4951b4-a6f9-4c06-9f71-fd39a3bdad1e","control",[384,387,390],{"id":385,"block_button_id":386},15,"358b0659-1f05-4427-bd1c-4bc03a43c182",{"id":388,"block_button_id":389},16,"9df3f40e-6272-4ec6-a0d7-cc29265e087c",{"id":391,"block_button_id":392},232,"1b444c23-b593-4391-9410-4ca5d2c7a7cb",[394],{"id":395,"alignment":378,"style":379,"buttons":396,"experiment_variant":403},"e1885d45-3119-41a3-8294-3cd796ea6f02",[397,400],{"id":398,"block_button_id":399},203,"ade37731-147d-48c4-864a-cec007576362",{"id":401,"block_button_id":402},202,"1cb4e89f-f7de-4b46-bbb8-080191517a72",{"id":404,"key":405},"66d2be4f-2492-4944-8060-039c15515918","variant",{"id":126,"title":407,"description":408,"image":409,"external_url":10,"icon":10,"badge":10,"page":410,"resource":10},"Built With Directus","See what everyone's been building with Directus","e658de72-fb08-4ed2-8029-215c712c789e",{"permalink":411},"/built-with-directus",{"metadata":10,"logo":413,"helpful_resources":414,"extensions":418,"date_updated":420,"user_updated":421,"date_created":422,"user_created":423,"sort":10,"id":424,"content":425,"website":426,"status":427,"category":428,"description":429,"slug":430,"name":431,"external_resources":432,"extensionDetails":433},"43365be7-d513-490b-980f-e58ce80f3706",[415],{"title":416,"url":417},"HubSpot API Documentation","https://developers.hubspot.com/docs/api/overview",[419],"@directus-labs/hubspot-operation","2025-07-30T17:40:17.267Z","1a9ab95a-93bc-4908-af85-0d42bb6e6aa6","2025-07-11T14:29:17.381Z","1cd0a355-b103-477d-9375-61e88f3110f8","6089f58d-d73f-4121-a3e0-7e47d5ffefe5","\u003Cp>HubSpot is a leading CRM platform designed to help businesses manage customer relationships, automate marketing, and oversee sales activities all in one place.\u003C/p>\n\u003Cp>With a strong focus on connecting data, content, and workflows, HubSpot is a go-to solution for companies looking to keep their teams aligned and their marketing efforts organized.\u003C/p>\n\u003Cp>For teams working with content and data in Directus, the HubSpot integration makes it easy to sync CMS content directly with your HubSpot CRM. You can automatically push new leads, update contact records, and trigger marketing actions based on changes in your Directus data. This tight connection means you can manage contacts, companies, activities, and deals in HubSpot using the content and data you already have in Directus.\u003C/p>\n\u003Cp>With the \"@directus-labs/hubspot-operation\" extension, you can automate common tasks like syncing content updates or sending data from Directus into HubSpot&rsquo;s contact management tools. This saves time and reduces manual data entry, helping you keep your CRM and content in sync while making sure your marketing and sales teams always have up-to-date information to work with.\u003C/p>\n\u003Cp>If you&rsquo;re looking to connect your content workflows with robust CRM and marketing automation, integrating HubSpot with Directus gives you powerful options for data-driven marketing, lead management, and content synchronization.\u003C/p>","https://www.hubspot.com","published","CRM","Sync your CMS content with HubSpot CRM, automate marketing workflows, and manage companies, contacts, activities, and deals","hubspot","HubSpot",[],[434],{"description":435,"featured_image":436,"formatted_description":435,"formatted_name":437,"host_version":438,"id":439,"images":440,"last_updated":441,"name":419,"published_at":441,"publisher":442,"readme":451,"recent_downloads_30_days":452,"recent_downloads_7_days":452,"sandbox":334,"total_downloads":453,"type":454},"Hubspot API operation for managing companies, contacts, activities, and deals.","https://raw.githubusercontent.com/directus-labs/extensions/main/packages/hubspot-operation/docs/hubspot-operation.jpg","Hubspot Operation","^10.0.0 || ^11.0.0","241a517a-5266-4328-8b07-59d3d4670fa6",[436],1734520452,{"github_avatar_url":443,"github_bio":444,"github_blog":445,"github_company":446,"github_location":447,"github_name":448,"github_username":449,"id":450,"username":449,"verified":334},"https://avatars.githubusercontent.com/u/804683?v=4","(╯°□°）╯︵ TABLEFLIP","http://elsmore.me","@DigitalSpeed","UK","Mike Elsmore","ukmadlz","74ce2e77-733a-4e9a-b96d-93bf6264f622","# HubSpot API Operation\n\nThe HubSpot Operation allows you to integrate their API into Directus flows.\n\n![Hubspot API Operation](https://raw.githubusercontent.com/directus-labs/extensions/main/packages/hubspot-operation/docs/hubspot-operation.jpg)\n\n## Endpoints\n\n- [`/account-info/v3/activity/audit-logs`](https://developers.hubspot.com/beta-docs/reference/api/settings/account-activity-api)\n- [`/account-info/v3/activity/login`](https://developers.hubspot.com/beta-docs/reference/api/settings/account-activity-api#get-%2Faccount-info%2Fv3%2Factivity%2Flogin)\n- [`/account-info/v3/activity/security`](https://developers.hubspot.com/beta-docs/reference/api/settings/account-activity-api#get-%2Faccount-info%2Fv3%2Factivity%2Fsecurity)\n- [`/crm/v3/objects/contacts`](https://developers.hubspot.com/beta-docs/reference/api/crm/objects/contacts)\n- [`/crm/v3/objects/communications`](https://developers.hubspot.com/beta-docs/reference/api/crm/objects/communications)\n- [`/crm/v3/objects/companies`](https://developers.hubspot.com/beta-docs/reference/api/crm/objects/companies)\n- [`/crm/v3/objects/contacts`](https://developers.hubspot.com/beta-docs/reference/api/crm/objects/contacts)\n- [`/crm/v3/objects/deals`](https://developers.hubspot.com/beta-docs/reference/api/crm/objects/deals)\n- [`/crm/v3/objects/email`](https://developers.hubspot.com/beta-docs/reference/api/crm/objects/email)\n- [`/crm/v3/objects/leads`](https://developers.hubspot.com/beta-docs/reference/api/crm/objects/leads)\n- [`/crm/v3/objects/meetings`](https://developers.hubspot.com/beta-docs/reference/api/crm/objects/meetings)\n- [`/crm/v3/objects/notes`](https://developers.hubspot.com/beta-docs/reference/api/crm/objects/notes)\n- [`/crm/v3/objects/products`](https://developers.hubspot.com/beta-docs/reference/api/crm/objects/products)\n- [`/crm/v3/objects/tasks`](https://developers.hubspot.com/beta-docs/reference/api/crm/objects/tasks)\n- [`/crm/v3/objects/tickets`](https://developers.hubspot.com/beta-docs/reference/api/crm/objects/tickets)\n\n## Usage\n\n1. Obtain an API Access Token from HubSpot. See [HubSpot Private App](https://developers.hubspot.com/beta-docs/guides/apps/private-apps/overview) for instructions.\n2. In your Directus flow, create a new operation and choose HubSpot API from the list.\n3. Copy and paste the API Access token from HubSpot into the required field. It's worth noting the token somewhere safe because you will need it when creating more HubSpot operations.\n4. Choose a endpoint to use from the dropdown list\n5. Choose and action to perform. The Actions dropdown list will update with the available actions for the selected endpoint.\n6. New fields will appear relevant to the action. Populate these fields as needed.\n\n## Requirements\n\n- Directus 10.10.0+\n- HubSpot Account (Free or Paid)\n- Private App Access Token\n\n## Installation\n\nRefer to the Official Guide for details on installing the extension from the Marketplace or manually.\n\n## Permissions\n\nThis operation relies on the permissions of the API Access Token. Please make sure to assign the required permissions beforehand.\n\n| Endpoint(s) | Scopes |\n| -------- | ------ |\n| Activity | `account-info.security.read` |\n| Calls\u003Cbr/>Communications\u003Cbr/>Contacts\u003Cbr/>Meetings\u003Cbr/>Tasks | `crm.objects.contacts.read`\u003Cbr/>`crm.objects.contacts.write`\u003Cbr/>&nbsp;\u003Cbr/>&nbsp;\u003Cbr/>&nbsp; |\n| Companies\u003Cbr/>&nbsp; | `crm.objects.companies.read`\u003Cbr/>`crm.objects.companies.write` |\n| Email\u003Cbr/>&nbsp; | `sales-email-read` &amp; `crm.objects.contacts.read`\u003C/br>`crm.objects.contacts.write`\u003C/br> |\n| Deals\u003Cbr/>&nbsp; | `crm.objects.deals.read`\u003Cbr/>`crm.objects.deals.write` |\n| Leads\u003Cbr/>&nbsp; | `crm.objects.leads.read`\u003Cbr/>`crm.objects.leads.write` |\n| Products | `e-commerce` |\n| Tickets | `tickets` |\n\n## Fields\n\nFor more detailed information about the HubSpot API and its capabilities, please refer to the [HubSpot API reference](https://developers.hubspot.com/beta-docs/reference/api/).\n\n### Associations\n\nAssociations represent the relationships between objects and activities in the HubSpot CRM. Record associations can exist between records of different objects (e.g., Contact to Company), as well as within the same object (e.g., Company to Company).\n\nWhen creating a new item, you can also associate the item with existing records or activities by including an associations object. For example, to associate a new contact with an existing company and email, your request would look like the following:\n\n```\nassociation: [\n  {\n    \"to\": {\n      \"id\": 123456  \u003C--- ID of the existing item\n    },\n    \"types\": [\n      {\n        \"associationCategory\": \"HUBSPOT_DEFINED\",\n        \"associationTypeId\": 279  \u003C---- ID of the category\n      }\n    ]\n  }\n]\n```\n\n\n### Properties\n\nUse properties to store information on CRM records. HubSpot provides a set of default properties for each CRM object, and you can also create and manage your own custom properties in the HubSpot Data Model. Check out the [properties guide](https://developers.hubspot.com/beta-docs/guides/api/crm/properties) in HubSpot's documentation and familiarize yourself with the default properties for each endpoint.\n\nBe mindful that some properties have fixed values that are allowed. Make sure to use these values when creating or updating records.\n\n```\n{\n  \"firstname\": \"Jane\",\n  \"surname\": \"Smith\",\n  \"email\": \"j.smith@example.com\"\n}\n```\n\n### ID Fields\n\nThe ID field is required when updating or deleted an item. This must be the ID of the item from HubSpot and can be fetched using the Read action or by saving the ID within Directus after creation.\n\n### List Fields\n\nA comma seperated list of properties to return in the API response. Type the field and hit return to add the property.\n\n### Revision Fields\n\nA comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Type the field and hit return to add the property.\n\n### Pagination Token\n\nAlso known as \"after\", this field is used for pagination of the results. You can retrieve the paging cursor token from the previous API request on the same endpoint. The response looks like this:\n\n```\n\"paging\": {\n    \"next\": {\n      \"after\": \"123456789\",\n      \"link\": \"https://api.hubapi.com/crm/v3/objects/contacts?limit=10&properties=firstname%2Csurname%2Cemail&after=123456789\"\n    }\n  }\n```\n\n_Note: paging will be absent if there are less results on the current page than the limit_\n\n### Limit\n\nBy default this is set to 10 entries. Change this value to retrieve more or less results.\n\n### Sort\n\nSpecifiy a field to sort the results by.\n\n### Occurred After and Occurred Before\n\nThe Activity endpoint has an additional datetime field. This will limit the scope of the query to the specified timeframe. Leaving these blank will default to the most recent activity.\n\n\n## Webhooks\n\nHubSpot offer a Webhook as part of the private app which can be linked to a Directus webhook flow for a more circular workflow.\n\n\n## Security Considerations\n\n- Keep your HubSpot API access key secure and never expose it in client-side code.\n- Use Directus roles and permissions to control access to this operation.\n- Be cautious when dealing with sensitive user data.\n- Consider rotating the API access key to maintain security.\n\n## Error Handling\n\nThe operation will throw an error if the API returns an error response. Make sure to handle these errors appropriately in your flows.\n\nDetailed Error responses can be found in the HubSpot private app details and within the Directus Flow log.\n\n---\n",0,470,"operation",{"id":386,"external_url":10,"label":456,"color":457,"outline":267,"icon":10,"size":458,"target":459,"ph_event":10,"page":460,"resource":10},"Book a Demo","primary","medium","_self",{"permalink":461},"/demo",{"id":392,"external_url":70,"label":463,"color":464,"outline":334,"icon":465,"size":458,"target":459,"ph_event":10,"page":10,"resource":10},"Log In","secondary","arrow_forward",{"id":389,"external_url":467,"label":468,"color":464,"outline":267,"icon":10,"size":458,"target":459,"ph_event":10,"page":10,"resource":10},"https://directus.cloud/account/register","Get Started"]