cURL
curl --request POST \ --url https://api.morphic.io/api/favorites/toggle/{entity_type}/{entity_id} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "entity_name": "<string>" } '
{}
Toggle the favorite status of a CRM record.
API key (sk_xxx) from Developer Settings. No X-Account-ID needed.
Custom name for the favorite
255
Successful Response
The response is of type Response Toggle-Favorite · object.
Response Toggle-Favorite · object