Zum Hauptinhalt springen
GET
/
conversations
/
v3
/
conversations
/
channel-accounts
Get channel accounts
curl --request GET \
  --url https://api.hubapi.com/conversations/v3/conversations/channel-accounts \
  --header 'Authorization: Bearer <token>'
{
  "total": 123,
  "paging": {
    "next": {
      "link": "",
      "after": ""
    }
  },
  "results": [
    {
      "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>"
    }
  ]
}

Produits pris en charge

Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing Hub -Gratuit
Sales HubSales Hub -Gratuit
Service HubService Hub -Gratuit
Content HubContent Hub -Gratuit
Cette API requiert l'une des portées suivantes :
conversations.read

Authorizations

Authorization
string
header
required

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

Query Parameters

channelId
integer[]

Limits results to channel accounts within a particular channel.

inboxId
integer[]

Limits results to channel accounts within a particular inbox.

after
string

The paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.

limit
integer

The maximum number of results to display per page.

sort
string[]

The sort order for the channel accounts.

defaultPageLength
integer

The default number of results to display per page.

archived
boolean

Whether to include archived channel accounts in the response.

Response

successful operation

total
integer
required
results
object[]
required
paging
object