Zum Hauptinhalt springen
GET
/
conversations
/
v3
/
custom-channels
/
{channelId}
/
channel-accounts
チャネルのアカウントを取得
curl --request GET \
  --url https://api.hubapi.com/conversations/v3/custom-channels/{channelId}/channel-accounts \
  --header 'Authorization: Bearer <token>'
{
  "total": 123,
  "paging": {
    "next": {
      "link": "",
      "after": ""
    }
  },
  "results": [
    {
      "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

Query Parameters

deliveryIdentifierType
string[]
deliveryIdentifierValue
string[]
after
string
limit
integer
sort
string[]
defaultPageLength
integer
archived
boolean

Response

successful operation

total
integer
required
results
object[]
required
paging
object