> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/crm-sales/insightly.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Insightly

Insightly is a CRM with project management. Manage contacts, organizations, leads, opportunities, projects, tasks and notes.

![Insightly logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-1e16887fd5bdfff662c804bad3273a04b3b6bde6%2Finsightly.png?alt=media)

|                    |                                                                            |
| ------------------ | -------------------------------------------------------------------------- |
| **Category**       | [CRM and sales](https://docs.fastn.ai/connectors/catalog/crm-sales.md)     |
| **Website**        | [insightly.com](https://insightly.com)                                     |
| **Authentication** | Username and password                                                      |
| **Slug**           | `insightly`                                                                |
| **On fastn.ai**    | [Embed Insightly in your product](https://fastn.ai/integrations/insightly) |

## Setup guide

This guide shows you where to find the Insightly API key and regional pod that Fastn uses to connect to an Insightly account.

For Insightly's own setup steps, see [Find your API key and URL](https://support.insight.ly/en-US/Knowledge/article/9549/Find_your_API_key_and_url/) in the Insightly documentation.

### Before you start

* You need the Owner, Admin or Developer role in Fastn.
* You need an Insightly user account with API access. All users have API access by default, but an Insightly administrator can turn it off for a user.
* Insightly offers its API on all plans. The number of API requests allowed per day depends on your plan.

### Get your Insightly credentials

1. Sign in to Insightly.
2. Click your user icon in the top-right corner and select **User Settings**.
3. In the **API** section, copy your **API Key**. In Fastn, enter it in the **username** field.
4. In the same section, find the **API URL** shown under the key. The part after `api.` is your pod. For example, if the URL starts with `https://api.na1.insightly.com`, your pod is `na1`. In Fastn, enter it in the **pod** field.
5. Leave the **password** field in Fastn empty. Insightly uses only the API key, with a blank password.

If **User Settings** shows a message that API access is turned off, ask an Insightly administrator to turn it on for your user. If you generate a new API key, update it in Fastn too, because the old key stops working.

### Connect in Fastn

Your customers connect Insightly from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Insightly**.
2. Select **Connect** on the Insightly card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from the setup steps above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Insightly's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Add Contact Link</td><td><code>addContactLink</code></td><td>Link a contact to another record. Path id=CONTACT_ID; body LINK_OBJECT_NAME (e.g. Organisation) and LINK_OBJECT_ID.</td></tr><tr><td>Add Contact Tag</td><td><code>addContactTag</code></td><td>Add a tag to a contact. Path id=CONTACT_ID; body TAG_NAME.</td></tr><tr><td>Add Lead Tag</td><td><code>addLeadTag</code></td><td>Add a tag to a lead. Path id=LEAD_ID; body TAG_NAME.</td></tr><tr><td>Add Note Comment</td><td><code>addNoteComment</code></td><td>Add a comment to a note. Path id=NOTE_ID; body BODY (comment text).</td></tr><tr><td>Add Opportunity Link</td><td><code>addOpportunityLink</code></td><td>Link an opportunity to another record. Path id=OPPORTUNITY_ID; body LINK_OBJECT_NAME + LINK_OBJECT_ID.</td></tr><tr><td>Add Organisation Link</td><td><code>addOrganisationLink</code></td><td>Link an organisation to another record. Path id=ORGANISATION_ID; body LINK_OBJECT_NAME + LINK_OBJECT_ID.</td></tr><tr><td>Add Organisation Tag</td><td><code>addOrganisationTag</code></td><td>Add a tag to an organisation. Path id=ORGANISATION_ID; body TAG_NAME.</td></tr><tr><td>Add Project Link</td><td><code>addProjectLink</code></td><td>Link a project to another record. Path id=PROJECT_ID; body LINK_OBJECT_NAME + LINK_OBJECT_ID.</td></tr><tr><td>Add Task Comment</td><td><code>addTaskComment</code></td><td>Add a comment to a task. Path id=TASK_ID; body BODY (comment text).</td></tr><tr><td>Add Team Member</td><td><code>addTeamMember</code></td><td>Add a member to a team. Path id = TEAM_ID; body MEMBER_USER_ID.</td></tr></tbody></table>

<details>

<summary>View 137 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Change Opportunity State</td><td><code>changeOpportunityState</code></td><td>Change an opportunity state. Path id=OPPORTUNITY_ID; body FOR_OPPORTUNITY_STATE (Open/Won/Lost/Abandoned/Suspended) and optional STATE_REASON_ID.</td></tr><tr><td>Create Contact</td><td><code>createContact</code></td><td>Create a contact. Common fields: FIRST_NAME, LAST_NAME, EMAIL_ADDRESS, PHONE, TITLE, ORGANISATION_ID, BACKGROUND.</td></tr><tr><td>Create Contact Note</td><td><code>createContactNote</code></td><td>Add a note to a contact. Path id=CONTACT_ID; body TITLE (required) and BODY.</td></tr><tr><td>Create Event</td><td><code>createEvent</code></td><td>Create a calendar event. Required: TITLE, START_DATE_UTC, END_DATE_UTC (format 'YYYY-MM-DD HH:MM:SS'). Optional: ALL_DAY, LOCATION, DETAILS, REMINDER_DATE_UTC.</td></tr><tr><td>Create File Category</td><td><code>createFileCategory</code></td><td>Create a file category. Body: CATEGORY_NAME (required), ACTIVE, BACKGROUND_COLOR.</td></tr><tr><td>Create Lead</td><td><code>createLead</code></td><td>Create a lead. Required: LAST_NAME. Common: FIRST_NAME, EMAIL_ADDRESS, ORGANISATION_NAME, TITLE, PHONE_NUMBER, LEAD_SOURCE_ID, LEAD_STATUS_ID, LEAD_DESCRIPTION, LEAD_RATING.</td></tr><tr><td>Create Lead Note</td><td><code>createLeadNote</code></td><td>Add a note to a lead. Path id=LEAD_ID; body TITLE (required), BODY.</td></tr><tr><td>Create Lead Source</td><td><code>createLeadSource</code></td><td>Create a lead source. Body: LEAD_SOURCE (required), DEFAULT_VALUE, FIELD_ORDER.</td></tr><tr><td>Create Lead Status</td><td><code>createLeadStatus</code></td><td>Create a lead status. Body: LEAD_STATUS (required), DEFAULT_STATUS, STATUS_TYPE, FIELD_ORDER.</td></tr><tr><td>Create Opportunity</td><td><code>createOpportunity</code></td><td>Create an opportunity. Required: OPPORTUNITY_NAME. Optional: OPPORTUNITY_STATE (Open/Won/Lost/Abandoned/Suspended), OPPORTUNITY_DETAILS, BID_AMOUNT, BID_CURRENCY, PROBABILITY, FORECAST_CLOSE_DATE, CATEGORY_ID, RESPONSIBLE_USER_ID. Pipeline and stage cannot be set here (Insightly ignores PIPELINE_ID/STAGE_ID on this call); Insightly sets them on an existing opportunity with and /PipelineStage.</td></tr><tr><td>Create Opportunity Category</td><td><code>createOpportunityCategory</code></td><td>Create an opportunity category. Body: CATEGORY_NAME (required), ACTIVE, BACKGROUND_COLOR.</td></tr><tr><td>Create Opportunity Note</td><td><code>createOpportunityNote</code></td><td>Add a note to an opportunity. Path id=OPPORTUNITY_ID; body TITLE (required), BODY.</td></tr><tr><td>Create Organisation</td><td><code>createOrganisation</code></td><td>Create an organisation. Required: ORGANISATION_NAME. Optional: PHONE, WEBSITE, BACKGROUND, address fields.</td></tr><tr><td>Create Organisation Note</td><td><code>createOrganisationNote</code></td><td>Add a note to an organisation. Path id=ORGANISATION_ID; body TITLE (required), BODY.</td></tr><tr><td>Create Project</td><td><code>createProject</code></td><td>Create a project. Required: PROJECT_NAME and STATUS (Not Started/In Progress/Completed/Deferred/Cancelled). Optional: PROJECT_DETAILS, OPPORTUNITY_ID, CATEGORY_ID, OWNER_USER_ID, RESPONSIBLE_USER_ID. Pipeline and stage cannot be set here (Insightly ignores PIPELINE_ID/STAGE_ID on this call); Insightly sets them on an existing project with and /PipelineStage.</td></tr><tr><td>Create Project Category</td><td><code>createProjectCategory</code></td><td>Create a project category. Body: CATEGORY_NAME (required), ACTIVE, BACKGROUND_COLOR.</td></tr><tr><td>Create Project Milestone</td><td><code>createProjectMilestone</code></td><td>Add a milestone to a project. The path id is the PROJECT_ID. MILESTONE_ID must be sent as 0 when creating, DUE_DATE is mandatory, and TITLE names the milestone.</td></tr><tr><td>Create Project Note</td><td><code>createProjectNote</code></td><td>Add a note to a project. Path id=PROJECT_ID; body TITLE (required), BODY.</td></tr><tr><td>Create Task</td><td><code>createTask</code></td><td>Create a task. Required: TITLE. Optional: STATUS (Not Started/In Progress/Waiting/Completed/Deferred), DUE_DATE, PRIORITY, COMPLETED, DETAILS, CATEGORY_ID, RESPONSIBLE_USER_ID, PROJECT_ID, OPPORTUNITY_ID, MILESTONE_ID, PERCENT_COMPLETE.</td></tr><tr><td>Create Task Category</td><td><code>createTaskCategory</code></td><td>Create a task category. Body: CATEGORY_NAME (required), ACTIVE, BACKGROUND_COLOR.</td></tr><tr><td>Create Team</td><td><code>createTeam</code></td><td>Create a team. Body: TEAM_NAME (required). Optionally include TEAMMEMBERS.</td></tr><tr><td>Create Webhook</td><td><code>createWebhook</code></td><td>Create a webhook subscription. Body: OBJECT_NAME (e.g. Contact), TARGET_URL (HTTPS endpoint), FIELD_NAME (field to watch).</td></tr><tr><td>Delete Comment</td><td><code>deleteComment</code></td><td>Delete a comment by COMMENT_ID.</td></tr><tr><td>Delete Contact</td><td><code>deleteContact</code></td><td>Delete a contact by CONTACT_ID.</td></tr><tr><td>Delete Event</td><td><code>deleteEvent</code></td><td>Delete a calendar event by EVENT_ID.</td></tr><tr><td>Delete File Category</td><td><code>deleteFileCategory</code></td><td>Delete a file category by CATEGORY_ID.</td></tr><tr><td>Delete Lead</td><td><code>deleteLead</code></td><td>Delete a lead by LEAD_ID.</td></tr><tr><td>Delete Lead Source</td><td><code>deleteLeadSource</code></td><td>Delete a lead source by id (query param).</td></tr><tr><td>Delete Lead Status</td><td><code>deleteLeadStatus</code></td><td>Delete a lead status by id (query param).</td></tr><tr><td>Delete Note</td><td><code>deleteNote</code></td><td>Delete a note by NOTE_ID.</td></tr><tr><td>Delete Opportunity</td><td><code>deleteOpportunity</code></td><td>Delete an opportunity by OPPORTUNITY_ID.</td></tr><tr><td>Delete Opportunity Category</td><td><code>deleteOpportunityCategory</code></td><td>Delete an opportunity category by CATEGORY_ID.</td></tr><tr><td>Delete Organisation</td><td><code>deleteOrganisation</code></td><td>Delete an organisation by ORGANISATION_ID.</td></tr><tr><td>Delete Project</td><td><code>deleteProject</code></td><td>Delete a project by PROJECT_ID.</td></tr><tr><td>Delete Project Category</td><td><code>deleteProjectCategory</code></td><td>Delete a project category by CATEGORY_ID.</td></tr><tr><td>Delete Task</td><td><code>deleteTask</code></td><td>Delete a task by TASK_ID.</td></tr><tr><td>Delete Task Category</td><td><code>deleteTaskCategory</code></td><td>Delete a task category by CATEGORY_ID.</td></tr><tr><td>Delete Team</td><td><code>deleteTeam</code></td><td>Delete a team by TEAM_ID.</td></tr><tr><td>Delete Webhook</td><td><code>deleteWebhook</code></td><td>Delete a webhook subscription by SUBSCRIPTION_ID.</td></tr><tr><td>Follow Contact</td><td><code>followContact</code></td><td>Start following a contact (adds to the current user's follows). Path id=CONTACT_ID.</td></tr><tr><td>Get Activity Set</td><td><code>getActivitySet</code></td><td>Get a single activity set by ACTIVITYSET_ID.</td></tr><tr><td>Get Contact</td><td><code>getContact</code></td><td>Get a single contact by CONTACT_ID.</td></tr><tr><td>Get Current User</td><td><code>getCurrentUser</code></td><td>Get the user that owns the API key Use to validate the connection.</td></tr><tr><td>Get Email</td><td><code>getEmail</code></td><td>Get an email by EMAIL_ID.</td></tr><tr><td>Get Event</td><td><code>getEvent</code></td><td>Get a calendar event by EVENT_ID.</td></tr><tr><td>Get File Category</td><td><code>getFileCategory</code></td><td>Get a file category by CATEGORY_ID.</td></tr><tr><td>Get Instance</td><td><code>getInstance</code></td><td>Get metadata about the current Insightly instance (plan, version, limits).</td></tr><tr><td>Get Lead</td><td><code>getLead</code></td><td>Get a lead by LEAD_ID.</td></tr><tr><td>Get Milestone</td><td><code>getMilestone</code></td><td>Get a milestone by MILESTONE_ID.</td></tr><tr><td>Get Note</td><td><code>getNote</code></td><td>Get a note by NOTE_ID.</td></tr><tr><td>Get Opportunity</td><td><code>getOpportunity</code></td><td>Get an opportunity by OPPORTUNITY_ID.</td></tr><tr><td>Get Opportunity Category</td><td><code>getOpportunityCategory</code></td><td>Get an opportunity category by CATEGORY_ID.</td></tr><tr><td>Get Opportunity State History</td><td><code>getOpportunityStateHistory</code></td><td>List the state-change history for an opportunity.</td></tr><tr><td>Get Organisation</td><td><code>getOrganisation</code></td><td>Get an organisation by ORGANISATION_ID.</td></tr><tr><td>Get Pipeline</td><td><code>getPipeline</code></td><td>Get a single pipeline by its PIPELINE_ID.</td></tr><tr><td>Get Pipeline Stage</td><td><code>getPipelineStage</code></td><td>Get a single pipeline stage by STAGE_ID.</td></tr><tr><td>Get Project</td><td><code>getProject</code></td><td>Get a project by PROJECT_ID.</td></tr><tr><td>Get Task</td><td><code>getTask</code></td><td>Get a task by TASK_ID.</td></tr><tr><td>Get Team</td><td><code>getTeam</code></td><td>Get a team by TEAM_ID.</td></tr><tr><td>Get User</td><td><code>getUser</code></td><td>Get a single user by USER_ID.</td></tr><tr><td>Get Webhook</td><td><code>getWebhook</code></td><td>Get a webhook subscription by SUBSCRIPTION_ID.</td></tr><tr><td>List Activity Sets</td><td><code>listActivitySets</code></td><td>List activity set templates.</td></tr><tr><td>List Contact Emails</td><td><code>listContactEmails</code></td><td>List emails linked to a contact.</td></tr><tr><td>List Contact Events</td><td><code>listContactEvents</code></td><td>List calendar events linked to a contact.</td></tr><tr><td>List Contact Links</td><td><code>listContactLinks</code></td><td>List links (to other records) on a contact.</td></tr><tr><td>List Contact Notes</td><td><code>listContactNotes</code></td><td>List notes attached to a contact.</td></tr><tr><td>List Contact Tags</td><td><code>listContactTags</code></td><td>List tags on a contact.</td></tr><tr><td>List Contact Tasks</td><td><code>listContactTasks</code></td><td>List tasks associated with a contact.</td></tr><tr><td>List Contacts</td><td><code>listContacts</code></td><td>List contacts. Supports paging (top/skip), brief and count_total. has no date filter; to get records updated after a date use Search Contacts (updated_after_utc).</td></tr><tr><td>List Countries</td><td><code>listCountries</code></td><td>List the reference set of countries recognised by Insightly.</td></tr><tr><td>List Currencies</td><td><code>listCurrencies</code></td><td>List the reference set of currencies.</td></tr><tr><td>List Custom Fields</td><td><code>listCustomFields</code></td><td>List custom field definitions for an object (e.g. Contact, Organisation, Lead, Opportunity, Project, Task, Event).</td></tr><tr><td>List Custom Objects</td><td><code>listCustomObjects</code></td><td>List custom object definitions configured in this instance.</td></tr><tr><td>List Document Templates</td><td><code>listDocumentTemplates</code></td><td>List merge/document templates.</td></tr><tr><td>List Email Comments</td><td><code>listEmailComments</code></td><td>List comments on an email.</td></tr><tr><td>List Emails</td><td><code>listEmails</code></td><td>List emails. Supports top/skip/brief/count_total.</td></tr><tr><td>List Events</td><td><code>listEvents</code></td><td>List calendar events. Supports paging (top/skip), brief and count_total. has no date filter; to get records updated after a date use Search Events (updated_after_utc).</td></tr><tr><td>List File Categories</td><td><code>listFileCategories</code></td><td>List file categories.</td></tr><tr><td>List Follows</td><td><code>listFollows</code></td><td>List records the current user is following.</td></tr><tr><td>List Lead Notes</td><td><code>listLeadNotes</code></td><td>List notes on a lead.</td></tr><tr><td>List Lead Sources</td><td><code>listLeadSources</code></td><td>List lead sources.</td></tr><tr><td>List Lead Statuses</td><td><code>listLeadStatuses</code></td><td>List lead statuses.</td></tr><tr><td>List Leads</td><td><code>listLeads</code></td><td>List leads. Supports top/skip/brief/count_total/updated_after_utc.</td></tr><tr><td>List Milestones</td><td><code>listMilestones</code></td><td>List all project milestones.</td></tr><tr><td>List Note Comments</td><td><code>listNoteComments</code></td><td>List comments on a note.</td></tr><tr><td>List Opportunities</td><td><code>listOpportunities</code></td><td>List opportunities. Supports paging (top/skip), brief and count_total. has no date filter; to get records updated after a date use Search Opportunities (updated_after_utc).</td></tr><tr><td>List Opportunity Categories</td><td><code>listOpportunityCategories</code></td><td>List opportunity categories.</td></tr><tr><td>List Opportunity Links</td><td><code>listOpportunityLinks</code></td><td>List links on an opportunity.</td></tr><tr><td>List Opportunity Notes</td><td><code>listOpportunityNotes</code></td><td>List notes on an opportunity.</td></tr><tr><td>List Opportunity State Reasons</td><td><code>listOpportunityStateReasons</code></td><td>List reasons used when changing an opportunity state (won/lost/etc).</td></tr><tr><td>List Organisation Links</td><td><code>listOrganisationLinks</code></td><td>List links on an organisation.</td></tr><tr><td>List Organisation Notes</td><td><code>listOrganisationNotes</code></td><td>List notes attached to an organisation.</td></tr><tr><td>List Organisations</td><td><code>listOrganisations</code></td><td>List organisations. Supports paging (top/skip), brief and count_total. has no date filter; to get records updated after a date use Search Organisations (updated_after_utc).</td></tr><tr><td>List Permissions</td><td><code>listPermissions</code></td><td>List the caller's object/record permissions.</td></tr><tr><td>List Pipeline Stages</td><td><code>listPipelineStages</code></td><td>List all pipeline stages across pipelines.</td></tr><tr><td>List Pipelines</td><td><code>listPipelines</code></td><td>List all pipelines (for opportunities and projects).</td></tr><tr><td>List Project Categories</td><td><code>listProjectCategories</code></td><td>List project categories.</td></tr><tr><td>List Project Links</td><td><code>listProjectLinks</code></td><td>List links on a project.</td></tr><tr><td>List Project Milestones</td><td><code>listProjectMilestones</code></td><td>List milestones on a project.</td></tr><tr><td>List Project Notes</td><td><code>listProjectNotes</code></td><td>List notes on a project.</td></tr><tr><td>List Projects</td><td><code>listProjects</code></td><td>List projects. Supports paging (top/skip), brief and count_total. has no date filter; to get records updated after a date use Search Projects (updated_after_utc).</td></tr><tr><td>List Relationships</td><td><code>listRelationships</code></td><td>List relationship definitions (e.g. Colleague, Customer) used to link records.</td></tr><tr><td>List Task Categories</td><td><code>listTaskCategories</code></td><td>List task categories.</td></tr><tr><td>List Task Comments</td><td><code>listTaskComments</code></td><td>List comments on a task.</td></tr><tr><td>List Tasks</td><td><code>listTasks</code></td><td>List tasks. Supports paging (top/skip), brief and count_total. has no date filter; to get records updated after a date use Search Tasks (updated_after_utc).</td></tr><tr><td>List Team Members</td><td><code>listTeamMembers</code></td><td>List all team members across every team in the Insightly instance. This endpoint accepts no filter parameters - to get the members of one specific team, use Get Team, whose TEAMMEMBERS array is scoped to that team.</td></tr><tr><td>List Teams</td><td><code>listTeams</code></td><td>List all teams.</td></tr><tr><td>List Users</td><td><code>listUsers</code></td><td>List all users in the instance.</td></tr><tr><td>List Webhooks</td><td><code>listWebhooks</code></td><td>List webhook subscriptions.</td></tr><tr><td>Search Contacts</td><td><code>searchContacts</code></td><td>Search contacts by field name/value (e.g. field_name=EMAIL_ADDRESS, field_value=jane@x.com).</td></tr><tr><td>Search Contacts By Tag</td><td><code>searchContactsByTag</code></td><td>List contacts having a given tag (tag_name query param).</td></tr><tr><td>Search Emails</td><td><code>searchEmails</code></td><td>Search emails by field name/value.</td></tr><tr><td>Search Events</td><td><code>searchEvents</code></td><td>Search events by field name/value.</td></tr><tr><td>Search Leads</td><td><code>searchLeads</code></td><td>Search leads by field name/value.</td></tr><tr><td>Search Notes</td><td><code>searchNotes</code></td><td>Search notes by field name/value.</td></tr><tr><td>Search Opportunities</td><td><code>searchOpportunities</code></td><td>Search opportunities by field name/value.</td></tr><tr><td>Search Organisations</td><td><code>searchOrganisations</code></td><td>Search organisations by field name/value.</td></tr><tr><td>Search Projects</td><td><code>searchProjects</code></td><td>Search projects by field name/value.</td></tr><tr><td>Search Tasks</td><td><code>searchTasks</code></td><td>Search tasks by field name/value.</td></tr><tr><td>Search Users</td><td><code>searchUsers</code></td><td>Search users by a field name/value (OData-style).</td></tr><tr><td>Update Comment</td><td><code>updateComment</code></td><td>Update a comment. Body must include COMMENT_ID plus BODY.</td></tr><tr><td>Update Contact</td><td><code>updateContact</code></td><td>Update a contact. Body must include CONTACT_ID plus any fields to change.</td></tr><tr><td>Update Event</td><td><code>updateEvent</code></td><td>Update a calendar event. Body must include EVENT_ID plus fields to change.</td></tr><tr><td>Update File Category</td><td><code>updateFileCategory</code></td><td>Update a file category. Body must include CATEGORY_ID plus fields to change.</td></tr><tr><td>Update Lead</td><td><code>updateLead</code></td><td>Update a lead. Body must include LEAD_ID plus fields to change.</td></tr><tr><td>Update Lead Source</td><td><code>updateLeadSource</code></td><td>Update a lead source. Body must include LEAD_SOURCE_ID plus fields to change.</td></tr><tr><td>Update Lead Status</td><td><code>updateLeadStatus</code></td><td>Update a lead status. Body must include LEAD_STATUS_ID plus fields to change.</td></tr><tr><td>Update Note</td><td><code>updateNote</code></td><td>Update a note. Body must include NOTE_ID plus TITLE/BODY.</td></tr><tr><td>Update Opportunity</td><td><code>updateOpportunity</code></td><td>Update an opportunity. Body must include OPPORTUNITY_ID plus fields to change. Pipeline and stage cannot be set here (Insightly ignores PIPELINE_ID/STAGE_ID on this call); Insightly sets them on an existing opportunity with and /PipelineStage.</td></tr><tr><td>Update Opportunity Category</td><td><code>updateOpportunityCategory</code></td><td>Update an opportunity category. Body must include CATEGORY_ID plus fields to change.</td></tr><tr><td>Update Organisation</td><td><code>updateOrganisation</code></td><td>Update an organisation. Body must include ORGANISATION_ID plus fields to change.</td></tr><tr><td>Update Project</td><td><code>updateProject</code></td><td>Update a project. Body must include PROJECT_ID plus fields to change. Pipeline and stage cannot be set here (Insightly ignores PIPELINE_ID/STAGE_ID on this call); Insightly sets them on an existing project with and /PipelineStage.</td></tr><tr><td>Update Project Category</td><td><code>updateProjectCategory</code></td><td>Update a project category. Body must include CATEGORY_ID plus fields to change.</td></tr><tr><td>Update Task</td><td><code>updateTask</code></td><td>Update a task. Body must include TASK_ID plus fields to change.</td></tr><tr><td>Update Task Category</td><td><code>updateTaskCategory</code></td><td>Update a task category. Body must include CATEGORY_ID plus fields to change.</td></tr><tr><td>Update Team</td><td><code>updateTeam</code></td><td>Update a team. Body must include TEAM_ID plus fields to change (e.g. TEAM_NAME).</td></tr><tr><td>Update Webhook</td><td><code>updateWebhook</code></td><td>Update a webhook subscription. Body must include SUBSCRIPTION_ID plus fields to change.</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/crm-sales/insightly.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
