Skip to main content
PATCH
/
conversations
/
custom-channels
/
2026-03
/
{channelId}
/
channel-account-staging-tokens
/
{accountToken}
Update a channel account staging token
curl --request PATCH \
  --url https://api.hubapi.com/conversations/custom-channels/2026-03/{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>",
  "deliveryIdentifier": {
    "type": "CHANNEL_SPECIFIC_OPAQUE_ID",
    "value": "<string>"
  }
}

Supported products

Authorizations

Authorization
string
header
required

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

Path Parameters

accountToken
string
required
channelId
integer<int32>
required

Body

application/json
accountName
string
required
deliveryIdentifier
object
required

Response

successful operation

accountToken
string
required
createdAt
string<date-time>
required
genericChannelId
integer<int32>
required
inboxId
integer<int32>
required
userId
integer<int32>
required
accountName
string
deliveryIdentifier
object
Last modified on March 30, 2026