Zum Hauptinhalt springen
PATCH
/
conversations
/
v3
/
custom-channels
/
{channelId}
/
channel-account-staging-tokens
/
{accountToken}
Staging-Token eines Kanal-Accounts aktualisieren
curl --request PATCH \
  --url https://api.hubapi.com/conversations/v3/custom-channels/{channelId}/channel-account-staging-tokens/{accountToken} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "accountName": "<string>",
  "deliveryIdentifier": {
    "type": "<string>",
    "value": "<string>"
  }
}'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "accountName": "<string>",
  "genericChannelId": 123,
  "deliveryIdentifier": {
    "type": "<string>",
    "value": "<string>"
  },
  "accountToken": "<string>",
  "userId": 123,
  "inboxId": 123
}

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 zu aktualisierenden Staging-Token zugeordnet ist.

accountToken
string
required

Das eindeutige Token zur Identifizierung des zu aktualisierenden Kanal-Account-Staging-Tokens.

Body

application/json
accountName
string
required
deliveryIdentifier
object
required

Response

successful operation

createdAt
string<date-time>
required
genericChannelId
integer
required
accountToken
string
required
userId
integer
required
inboxId
integer
required
accountName
string
deliveryIdentifier
object