Zum Hauptinhalt springen
GET
/
crm
/
v3
/
owners
/
{ownerId}
Recupere uma lista paginada de proprietários disponíveis na conta.
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
    }
  ]
}

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 -Starter
Esta API requer um dos seguintes escopos:
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

Indica se o proprietário está arquivado.

createdAt
string<date-time>
required

A data e a hora em que o proprietário foi criado.

id
string
required

O identificador exclusivo do proprietário.

type
enum<string>
required

O tipo de proprietário, que pode ser PESSOA ou FILA.

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

A data e a hora da última atualização do proprietário.

email
string

O endereço de e-mail do proprietário.

firstName
string

O primeiro nome do proprietário.

lastName
string

O sobrenome do proprietário.

teams
object[]
userId
integer

O ID de usuário do proprietário.

userIdIncludingInactive
integer

O ID de usuário do proprietário, incluindo usuários inativos.