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": "jsmith@example.com",
  "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

The unique identifier of the owner to be retrieved.

Query Parameters

idProperty
enum<string>
default:id

Specifies whether to use 'id' or 'userId' as the identifier for the owner.

Available options:
id,
userId
archived
boolean
default:false

Whether to return only results that have been archived.

Response

successful operation

createdAt
string<date-time>
required

The timestamp when the owner was created, in ISO 8601 format.

Example:

"2019-10-30T03:30:17.883+00:00"

archived
boolean
required

Whether the owner is archived.

Example:

false

id
string
required

The unique ID for the owner.

Example:

"6166860"

type
enum<string>
required

The type of owner. Accepted values are: PERSON, QUEUE.

Available options:
PERSON,
QUEUE
Example:

"PERSON"

updatedAt
string<date-time>
required

The timestamp when the owner was last updated, in ISO 8601 format.

Example:

"2019-12-07T16:50:06.678+00:00"

firstName
string

The owner's first name.

Example:

"John"

lastName
string

The owner's last name.

Example:

"Smith"

teams
object[]
Example:

"[{\"id\":\"178588\",\"name\":\"West Coast Sales\",\"primary\":true},{\"id\":\"178590\",\"name\":\"California Sales\",\"primary\":false}]"

userIdIncludingInactive
integer

The user ID, including inactive users.

Example:

6166860

userId
integer

The ID of the active HubSpot user associated with the owner.

Example:

1296619

email
string

The owner's email address.

Example:

"jsmith@example.com"

I