Skip to main content
GET
/
crm
/
v3
/
owners
/
{ownerId}
Recuperar una lista paginada de los propietarios disponibles en la cuenta.
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
    }
  ]
}

Productos compatibles

Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing Hub -Gratuito
Sales HubSales Hub -Gratuito
Service HubService Hub -Gratuito
Content HubContent Hub -Starter
Esta API requiere uno de los siguientes ámbitos:
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
Example:

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

archived
boolean
required
Example:

false

id
string
required
Example:

"6166860"

type
enum<string>
required
Available options:
PERSON,
QUEUE
Example:

"PERSON"

updatedAt
string<date-time>
required
Example:

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

firstName
string
Example:

"John"

lastName
string
Example:

"Smith"

teams
object[]
Example:

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

userIdIncludingInactive
integer
Example:

6166860

userId
integer
Example:

1296619

email
string
Example:

"jsmith@example.com"

I