Zum Hauptinhalt springen
POST
/
conversations
/
v3
/
custom-channels
/
{channelId}
/
channel-accounts
チャネルアカウントを作成
curl --request POST \
  --url https://api.hubapi.com/conversations/v3/custom-channels/{channelId}/channel-accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "authorized": true,
  "name": "<string>",
  "deliveryIdentifier": {
    "type": "<string>",
    "value": "<string>"
  },
  "inboxId": "<string>"
}'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "archivedAt": "2023-11-07T05:31:56Z",
  "archived": true,
  "authorized": true,
  "name": "<string>",
  "active": true,
  "deliveryIdentifier": {
    "type": "<string>",
    "value": "<string>"
  },
  "id": "<string>",
  "inboxId": "<string>",
  "channelId": "<string>"
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -Professional
Service HubService Hub -Professional
Content HubContent Hub -無料ツール
この API には、次のいずれかのスコープが必要です。
conversations.custom_channels.read
conversations.custom_channels.write

Authorizations

Authorization
string
header
required

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

Path Parameters

channelId
integer
required

アカウントを作成するチャネルのID。

Body

application/json
authorized
boolean
required
name
string
required
inboxId
string
required
deliveryIdentifier
object

Response

successful operation

createdAt
string<date-time>
required
archived
boolean
required
authorized
boolean
required
name
string
required
active
boolean
required
id
string
required
inboxId
string
required
channelId
string
required
archivedAt
string<date-time>
deliveryIdentifier
object