メインコンテンツへスキップ
POST
/
crm
/
v3
/
extensions
/
cards-dev
/
{appId}
新規カードを作成
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"
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub無料ツール
Sales HubSales Hub無料ツール
Service HubService Hub無料ツール
Content HubContent Hub無料ツール

承認

hapikey
string
query
必須

パスパラメータ

appId
integer<int32>
必須

ボディ

application/json

State of card definition to be created

actions
object
必須

Configuration for custom user actions on cards.

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

Configuration for displayed info on a card

fetch
object
必須

Configuration for this card's data fetch request.

title
string
必須

このカードのトップレベルタイトル。CRM UIのユーザーに表示されます。

レスポンス

successful operation

actions
object
必須

Configuration for custom user actions on cards.

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

作成、削除、更新など、カードで実行されるアクションのリスト。

display
object
必須

Configuration for displayed info on a card

fetch
object
必須
id
string
必須

カードの固有ID。

title
string
必須

このカードのトップレベルタイトル。CRM UIのユーザーに表示されます。

createdAt
string<date-time>

カードが作成された日時。

updatedAt
string<date-time>

カードが最後に更新された日時。

Last modified on January 23, 2026