Owners and permissions
Who owns a record, who made a change, and what a token is allowed to do.
On this page
Owners
Companies, deals, tasks and activities have an owner: a person of your account, named by an identifier in owner (and by on an activity). The owner is who answers for the record and who sees its tasks come due.
| Record | When you do not send an owner |
|---|---|
deal | The owner of the company. |
task | The owner of the deal. |
| note and logged activity | The owner of the deal when you name one, otherwise the owner of the company. |
An owner that is not a person of your account is refused with owner_not_found. Change the owner of a company with Update a company.
Permissions
The API has one scope, crm.access. A token with it reads and changes the records of the company it was issued for, test or live, and nothing outside it. A request without the scope, or for data outside the company, answers 403. See Authentication.
Roles apply to the people who sign in to the CRM: each sees and changes only what their role allows. A client of the API is your own system and is not one of those people.
Who made a change
Every change keeps its author, its time and the value before it. A change made through the API names your client as its author, and an event carries it in actor. See Event envelope.