# CRM Card: Response data format

**URL:** <https://community.hubspot.com/t/crm-card-response-data-format/88245>\
**Category:** APIs & Integrations\
**Tags:** timeline-and-extensions-apis\
**Created:** [August 24, 2023, 1:59pm UTC](https://community.hubspot.com/t/crm-card-response-data-format/88245 "2023-08-24T13:59:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![baernhardj](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/baernhardj/32/72679_2.png) [@baernhardj](https://community.hubspot.com/u/baernhardj)\
**Post date:** [August 24, 2023, 1:59pm UTC](https://community.hubspot.com/t/crm-card-response-data-format/88245/1 "2023-08-24T13:59:34Z")

</div>

Hi

During my implemenation of a CRM Card, I found two different response data documentation.

First:

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Fapi-reference%2Fcrm-public-app-crm-cards-v3%2Fguide)**

Second (a newer docu):

[Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/extensions/custom-cards) then you have to go to the endpoints tab. At the end there is a sample response:

[https://api.hubapi.com/crm/v3/extensions/cards/sample-response](https://api.hubapi.com/crm/v3/extensions/cards/sample-response)

Whitch one is the best for a new CRM Card implementation?

Thanks a lot

---

<div class="post-metadata">

**Author:** ![coldrickjack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/coldrickjack/32/6684_2.png) [@coldrickjack](https://community.hubspot.com/u/coldrickjack)\
**Post date:** [August 24, 2023, 2:15pm UTC](https://community.hubspot.com/t/crm-card-response-data-format/88245/2 "2023-08-24T14:15:35Z")

</div>

Hey @baernhardj

The sample response shown on the webhook tab [here](https://developers.hubspot.com/docs/api/crm/extensions/custom-cards) (and below) is what I’d suggest you use.

```lia-code-sample
// 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"
 }
}

```

Also if it helps I just recently recorded a [CRM Card API walkthrough video](https://share.vidyard.com/watch/A3DLesEzRusySWYcHVhbAs).

Best of luck with the project!

---

<div class="post-metadata">

**Author:** ![baernhardj](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/baernhardj/32/72679_2.png) [@baernhardj](https://community.hubspot.com/u/baernhardj)\
**Post date:** [August 25, 2023, 2:37pm UTC](https://community.hubspot.com/t/crm-card-response-data-format/88245/3 "2023-08-25T14:37:59Z")

</div>

Hi @coldrickjack

Thanks for the video. I liked it.

The response on the Webhook tab of the docu [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/extensions/custom-cards) (same as the legacy documentation) differs from the sample response of the Endpoints tab of the same page.

In that case I will continue with my implementation based on the webhook tab (and legacy docu).

By the way:

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.

Thanks an best regads

Bernhard

---

<div class="post-metadata">

**Author:** ![zach\_threadint](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zach_threadint/32/46318_2.png) [@zach\_threadint](https://community.hubspot.com/u/zach_threadint)\
**Post date:** [August 25, 2023, 2:18am UTC](https://community.hubspot.com/t/crm-card-response-data-format/88245/4 "2023-08-25T02:18:30Z")

</div>

Hi @baernhardj 👋

To supplment @coldrickjack’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. [webhook.site](https://webhook.site)).

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.

Obviously, it’s best to use this kind of approach with non-sensitive data only (i.e. dummy/test data from a sandbox environment).

I hope that proves useful.

---

<div class="post-metadata">

**Author:** ![baernhardj](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/baernhardj/32/72679_2.png) [@baernhardj](https://community.hubspot.com/u/baernhardj)\
**Post date:** [August 25, 2023, 2:25pm UTC](https://community.hubspot.com/t/crm-card-response-data-format/88245/5 "2023-08-25T14:25:57Z")

</div>

Hi [@zach\_threadint](https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811)

Thanks for the linkt to this test tool. This saved me a lot of deployments to our webserver.

So I found my errors in the JSON response.

Kind regadrs

Bernhard

---

<div class="post-metadata">

**Author:** ![zach\_threadint](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zach_threadint/32/46318_2.png) [@zach\_threadint](https://community.hubspot.com/u/zach_threadint)\
**Post date:** [August 25, 2023, 9:53pm UTC](https://community.hubspot.com/t/crm-card-response-data-format/88245/6 "2023-08-25T21:53:38Z")

</div>

Hi @baernhardj 👋

Happy to help 🙂
