Skip to content
Using the API

Scopes

Scopes in the Lightfield API.

Scopes control what your API key can do. Each scope grants a permission (create, update, or read) for a specific object type.

The Lightfield API supports the following scopes:

ScopeDescription
accounts:createCreate accounts
accounts:updateUpdate accounts
accounts:readRead accounts
contacts:createCreate contacts
contacts:updateUpdate contacts
contacts:readRead contacts
opportunities:createCreate opportunities
opportunities:updateUpdate opportunities
opportunities:readRead opportunities
lists:createCreate lists
lists:updateUpdate lists
lists:readRead lists
members:readRead members

When you create an API key, you select which scopes to grant. Requests using that key can only perform operations allowed by its scopes.

Use the narrowest scope when creating a key. Grant only the scopes an integration requires. For example, if a key is only used to read accounts and contacts, grant accounts:read and contacts:read instead of create or update. Restricting scopes ensures that integrations cannot perform operations beyond their intended purpose (e.g. mutations when only read access is needed).