GET
/
crm
/
v3
/
owners
/
{ownerId}
Read an owner by given `id` or `userId`
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 HubGrátis
Sales HubSales HubGrátis
Service HubService HubGrátis
Content HubContent HubStarter

Escopos Necessários

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

idProperty
enum<string>
default:id
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
archived
boolean
required
Example:

false

id
string
required
Example:

"6166860"

type
enum<string>
required
Available options:
PERSON,
QUEUE
updatedAt
string<date-time>
required
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
userId
integer
Example:

1296619

email
string
Example:

"jsmith@example.com"