<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CRM Card: Response data format in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/CRM-Card-Response-data-format/m-p/840308#M66833</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811"&gt;@zach_threadint&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the linkt to this test tool. This saved me a lot of deployments to our webserver.&lt;/P&gt;&lt;P&gt;So I found my errors in the JSON response.&lt;/P&gt;&lt;P&gt;Kind regadrs&lt;/P&gt;&lt;P&gt;Bernhard&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2023 14:25:57 GMT</pubDate>
    <dc:creator>baernhardj</dc:creator>
    <dc:date>2023-08-25T14:25:57Z</dc:date>
    <item>
      <title>CRM Card: Response data format</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/CRM-Card-Response-data-format/m-p/839589#M66782</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During my implemenation of a CRM Card, I found two different response data documentation.&lt;/P&gt;&lt;P&gt;First:&lt;/P&gt;&lt;P&gt;&lt;A title="https://legacydocs.hubspot.com/docs/methods/crm-extensions/crm-extensions-overview" href="https://legacydocs.hubspot.com/docs/methods/crm-extensions/crm-extensions-overview" target="_blank" rel="noopener"&gt;https://legacydocs.hubspot.com/docs/methods/crm-extensions/crm-extensions-overview&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second (a newer docu):&lt;/P&gt;&lt;P&gt;&lt;A title="https://developers.hubspot.com/docs/api/crm/extensions/custom-cards" href="https://developers.hubspot.com/docs/api/crm/extensions/custom-cards" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/api/crm/extensions/custom-cards&lt;/A&gt;&amp;nbsp;then you have to go to the&amp;nbsp;&lt;SPAN&gt;endpoints tab. At the end there is a sample response:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="https://api.hubapi.com/crm/v3/extensions/cards/sample-response" href="https://api.hubapi.com/crm/v3/extensions/cards/sample-response" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/extensions/cards/sample-response&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whitch one is the best for a new CRM Card implementation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 13:59:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/CRM-Card-Response-data-format/m-p/839589#M66782</guid>
      <dc:creator>baernhardj</dc:creator>
      <dc:date>2023-08-24T13:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: CRM Card: Response data format</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/CRM-Card-Response-data-format/m-p/839601#M66783</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/619384"&gt;@baernhardj&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sample response shown on the webhook tab&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api/crm/extensions/custom-cards" target="_blank" rel="noopener"&gt;here&lt;/A&gt; (and below) is what I'd suggest you use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;// example response
{
  "results": [
    {
      "objectId": 245,
      "title": "API-22: APIs working too fast",
      "link": "http://example.com/1",
      "created": "2016-09-15",
      "priority": "HIGH",
      "project": "API",
      "reported_by": "msmith@hubspot.com",
      "description": "Customer reported that the APIs are just running too fast. This is causing a problem in that they're so happy.",
      "reporter_type": "Account Manager",
      "status": "In Progress",
      "ticket_type": "Bug",
      "updated": "2016-09-28",
      "actions": [
        {
          "type": "IFRAME",
          "width": 890,
          "height": 748,
          "uri": "https://example.com/edit-iframe-contents",
          "label": "Edit",
          "associatedObjectProperties": []
        },
        {
          "type": "IFRAME",
          "width": 890,
          "height": 748,
          "uri": "https://example.com/reassign-iframe-contents",
          "label": "Reassign",
          "associatedObjectProperties": []
        },
        {
          "type": "ACTION_HOOK",
          "httpMethod": "PUT",
          "associatedObjectProperties": [],
          "uri": "https://example.com/tickets/245/resolve",
          "label": "Resolve"
        },
        {
          "type": "CONFIRMATION_ACTION_HOOK",
          "confirmationMessage": "Are you sure you want to delete this ticket?",
          "confirmButtonText": "Yes",
          "cancelButtonText": "No",
          "httpMethod": "DELETE",
          "associatedObjectProperties": [
            "protected_account"
          ],
          "uri": "https://example.com/tickets/245",
          "label": "Delete"
        }
      ]
    },
    {
      "objectId": 988,
      "title": "API-54: Question about bulk APIs",
      "link": "http://example.com/2",
      "created": "2016-08-04",
      "priority": "HIGH",
      "project": "API",
      "reported_by": "ksmith@hubspot.com",
      "description": "Customer is not able to find documentation about our bulk Contacts APIs.",
      "reporter_type": "Support Rep",
      "status": "Resolved",
      "ticket_type": "Bug",
      "updated": "2016-09-23",
      "properties": [
        {
          "label": "Resolved by",
          "dataType": "EMAIL",
          "value": "ijones@hubspot.com"
        },
        {
          "label": "Resolution type",
          "dataType": "STRING",
          "value": "Referred to documentation"
        },
        {
          "label": "Resolution impact",
          "dataType": "CURRENCY",
          "value": "94.34",
          "currencyCode": "GBP"
        }
      ],
      "actions": [
        {
          "type": "IFRAME",
          "width": 890,
          "height": 748,
          "uri": "https://example.com/edit-iframe-contents",
          "label": "Edit"
        },
        {
          "type": "CONFIRMATION_ACTION_HOOK",
          "confirmationMessage": "Are you sure you want to delete this ticket?",
          "confirmButtonText": "Yes",
          "cancelButtonText": "No",
          "httpMethod": "DELETE",
          "associatedObjectProperties": [
            "protected_account"
          ],
          "uri": "https://example.com/tickets/245",
          "label": "Delete"
        }
      ]
    }
  ],
  "settingsAction": {
    "type": "IFRAME",
    "width": 890,
    "height": 748,
    "uri": "https://example.com/settings-iframe-contents",
    "label": "Settings"
  },
  "primaryAction": {
    "type": "IFRAME",
    "width": 890,
    "height": 748,
    "uri": "https://example.com/create-iframe-contents",
    "label": "Create Ticket"
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also if it helps I just recently recorded a &lt;A href="https://share.vidyard.com/watch/A3DLesEzRusySWYcHVhbAs" target="_blank" rel="noopener"&gt;CRM Card API walkthrough video&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best of luck with the project!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 14:15:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/CRM-Card-Response-data-format/m-p/839601#M66783</guid>
      <dc:creator>coldrickjack</dc:creator>
      <dc:date>2023-08-24T14:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: CRM Card: Response data format</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/CRM-Card-Response-data-format/m-p/839992#M66816</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/619384"&gt;@baernhardj&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To supplment &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/426475"&gt;@coldrickjack&lt;/a&gt;'s response, when trying to understand what data HubSpot will send to varying app/webhook endpoints, I like to do some initial testing with a webhook testing tool (e.g. &lt;A href="https://webhook.site" target="_blank" rel="noopener"&gt;webhook.site&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Specific to your example, simply use the unique URL supplied by your webhook testing tool as your HubSpot App's Custom Card "Data fetch URL", then visit a relevant HubSpot CRM record view within the UI. An example request should be visible within your webhook testing tool.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Obviously, it's best to use this kind of approach with non-sensitive data only (i.e. dummy/test data from a sandbox environment).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope that proves useful.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 23:07:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/CRM-Card-Response-data-format/m-p/839992#M66816</guid>
      <dc:creator>zach_threadint</dc:creator>
      <dc:date>2024-03-05T23:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: CRM Card: Response data format</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/CRM-Card-Response-data-format/m-p/840308#M66833</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811"&gt;@zach_threadint&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the linkt to this test tool. This saved me a lot of deployments to our webserver.&lt;/P&gt;&lt;P&gt;So I found my errors in the JSON response.&lt;/P&gt;&lt;P&gt;Kind regadrs&lt;/P&gt;&lt;P&gt;Bernhard&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 14:25:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/CRM-Card-Response-data-format/m-p/840308#M66833</guid>
      <dc:creator>baernhardj</dc:creator>
      <dc:date>2023-08-25T14:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: CRM Card: Response data format</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/CRM-Card-Response-data-format/m-p/840314#M66834</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/426475"&gt;@coldrickjack&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the video. I liked it.&lt;/P&gt;&lt;P&gt;The response on the Webhook tab of the docu&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api/crm/extensions/custom-cards" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/api/crm/extensions/custom-cards&lt;/A&gt;&amp;nbsp;(same as the legacy documentation) differs from the sample response of the Endpoints tab of the same page.&lt;/P&gt;&lt;P&gt;In that case I will continue with my implementation based on the webhook tab (and legacy docu).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way:&lt;/P&gt;&lt;P&gt;Is there a place in HubSpot with more detailed information about errors, than in the monitoring list of the public app? In this monitoring list, I see only the HTTP Status and a general error text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks an best regads&lt;/P&gt;&lt;P&gt;Bernhard&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 14:37:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/CRM-Card-Response-data-format/m-p/840314#M66834</guid>
      <dc:creator>baernhardj</dc:creator>
      <dc:date>2023-08-25T14:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: CRM Card: Response data format</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/CRM-Card-Response-data-format/m-p/840524#M66853</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/619384"&gt;@baernhardj&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Happy to help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 23:07:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/CRM-Card-Response-data-format/m-p/840524#M66853</guid>
      <dc:creator>zach_threadint</dc:creator>
      <dc:date>2024-03-05T23:07:21Z</dc:date>
    </item>
  </channel>
</rss>

