CRM and M-Files synchronisation by API

Hello,

How do I synchronise my "Customers" between my CRM and M-Files by API? I would like to create a "Customer" object type automatically when I create a "Customer" in my CRM by API and not by ODBC.

Thank you in advance for your answers!