Assignment Notification Not working When We Save Record From API

Hello there,

When I create record from rest API, Record Assignment notification does not work. It is not sending email to user. Whereas, It is working fine when creating record from CRM.

Can you pls help me on this?