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": "CHANNEL_SPECIFIC_OPAQUE_ID",
"value": "<string>"
}
}
'{
"accountToken": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"genericChannelId": 123,
"inboxId": 123,
"userId": 123,
"accountName": "<string>"
}Actualiza el nombre de cuenta y el identificador de entrega de un token de preparación de cuenta de canal. Esta información se aplicará a la cuenta de canal creada a partir de este token de preparación. Se utiliza para aplicaciones públicas.
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": "CHANNEL_SPECIFIC_OPAQUE_ID",
"value": "<string>"
}
}
'{
"accountToken": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"genericChannelId": 123,
"inboxId": 123,
"userId": 123,
"accountName": "<string>"
}Productos compatibles
Ámbitos Requeridos
The access token received from the authorization server in the OAuth 2.0 flow.