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>"
    }
  }
}

Supported products

Resposta

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>
obrigatório

O número total de propriedades do cartão que serão enviadas nesta resposta.

O URL de uma página que o integrador construiu que exibe todos os detalhes deste cartão. Este URL será exibido para os usuários em um link "Ver mais [x]" se houver mais de cinco itens em sua resposta, onde "[x]" é o valor de "temLabel".

cardLabel
string

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

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 April 13, 2026