Insightly is a CRM software that helps businesses manage their customer relationships. It offers a wide range of features including contact management, lead capture, task management, deals, projects, and reporting.
The Insightly API allows developers to access and integrate the functionality of Insightly with other applications. Some example API methods include managing contacts, managing deals, and retrieving project information.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
insightly: {
type: "app",
app: "insightly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.${this.insightly.$auth.pod}.insightly.com/v3.1/Contacts`,
auth: {
username: `${this.insightly.$auth.api_key}`,
password: ``,
},
})
},
})
Insightly uses API keys for authentication. When you connect your Insightly account, Pipedream securely stores the keys so you can easily authenticate to Insightly APIs in both code and no-code steps.
For api_key
, see finding or resetting your API key explains where to find the API key in the Insightly web application.
For pod
, if your Pod is na1
then your API’s URL would look like this: https://api.na1.insightly.com/v3.1/