I had to help someone recently import leads from their website into their CRM Software (customer database app).  They have a RESTFul API so it was fairly straightforward.   I got the API key from the API settings