Scope requirements
Scope requirements
Retrieve a list of owners
To retrieve the current owners in your account, make aGET request to /crm/v3/owners. The response will return each user’s name, email, ID values, create/update dates, and if applicable, team information. Two ID values are returned, which are used for different purposes:
id: the ID of the owner. This value should be used when retrieving information about a specific owner, and when assigning an owner to a record or activity.userId: the ID of the user. This value can be used to specify users in the settings API, but will result in an error if it is used to assign ownership.
archived parameter with the value true. For archived users, there is still an id value, but the userId value will be null. The user ID is instead stored in the userIdIncludingInactive field.
For example:
Retrieve information about an individual owner
To retrieve a specific owner, make aGET request to /crm/v3/owners/{ownerId}. You should use the id value to specify the owner for which you want more details.