Categories

Get the list of all category names and colours

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Categories are thought of as the major classification for an object. They also have an associated colour which can be used for marking or tagging their associated objects in some way.

Attributes

AttributeTypeDescriptionAttributes
selfreferenceURL of the categoryRead-only
Non-null
namestringThe category name.Read-Write
Non-null
hex_colourcolourThe category colour.Read-Write
Nullable
is_activebooleantrue if the category should be allowed to be assigned to major objectsRead-Write
Non-null

Filtering Results

This endpoint returns the full list of categories and their corresponding colours by default. However, you may include an entity query parameter to only fetch categories which are enabled for the entity.

An example request that only wanted categories for notes would like this:

GET /v1/categories?entity=note

All entities which support categories are valid values for the entity filter:

Major EntityQuery String
Contactcontact
Companycompany
Projectproject
Opportunityopportunity
Tasktask
Appointmentappointment
Groupgroup
Notenote
Emailemail
📘

Auto-created Categories

Implicitly created categories are configured to apply to all entities. If a major object is created with a category which it is disabled, then the category will be changed so that it is active and enabled for the major entity.

You can toggle which categories are enabled for a particular entity in the Daylite app preferences.

Query Params
string

Only return categories that apply to a specific type of object

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json