Zum Hauptinhalt springen
GET
/
crm
/
v3
/
owners
/
{ownerId}
アカウント上の利用可能な担当者のページ分割リストを取得します。
curl --request GET \
  --url https://api.hubapi.com/crm/v3/owners/{ownerId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "6166860",
  "email": "[email protected]",
  "firstName": "John",
  "lastName": "Smith",
  "userId": 1296619,
  "createdAt": "2019-10-30T03:30:17.883Z",
  "updatedAt": "2019-12-07T16:50:06.678Z",
  "archived": false,
  "teams": [
    {
      "id": "178588",
      "name": "West Coast Sales",
      "primary": true
    },
    {
      "id": "178590",
      "name": "California Sales",
      "primary": false
    }
  ]
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -Starter
この API には、次のいずれかのスコープが必要です。
crm.objects.owners.read

Authorizations

Authorization
string
header
required

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

Path Parameters

ownerId
integer
required

Query Parameters

archived
boolean
default:false
idProperty
enum<string>
default:id
Verfügbare Optionen:
id,
userId

Response

successful operation

archived
boolean
required

担当者/所有者がアーカイブ済みかどうかを示します。

createdAt
string<date-time>
required

担当者/所有者が作成された日時。

id
string
required

担当者/所有者の固有ID。

type
enum<string>
required

担当者/所有者のタイプで、PERSONまたはQUEUEのいずれかです。

Verfügbare Optionen:
PERSON,
QUEUE
updatedAt
string<date-time>
required

担当者/所有者が最後に更新された日時。

email
string

担当者/所有者のEメールアドレス。

firstName
string

担当者/所有者の名。

lastName
string

担当者/所有者の姓。

teams
object[]
userId
integer

担当者/所有者のユーザーID。

userIdIncludingInactive
integer

無効化されたユーザーを含む、担当者/所有者のユーザーID。