Skip to navigation

Toggle Favorite

One-click star/unstar toggle.

If the item is already favorited, removes it. If not, creates it and returns favorited=True.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
target_typeenumRequired
Allowed values:
entity_typestringRequired<=50 characters
e.g. crm.lead, crm.deal, billing.invoice
titlestringRequired<=255 characters
urlstringRequired<=1024 characters
entity_idstring or nullOptionalformat: "uuid"
NULL for module favorites
subtitlestring or nullOptional<=255 characters
iconstring or nullOptional<=50 characters

Response

Successful Response
favoritedboolean
favoriteobject or nullOptional

Errors

422
Unprocessable Entity Error