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>"
    }
  ]
}

Produtos suportados

Requer um dos seguintes produtos ou superior.
Marketing HubMarketing Hub -Grátis
Sales HubSales Hub -Grátis
Service HubService Hub -Grátis
Content HubContent Hub -Grátis
Esta API requer um dos seguintes escopos:
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