Channel accounts

Update a channel account

Changed on

This API is used to update the name of the channel account and it's isAuthorized status. Setting to isAuthorized flag to False disables the channel account.

patch/conversations/v3/custom-channels/{channelId}/channel-accounts/{channelAccountId}

Request

  • Base URL
    https://api.hubapi.com
  • Auth
    • OAuth 2
      Authorization codehttps://app.hubspot.com/oauth/authorize
      Token URLhttps://api.hubapi.com/oauth/v1/token
      Scopesconversations.custom_channels.read
    • or OAuth 2
      Authorization codehttps://app.hubspot.com/oauth/authorize
      Token URLhttps://api.hubapi.com/oauth/v1/token
      Scopesconversations.custom_channels.write

Path parameters

channelAccountIdinteger required
channelIdinteger required

Request body

authorizedboolean
namestring

Response

successful operation

activeboolean required
archivedboolean required
archivedAtstring date-time
authorizedboolean required
channelIdstring required
createdAtstring date-time required
idstring required
inboxIdstring required
namestring required

Changes

    • info

      the security scope conversations.custom_channels.read was added to the endpoint's security scheme oauth2

    • info

      the security scope conversations.custom_channels.write was removed from the endpoint's security scheme oauth2

    • info

      the security scope conversations.custom_channels.read was added to the endpoint's security scheme oauth2

    • info

      the security scope conversations.custom_channels.write was removed from the endpoint's security scheme oauth2