Pular para o conteúdo principal
GET
/
crm
/
v3
/
extensions
/
cards-dev
/
sample-response
Obter amostra de resposta de detalhes do cartão
curl --request GET \
  --url https://api.hubapi.com/crm/v3/extensions/cards-dev/sample-response
{
  "totalCount": 123,
  "allItemsLinkUrl": "<string>",
  "cardLabel": "<string>",
  "responseVersion": "v1",
  "sections": [
    {
      "actions": [
        {
          "httpMethod": "CONNECT",
          "propertyNamesIncluded": [
            "<string>"
          ],
          "type": "ACTION_HOOK",
          "url": "<string>",
          "confirmation": {
            "cancelButtonLabel": "<string>",
            "confirmButtonLabel": "<string>",
            "prompt": "<string>"
          },
          "label": "<string>"
        }
      ],
      "id": "<string>",
      "title": "<string>",
      "tokens": [
        {
          "value": "<string>",
          "dataType": "BOOLEAN",
          "label": "<string>",
          "name": "<string>"
        }
      ],
      "linkUrl": "<string>"
    }
  ],
  "topLevelActions": {
    "secondary": [
      {
        "httpMethod": "CONNECT",
        "propertyNamesIncluded": [
          "<string>"
        ],
        "type": "ACTION_HOOK",
        "url": "<string>",
        "confirmation": {
          "cancelButtonLabel": "<string>",
          "confirmButtonLabel": "<string>",
          "prompt": "<string>"
        },
        "label": "<string>"
      }
    ],
    "primary": {
      "httpMethod": "CONNECT",
      "propertyNamesIncluded": [
        "<string>"
      ],
      "type": "ACTION_HOOK",
      "url": "<string>",
      "confirmation": {
        "cancelButtonLabel": "<string>",
        "confirmButtonLabel": "<string>",
        "prompt": "<string>"
      },
      "label": "<string>"
    },
    "settings": {
      "height": 123,
      "propertyNamesIncluded": [
        "<string>"
      ],
      "type": "IFRAME",
      "url": "<string>",
      "width": 123,
      "label": "<string>"
    }
  }
}
Produtos suportados
Requer um dos seguintes produtos ou superior.
Marketing HubMarketing HubGrátis
Sales HubSales HubGrátis
Service HubService HubGrátis
Content HubContent HubGrátis

Response

successful operation

The card details payload, sent to HubSpot by an app in response to a data fetch request when a user visits a CRM record page.

totalCount
integer<int32>
required

O número total de cartões enviados nesta resposta.

URL de uma página criada pelo integrador que exibe todos os detalhes dos cartões de objeto. Esse URL será exibido aos usuários no título do cartão.

cardLabel
string

O rótulo a ser usado para o link "allItemsLinkUrl" (por exemplo, "Ver mais tickets") e o título do cartão.

responseVersion
enum<string>

A versão numérica da resposta.

Opções disponíveis:
v1,
v3
sections
object[]

Uma lista de até cinco subcategorias de cartões válidas.

topLevelActions
object
Last modified on August 31, 2025