Zum Hauptinhalt springen
GET
/
conversations
/
v3
/
custom-channels
/
{channelId}
/
channel-accounts
/
{channelAccountId}
Einen Kanal-Account nach ID abrufen
curl --request GET \
  --url https://api.hubapi.com/conversations/v3/custom-channels/{channelId}/channel-accounts/{channelAccountId} \
  --header 'Authorization: Bearer <token>'
{
  "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>"
}

Unterstützte Produkte

Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing Hub -Kostenlos
Sales HubSales Hub -Professional
Service HubService Hub -Professional
Content HubContent Hub -Kostenlos
Diese API erfordert einen der folgenden Bereiche:
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

Die ID des Kanals, der dem Account zugeordnet ist, der abgerufen wird.

channelAccountId
integer
required

Die ID des Kanal-Accounts, der abgerufen werden soll.

Query Parameters

archived
boolean
default:false

Filtern Sie die Ergebnisse so, dass nur archivierte oder nicht archivierte Kanal-Accounts angezeigt werden.

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