サンプルカードの詳細のレスポンスを取得
curl --request GET \
--url https://api.hubapi.com/crm/extensions/cards-dev/2026-03/sample-responseimport requests
url = "https://api.hubapi.com/crm/extensions/cards-dev/2026-03/sample-response"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hubapi.com/crm/extensions/cards-dev/2026-03/sample-response', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hubapi.com/crm/extensions/cards-dev/2026-03/sample-response",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hubapi.com/crm/extensions/cards-dev/2026-03/sample-response"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hubapi.com/crm/extensions/cards-dev/2026-03/sample-response")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hubapi.com/crm/extensions/cards-dev/2026-03/sample-response")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"sections": [
{
"actions": [
{
"propertyNamesIncluded": [
"<string>"
],
"type": "ACTION_HOOK",
"url": "<string>",
"confirmation": {
"cancelButtonLabel": "<string>",
"confirmButtonLabel": "<string>",
"prompt": "<string>"
},
"label": "<string>"
}
],
"id": "<string>",
"title": "<string>",
"tokens": [
{
"value": "<string>",
"label": "<string>",
"name": "<string>"
}
],
"linkUrl": "<string>"
}
],
"totalCount": 123,
"allItemsLinkUrl": "<string>",
"cardLabel": "<string>",
"topLevelActions": {
"secondary": [
{
"propertyNamesIncluded": [
"<string>"
],
"type": "ACTION_HOOK",
"url": "<string>",
"confirmation": {
"cancelButtonLabel": "<string>",
"confirmButtonLabel": "<string>",
"prompt": "<string>"
},
"label": "<string>"
}
],
"primary": {
"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>"
}
}
}{
"message": "Invalid input (details will vary based on the error)",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"category": "VALIDATION_ERROR",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
}
}CRMカード
Get sample card detail response
サンプルカードの詳細のレスポンスを返します。これは、ユーザーに表示されるカードの詳細が含まれるペイロードです。これはアプリからレスポンスでデータ取得リクエストに送信する必要があります。
GET
/
crm
/
extensions
/
cards-dev
/
2026-03
/
sample-response
サンプルカードの詳細のレスポンスを取得
curl --request GET \
--url https://api.hubapi.com/crm/extensions/cards-dev/2026-03/sample-responseimport requests
url = "https://api.hubapi.com/crm/extensions/cards-dev/2026-03/sample-response"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hubapi.com/crm/extensions/cards-dev/2026-03/sample-response', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hubapi.com/crm/extensions/cards-dev/2026-03/sample-response",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hubapi.com/crm/extensions/cards-dev/2026-03/sample-response"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hubapi.com/crm/extensions/cards-dev/2026-03/sample-response")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hubapi.com/crm/extensions/cards-dev/2026-03/sample-response")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"sections": [
{
"actions": [
{
"propertyNamesIncluded": [
"<string>"
],
"type": "ACTION_HOOK",
"url": "<string>",
"confirmation": {
"cancelButtonLabel": "<string>",
"confirmButtonLabel": "<string>",
"prompt": "<string>"
},
"label": "<string>"
}
],
"id": "<string>",
"title": "<string>",
"tokens": [
{
"value": "<string>",
"label": "<string>",
"name": "<string>"
}
],
"linkUrl": "<string>"
}
],
"totalCount": 123,
"allItemsLinkUrl": "<string>",
"cardLabel": "<string>",
"topLevelActions": {
"secondary": [
{
"propertyNamesIncluded": [
"<string>"
],
"type": "ACTION_HOOK",
"url": "<string>",
"confirmation": {
"cancelButtonLabel": "<string>",
"confirmButtonLabel": "<string>",
"prompt": "<string>"
},
"label": "<string>"
}
],
"primary": {
"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>"
}
}
}{
"message": "Invalid input (details will vary based on the error)",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"category": "VALIDATION_ERROR",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
}
}Supported products
Supported products
レスポンス
successful operation
レスポンスの数値バージョン。
利用可能なオプション:
v1, v3 最大5個の有効なカードサブカテゴリーのリスト。
Show child attributes
Show child attributes
このレスポンスで送信されるカードプロパティーの合計数。
インテグレーターが作成した、このカードの全ての詳細が表示されるページのURL。このURLは、レスポンスに5個を超える項目がある場合に「他の[x]を表示」リンクの下に表示されます。「[x]」は「itemLabel」の値です。
「allItemsLinkUrl」リンクに使用されるラベル(「他のチケットを表示」など)。指定されていない場合、カードのタイトルが代わりに使用されます。
Show child attributes
Show child attributes
最終更新日 2026年4月10日
⌘I