メインコンテンツへスキップ
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"
    ]
  },
  "createdAt": "2019-10-30T03:30:17.883Z",
  "display": {
    "properties": [
      {
        "dataType": "STRING",
        "label": "Pet's Name",
        "name": "pet_name"
      }
    ]
  },
  "fetch": {
    "objectTypes": [
      {
        "name": "contacts",
        "propertiesToSend": [
          "email",
          "firstname"
        ]
      }
    ],
    "targetUrl": "https://www.example.com/hubspot/target"
  },
  "title": "PetSpot",
  "updatedAt": "2019-11-30T03:30:17.883Z"
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub無料ツール
Sales HubSales Hub無料ツール
Service HubService Hub無料ツール
Content HubContent Hub無料ツール

承認

hapikey
string
query
必須

パスパラメータ

appId
integer<int32>
必須

ターゲットアプリのID。

ボディ

application/json

The new card definition.

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 August 31, 2025