Saltar al contenido principal
POST
/
crm
/
v3
/
extensions
/
cards-dev
/
{appId}
Crear una tarjeta nueva
curl --request POST \
  --url 'https://api.hubapi.com/crm/v3/extensions/cards-dev/{appId}?hapikey=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "actions": {
    "baseUrls": [
      "https://www.example.com/hubspot"
    ]
  },
  "display": {
    "properties": [
      {
        "dataType": "STRING",
        "label": "Pets Name",
        "name": "pet_name"
      }
    ]
  },
  "fetch": {
    "objectTypes": [
      {
        "name": "contacts",
        "propertiesToSend": [
          "email",
          "firstname"
        ]
      }
    ],
    "targetUrl": "https://www.example.com/hubspot/target"
  },
  "title": "PetSpot"
}
'
{
  "actions": {
    "baseUrls": [
      "https://www.example.com/hubspot"
    ]
  },
  "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"
}
Productos compatibles
Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing HubGratuito
Sales HubSales HubGratuito
Service HubService HubGratuito
Content HubContent HubGratuito

Autorizaciones

hapikey
string
query
requerido

Parámetros de ruta

appId
integer<int32>
requerido

Cuerpo

application/json

State of card definition to be created

actions
object
requerido

Configuration for custom user actions on cards.

Ejemplo:
{
"baseUrls": ["https://www.example.com/hubspot"]
}
display
object
requerido

Configuration for displayed info on a card

fetch
object
requerido

Configuration for this card's data fetch request.

title
string
requerido

El título de nivel superior de esta tarjeta. Se muestra a los usuarios en la UI del CRM.

Respuesta

successful operation

actions
object
requerido

Configuration for custom user actions on cards.

Ejemplo:
{
"baseUrls": ["https://www.example.com/hubspot"]
}
auditHistory
object[]
requerido

Una lista de acciones realizadas en la tarjeta, que incluyen creación, eliminación y actualizaciones.

display
object
requerido

Configuration for displayed info on a card

fetch
object
requerido
id
string
requerido

El ID único de la tarjeta.

title
string
requerido

El título de nivel superior de esta tarjeta. Se muestra a los usuarios en la UI del CRM.

createdAt
string<date-time>

La fecha y hora en que se creó la tarjeta.

updatedAt
string<date-time>

La fecha y hora en que se actualizó por última vez la tarjeta.

Last modified on January 23, 2026