Zum Hauptinhalt springen
GET
/
crm
/
v3
/
owners
/
{ownerId}
Retrieve a paginated list of owners available in the account.
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

Query Parameters

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

Response

successful operation

createdAt
string<date-time>
required

The date and time when the owner was created.

archived
boolean
required

Indicates whether the owner is archived.

id
string
required

The unique identifier of the owner.

type
enum<string>
required

The type of the owner, which can be either PERSON or QUEUE.

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

The date and time when the owner was last updated.

firstName
string

The first name of the owner.

lastName
string

The last name of the owner.

teams
object[]
userIdIncludingInactive
integer

The user ID of the owner, including inactive users.

userId
integer

The user ID of the owner.

email
string

The email address of the owner.