Pular para o conteúdo principal
POST
/
crm
/
extensions
/
cards-dev
/
2026-03
/
{appId}
Criar um novo cartão
curl --request POST \
  --url https://api.hubapi.com/crm/extensions/cards-dev/2026-03/{appId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "actions": {
    "baseUrls": [
      "<string>"
    ]
  },
  "display": {
    "properties": [
      {
        "dataType": "BOOLEAN",
        "label": "<string>",
        "name": "<string>",
        "options": [
          {
            "label": "<string>",
            "name": "<string>",
            "type": "DANGER"
          }
        ]
      }
    ]
  },
  "fetch": {
    "cardType": "EXTERNAL",
    "objectTypes": [
      {
        "name": "companies",
        "propertiesToSend": [
          "<string>"
        ]
      }
    ],
    "targetUrl": "<string>",
    "serverlessFunction": "<string>"
  },
  "title": "<string>"
}
'
{
  "actions": {
    "baseUrls": [
      "<string>"
    ]
  },
  "auditHistory": [
    {
      "actionType": "CREATE",
      "applicationId": 123,
      "authSource": "APP",
      "changedAt": 123,
      "initiatingUserId": 123,
      "objectTypeId": 123
    }
  ],
  "display": {
    "properties": [
      {
        "dataType": "BOOLEAN",
        "label": "<string>",
        "name": "<string>",
        "options": [
          {
            "label": "<string>",
            "name": "<string>",
            "type": "DANGER"
          }
        ]
      }
    ]
  },
  "fetch": {
    "objectTypes": [
      {
        "name": "companies",
        "propertiesToSend": [
          "<string>"
        ]
      }
    ],
    "targetUrl": "<string>"
  },
  "id": "<string>",
  "title": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Supported products

Autorizações

Authorization
string
header
obrigatório

The access token received from the authorization server in the OAuth 2.0 flow.

Parâmetros de caminho

appId
integer<int32>
obrigatório

Corpo

application/json
actions
object
obrigatório
display
object
obrigatório
fetch
object
obrigatório
title
string
obrigatório

O título de nível superior para este cartão. Exibido para os usuários na UI do CRM.

Resposta

successful operation

actions
object
obrigatório
auditHistory
object[]
obrigatório

Uma lista das ações realizadas no cartão, incluindo criação, exclusão e atualizações.

display
object
obrigatório
fetch
object
obrigatório
id
string
obrigatório

O ID exclusivo do cartão.

title
string
obrigatório

O título de nível superior para este cartão. Exibido para os usuários na UI do CRM.

createdAt
string<date-time>

A data e a hora em que o cartão foi criado.

updatedAt
string<date-time>

A data e a hora da última atualização do cartão.

Last modified on April 13, 2026