{"_id":"@corsair-dev/agencyzoom","_rev":"2-d4c97c503939b9307891cf1914915384","name":"@corsair-dev/agencyzoom","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@corsair-dev/agencyzoom","version":"0.1.0","keywords":["corsair","agencyzoom","crm","insurance","plugin"],"author":"","license":"Apache-2.0","_id":"@corsair-dev/agencyzoom@0.1.0","maintainers":[{"name":"corsair.dev","email":"dev@corsair.dev"}],"dist":{"shasum":"d65b12cbde1d6f91a508b9ac0ed673f47b03da71","tarball":"https://registry.npmjs.org/@corsair-dev/agencyzoom/-/agencyzoom-0.1.0.tgz","fileCount":55,"integrity":"sha512-bJsoQoXkqZymGKVJ9ttnMXt8YVutKH7pyZ5K1HLLKDNMhnmFl13nbvw3ImE59xuoTXaI1v5u5/n4Zx/4y3Fg/Q==","signatures":[{"sig":"MEYCIQDafSL2tl9TikA6EjhK5DRPZ6U6KVjaga+qeQAMdCn4swIhAMi1pYOb4VW5gVNIklz/v3dBtRm5a/jVyC4MwcvgmIdN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":456984},"main":"./dist/index.js","type":"module","_from":"file:corsair-dev-agencyzoom-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","dev-source":"./index.ts"}},"scripts":{"test":"jest --config jest.config.json","build":"rm -rf dist && tsc --build --force && tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"corsair.dev","email":"dev@corsair.dev"},"_resolved":"/tmp/c82f7ca6841e304aa96caed51cdd9ae2/corsair-dev-agencyzoom-0.1.0.tgz","_integrity":"sha512-bJsoQoXkqZymGKVJ9ttnMXt8YVutKH7pyZ5K1HLLKDNMhnmFl13nbvw3ImE59xuoTXaI1v5u5/n4Zx/4y3Fg/Q==","_npmVersion":"10.9.8","description":"AgencyZoom plugin for Corsair","directories":{},"_nodeVersion":"22.23.1","_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","jest":"^29.7.0","tsup":"^8.0.1","corsair":"0.1.113","ts-jest":"^29.4.9","typescript":"^5.9.3","@types/jest":"^29.5.14"},"peerDependencies":{"zod":"4.4.3","corsair":">=0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/agencyzoom_0.1.0_1786132758470_0.5310540625357381","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"_id":"@corsair-dev/agencyzoom@0.1.1","bugs":{"url":"https://github.com/corsairdev/corsair/issues"},"dist":{"shasum":"d05c1bc0ed524a1f1a38b33aab62994e8cf245b9","tarball":"https://registry.npmjs.org/@corsair-dev/agencyzoom/-/agencyzoom-0.1.1.tgz","fileCount":56,"integrity":"sha512-SSazW8xxhn8CdB/xQRBSZa+TefUOBPVWFGFRBIX0uQVrg68kCLVbP2l3BmtfwaqpYCHdcaskGrmJDIYaYfC/HQ==","signatures":[{"sig":"MEYCIQC/okUX6NZT0ZM9WUceLh17tqCvqeLex7R3DnCea47mhAIhAPSIwFr/wH/CmB9CYVKvLDA/rycnsPyg47DchY+OQ8UJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCSxzub6KuX8GtDpRAJ9kN/mhgnFPFObIIy+u95Tnnu+gIhAObPHGkTR9TG6rOICMqDGycodacod8rub94Z6hQFMfqU"}],"unpackedSize":492718},"main":"./dist/index.js","name":"@corsair-dev/agencyzoom","type":"module","_from":"file:corsair-dev-agencyzoom-0.1.1.tgz","types":"./dist/index.d.ts","author":{"url":"https://corsair.dev","name":"Corsair"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","dev-source":"./index.ts"}},"license":"Apache-2.0","scripts":{"test":"jest --config jest.config.json","build":"rm -rf dist && tsc --build --force && tsup","typecheck":"tsc --noEmit"},"version":"0.1.1","_npmUser":{"name":"corsair.dev","email":"dev@corsair.dev"},"homepage":"https://docs.corsair.dev/plugins/agencyzoom","keywords":["corsair","agencyzoom","crm","insurance","plugin"],"_resolved":"/tmp/5818c94f688933552de516c3db2db1c0/corsair-dev-agencyzoom-0.1.1.tgz","_integrity":"sha512-SSazW8xxhn8CdB/xQRBSZa+TefUOBPVWFGFRBIX0uQVrg68kCLVbP2l3BmtfwaqpYCHdcaskGrmJDIYaYfC/HQ==","repository":{"url":"git+https://github.com/corsairdev/corsair.git","type":"git","directory":"packages/agencyzoom"},"_npmVersion":"11.19.0","description":"AgencyZoom plugin for Corsair","directories":{},"maintainers":[{"name":"corsair.dev","email":"dev@corsair.dev"}],"_nodeVersion":"24.20.0","_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","jest":"^29.7.0","tsup":"^8.0.1","corsair":"0.1.129","ts-jest":"^29.4.9","typescript":"^5.9.3","@types/jest":"^29.5.14"},"peerDependencies":{"zod":"4.4.3","corsair":">=0.1.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agencyzoom_0.1.1_1789062054201_0.6966967410179052"}}},"time":{"created":"2026-08-07T19:59:18.347Z","modified":"2026-09-10T17:40:54.497Z","0.1.0":"2026-08-07T19:59:18.647Z","0.1.1":"2026-09-10T17:40:54.294Z"},"license":"Apache-2.0","keywords":["corsair","agencyzoom","crm","insurance","plugin"],"description":"AgencyZoom plugin for Corsair","maintainers":[{"name":"corsair.dev","email":"dev@corsair.dev"}],"readme":"# @corsair-dev/agencyzoom\n\nAgencyZoom plugin for Corsair.\n\n## Install\n\n```bash\npnpm add @corsair-dev/agencyzoom\n```\n\n## Endpoints\n\n| Operation | Operation ID | Risk | Description |\n|-----------|--------------|------|-------------|\n| `auth.logTheUserIn` | `agencyzoom.api.auth.logTheUserIn` | `write` | Authenticates an existing AgencyZoom user using their email (as username) and password to obtain a JWT for API access; this action does not support new user creation. |\n| `auth.logTheUserOut` | `agencyzoom.api.auth.logTheUserOut` | `write` | Use this action to log the current user out of AgencyZoom by invalidating their active session token. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `auth.v4SsoLogTheUserIn` | `agencyzoom.api.auth.v4SsoLogTheUserIn` | `write` | Logs a user into the AgencyZoom platform via Single Sign-On (SSO). Returns JWT on success or error details on authentication failure. |\n| `contact.batchCreateContact` | `agencyzoom.api.contact.batchCreateContact` | `write` | Creates 1 to 5 new contacts in AgencyZoom in a single batch API call. |\n| `customers.createACustomerNote` | `agencyzoom.api.customers.createACustomerNote` | `write` | Adds a new note to an existing customer's profile using their ID; cannot be used to edit or retrieve existing notes. |\n| `customers.deleteACustomer` | `agencyzoom.api.customers.deleteACustomer` | `destructive` | Irreversibly deletes a customer and all associated data in AgencyZoom using their `customerId`; useful for offboarding or data privacy compliance. |\n| `customers.deleteACustomerFile` | `agencyzoom.api.customers.deleteACustomerFile` | `destructive` | Permanently deletes a specific file, identified by `fileId`, associated with a customer, identified by `customerId`. |\n| `customers.deleteACustomerPolicy` | `agencyzoom.api.customers.deleteACustomerPolicy` | `destructive` | Permanently deletes a specific policy associated with a customer, for instance, if it's cancelled or inactive; this action is irreversible and requires caution. |\n| `customers.getAmsPoliciesForACustomer` | `agencyzoom.api.customers.getAmsPoliciesForACustomer` | `read` | Retrieves a customer's synchronized Agency Management System (AMS) policy data (typically a single policy); requires an active AMS integration, may return empty/default values if data is missing. |\n| `customers.getPoliciesForACustomer` | `agencyzoom.api.customers.getPoliciesForACustomer` | `read` | Retrieves from AgencyZoom all insurance policies for an existing customer (identified by `customerId`), including policy details like type, carrier, premium, effective dates, and assigned agents. Excludes premium payment history or claims information. |\n| `customers.getTheCustomerDetails` | `agencyzoom.api.customers.getTheCustomerDetails` | `read` | Fetches comprehensive details for a specific customer, including personal information, policies, notes, tasks, files, and custom fields, using their unique customer ID. |\n| `customers.getTheCustomerTasks` | `agencyzoom.api.customers.getTheCustomerTasks` | `read` | Fetches all tasks (read-only task data) for a customer by `customerId` to review their activities, follow-ups, and action items; the `customerId` must be valid. |\n| `customers.searchCustomers` | `agencyzoom.api.customers.searchCustomers` | `read` | Searches for customers in AgencyZoom using criteria like contact information, policy details, or custom fields, with options for filtering, sorting, and pagination. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `customers.updateCustomer` | `agencyzoom.api.customers.updateCustomer` | `write` | Updates an existing customer's information in AgencyZoom using their unique customerId. |\n| `emailThreads.deleteMessage` | `agencyzoom.api.emailThreads.deleteMessage` | `destructive` | Deletes a specific message from an email thread within AgencyZoom. Requires the message ID to identify which message to remove. Returns the updated thread information with the remaining messages after deletion. |\n| `emailThreads.deleteThread` | `agencyzoom.api.emailThreads.deleteThread` | `destructive` | Permanently deletes a specific email thread from the AgencyZoom system, identified by its `threadId` (expected by the endpoint), provided the thread exists. |\n| `emailThreads.getThreadDetails` | `agencyzoom.api.emailThreads.getThreadDetails` | `read` | Searches and retrieves detailed information for email threads in AgencyZoom; no explicit search criteria are passed in this request. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `emailThreads.markThreadAsUnreadApiEndpoint` | `agencyzoom.api.emailThreads.markThreadAsUnreadApiEndpoint` | `write` | Marks an email thread in AgencyZoom as read or unread using its `threadId`; this action does not modify message content and the specified `threadId` must refer to an existing thread. |\n| `emailThreads.searchEmailThreads` | `agencyzoom.api.emailThreads.searchEmailThreads` | `read` | Retrieves a list of email thread metadata from AgencyZoom, suitable for an overview when no specific filtering, sorting, or pagination is needed, as results are subject to default server-side limits and ordering. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `leads.batchCreateLead` | `agencyzoom.api.leads.batchCreateLead` | `write` | Creates up to 5 new leads in AgencyZoom; all referenced entity IDs (e.g., pipeline, user, custom field names) must exist, and organization `name` is required if `isBusiness` is true. |\n| `leads.changeStatusForLead` | `agencyzoom.api.leads.changeStatusForLead` | `write` | Updates a lead's lifecycle status (e.g., Active, Won, Lost, X-Dated) and can optionally manage its workflow, pipeline, stage, source, or associated tags. |\n| `leads.createALeadNote` | `agencyzoom.api.leads.createALeadNote` | `write` | Adds a new note to an existing lead in AgencyZoom, identified by `leadId`. |\n| `leads.createALeadOpportunity` | `agencyzoom.api.leads.createALeadOpportunity` | `write` | Adds a new sales opportunity to an existing lead in AgencyZoom, requiring a valid `leadId`, `carrierId`, `productLineId`, and that custom field names match existing definitions in AgencyZoom. |\n| `leads.createALeadQuote` | `agencyzoom.api.leads.createALeadQuote` | `write` | Creates a new insurance quote for an existing lead in AgencyZoom, using valid carrier and product line IDs, to track a proposal; this action does not bind policies or process payments. |\n| `leads.createBizLead` | `agencyzoom.api.leads.createBizLead` | `write` | Creates or updates a business lead in AgencyZoom using detailed personal and company information, for B2B sales and marketing lead management. |\n| `leads.createLead` | `agencyzoom.api.leads.createLead` | `write` | Creates a new lead or updates an existing one in AgencyZoom; ensure `pipelineId`, `stageId`, `leadSourceId`, and `assignTo` reference valid, existing entities. |\n| `leads.deleteALeadFile` | `agencyzoom.api.leads.deleteALeadFile` | `destructive` | Deletes a specific file (identified by `fileId`) associated with an existing lead (identified by `leadId`); this operation is irreversible. |\n| `leads.deleteALeadOpportunity` | `agencyzoom.api.leads.deleteALeadOpportunity` | `destructive` | Permanently deletes an existing opportunity (by `opportunityId`) associated with an existing lead (by `leadId`) when it's irrelevant, closed, or erroneous; the lead itself remains. |\n| `leads.deleteALeadQuote` | `agencyzoom.api.leads.deleteALeadQuote` | `destructive` | Deletes a specific quote from a lead, requiring that the lead and quote exist and are associated. |\n| `leads.getLeadFiles` | `agencyzoom.api.leads.getLeadFiles` | `read` | Retrieves metadata (id, title, MIME type, size, dates, creator info) for files attached to leads in AgencyZoom. Optionally filter by `leadId` to get files for a specific lead, or omit to retrieve files across all leads. Returns file metadata only, not the actual file content. |\n| `leads.getLeadNotes` | `agencyzoom.api.leads.getLeadNotes` | `read` | Fetches the complete history of notes for a specific lead by `leadId` (which must exist), useful for reviewing context for communications or follow-ups; this is a read-only operation. |\n| `leads.getLeadQuotes` | `agencyzoom.api.leads.getLeadQuotes` | `read` | Retrieves all insurance quotes (active and inactive) for a specific lead ID, useful for reviewing or tracking quote history. |\n| `leads.getLeadTasks` | `agencyzoom.api.leads.getLeadTasks` | `read` | Retrieves all tasks for a specific lead, identified by its `leadId`, to review its activity history or manage follow-ups. |\n| `leads.getTheLeadDetails` | `agencyzoom.api.leads.getTheLeadDetails` | `read` | Retrieves comprehensive details for a specific lead in AgencyZoom by its unique `leadId` (which must correspond to an existing lead), including contact information, status, associated opportunities, quotes/policies, custom fields, and interaction history. |\n| `leads.getTheOpportunitiesForALead` | `agencyzoom.api.leads.getTheOpportunitiesForALead` | `read` | Retrieves all sales opportunities and their details for a specified, existing `leadId` in AgencyZoom. |\n| `leads.moveLeadToSold` | `agencyzoom.api.leads.moveLeadToSold` | `write` | Marks an existing lead as sold by its `leadId` and records product details; `productLineId`, `premium`, `effectiveDate`, and `soldDate` are operationally required for each sold product, despite schema flexibility. |\n| `leads.searchLeads` | `agencyzoom.api.leads.searchLeads` | `read` | Retrieves AgencyZoom leads, using filters, pagination, and sorting options sent in the POST body, as the request schema itself is empty. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `leads.searchLeadsCount` | `agencyzoom.api.leads.searchLeadsCount` | `read` | Retrieves a summary of lead counts categorized by workflow stage from AgencyZoom; this action does not support filtering and returns aggregate counts rather than individual lead details. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `leads.updateALeadFileName` | `agencyzoom.api.leads.updateALeadFileName` | `write` | Updates a lead's file name to `newFileName`; requires `fileId` of the target file, which must be associated with both the `leadId` (path parameter) and the provided `customerReferralId`. |\n| `leads.updateALeadOpportunity` | `agencyzoom.api.leads.updateALeadOpportunity` | `write` | Updates an existing opportunity's details (carrier, product line, premium, items, custom fields) for a specific lead; `leadId`, opportunity `id`, `carrierId`, and `productLineId` must refer to existing entities. |\n| `leads.updateALeadQuote` | `agencyzoom.api.leads.updateALeadQuote` | `write` | Updates an existing quote for a specified lead in AgencyZoom when its details require revision, ensuring the provided `leadId` (path parameter), quote `id` (body parameter), `carrierId`, and `productLineId` are valid and correspond to existing entities. |\n| `leads.updateBusinessLead` | `agencyzoom.api.leads.updateBusinessLead` | `write` | Updates an existing business lead in AgencyZoom. Requires leadId (path parameter) plus core business information fields: firstname, email, name (business name), pipelineId, stageId, leadSourceId, assignTo (producer ID), and country. All other fields are optional and will only update if provided. |\n| `leads.updateLead` | `agencyzoom.api.leads.updateLead` | `write` | Updates an existing lead's information in AgencyZoom using the `leadId`; ensure the `leadId` corresponds to an existing lead in AgencyZoom. |\n| `leads.updateLeadStatusById` | `agencyzoom.api.leads.updateLeadStatusById` | `write` | Updates a lead's status (0=ACTIVE, 2=WON, 3=LOST, 5=XDATED) by `leadId`, optionally setting workflow, stage, date, loss reason, X-date type, source, recycle stage/pipeline, or tags; requires `date` and `xDateType` for status 5 (XDATED), and `lossReasonId` for status 3 (LOST). |\n| `life.searchLifeAndHealthLeads` | `agencyzoom.api.life.searchLifeAndHealthLeads` | `read` | Searches for life and health insurance leads by providing filter criteria (matching AlrLead fields) in the request body; an empty request may retrieve all leads or a default set. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `opportunities.createADriverForAnOpportunity` | `agencyzoom.api.opportunities.createADriverForAnOpportunity` | `write` | Creates a new driver record associated with an existing AgencyZoom opportunity using its ID; requires firstName and lastName, with optional fields for additional driver details. |\n| `opportunities.createAnOpportunity` | `agencyzoom.api.opportunities.createAnOpportunity` | `write` | Creates a new lead opportunity in AgencyZoom; this action cannot update existing opportunities. |\n| `opportunities.createAVehicleForAnOpportunity` | `agencyzoom.api.opportunities.createAVehicleForAnOpportunity` | `write` | Adds a new vehicle record to a specified opportunity; `opportunityId` must refer to a valid, existing opportunity. |\n| `opportunities.deleteADriver` | `agencyzoom.api.opportunities.deleteADriver` | `destructive` | Permanently deletes an existing driver record (a person associated with an insurance opportunity) from AgencyZoom using its unique `driverId`; this action is irreversible. |\n| `opportunities.deleteAnOpportunity` | `agencyzoom.api.opportunities.deleteAnOpportunity` | `destructive` | Permanently deletes a specific opportunity by its unique ID; this action is irreversible and requires a valid, existing `opportunityId`. |\n| `opportunities.deleteAVehicle` | `agencyzoom.api.opportunities.deleteAVehicle` | `destructive` | Permanently deletes a vehicle record by its `vehicleId`, which must correspond to an existing vehicle in the AgencyZoom system. |\n| `opportunities.getAListOfDriversForAnOpportunity` | `agencyzoom.api.opportunities.getAListOfDriversForAnOpportunity` | `read` | Retrieves a list of drivers (individuals), including their personal details, licensing information, and relationship status, associated with a specific, existing `opportunityId` in AgencyZoom. |\n| `opportunities.getAListOfVehiclesForAnOpportunity` | `agencyzoom.api.opportunities.getAListOfVehiclesForAnOpportunity` | `read` | Retrieves all vehicles associated with an existing opportunity, using its unique opportunityId. |\n| `opportunities.getTheDriverDetails` | `agencyzoom.api.opportunities.getTheDriverDetails` | `read` | Retrieves detailed information for a specific, existing driver (by `driverId`) associated with an AgencyZoom opportunity. |\n| `opportunities.getTheOpportunityDetails` | `agencyzoom.api.opportunities.getTheOpportunityDetails` | `read` | Fetches comprehensive details for an existing opportunity using its unique `opportunityId`. |\n| `opportunities.getTheVehicleDetails` | `agencyzoom.api.opportunities.getTheVehicleDetails` | `read` | Retrieves detailed information for a specific vehicle, often associated with an AgencyZoom opportunity, using its unique vehicleId. |\n| `opportunities.linkADriverToOpportunity` | `agencyzoom.api.opportunities.linkADriverToOpportunity` | `write` | Assigns or reassigns an existing driver to an existing opportunity. |\n| `opportunities.linkAVehicleToOpportunity` | `agencyzoom.api.opportunities.linkAVehicleToOpportunity` | `write` | Links an existing vehicle to an existing sales opportunity in AgencyZoom using their respective IDs, typically for managing auto insurance policies or related services. |\n| `opportunities.unlinkADriverFromOpportunity` | `agencyzoom.api.opportunities.unlinkADriverFromOpportunity` | `write` | Unlinks a currently associated driver from an AgencyZoom opportunity, used when the driver is no longer relevant, for policy or data updates, potentially impacting the opportunity's status or associated policy details. |\n| `opportunities.unlinkAVehicleFromOpportunity` | `agencyzoom.api.opportunities.unlinkAVehicleFromOpportunity` | `write` | Unlinks a specific, existing vehicle from a specific, existing opportunity using their respective IDs, removing only the association and not the records themselves. |\n| `opportunities.updateADriverSDetails` | `agencyzoom.api.opportunities.updateADriverSDetails` | `write` | Updates an existing driver's details in AgencyZoom, requiring `driverId` in the path and `firstName` and `lastName` in the request. |\n| `opportunities.updateAnOpportunity` | `agencyzoom.api.opportunities.updateAnOpportunity` | `write` | Updates an existing opportunity with the provided details; ensure any custom field names are predefined in AgencyZoom configuration. |\n| `opportunities.updateAVehicleSDetails` | `agencyzoom.api.opportunities.updateAVehicleSDetails` | `write` | Updates details for an existing vehicle within an opportunity; this action cannot be used to create new vehicle records. |\n| `policies.updateAPolicy` | `agencyzoom.api.policies.updateAPolicy` | `write` | Updates an existing insurance policy for the given `policyId`; monetary values must be in cents and dates in YYYY-MM-DD format. |\n| `policies.updateTagsForAPolicy` | `agencyzoom.api.policies.updateTagsForAPolicy` | `write` | Adds new comma-separated `tagNames` to a policy, requiring `tagNames` and identification by either `policyId` or `amsPolicyId`; if `amsPolicyId` is provided, `policyId` is ignored, and existing tags are not affected. |\n| `profile.updateMyProfile` | `agencyzoom.api.profile.updateMyProfile` | `write` | Updates the profile information (first name, last name, email, and optional phone) for the currently authenticated user in AgencyZoom; the provided email address must be unique within the system. |\n| `referenceData.getAListOfAssignGroups` | `agencyzoom.api.referenceData.getAListOfAssignGroups` | `read` | Retrieves all assign groups configured in AgencyZoom, used for categorizing or assigning items to specific teams or units. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `referenceData.getAListOfCarriers` | `agencyzoom.api.referenceData.getAListOfCarriers` | `read` | Retrieves all insurance carriers from AgencyZoom, typically used for populating selection lists or synchronizing carrier data; does not return detailed policy or coverage information. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `referenceData.getAListOfCsrs` | `agencyzoom.api.referenceData.getAListOfCsrs` | `read` | Fetches all Customer Service Representatives (CSRs), including their ID and name, returning an empty list if none are configured. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `referenceData.getAListOfCustomFields` | `agencyzoom.api.referenceData.getAListOfCustomFields` | `read` | Retrieves metadata for all configured custom field definitions, not the specific values entered for individual records. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `referenceData.getAListOfEmployees` | `agencyzoom.api.referenceData.getAListOfEmployees` | `read` | Retrieves a complete list of all employees for the authenticated agency; returns an empty list if no employees are configured. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `referenceData.getAListOfLeadSourceCategories` | `agencyzoom.api.referenceData.getAListOfLeadSourceCategories` | `read` | Retrieves a comprehensive list of all predefined lead source categories from AgencyZoom, used to classify lead origins. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `referenceData.getAListOfLeadSources` | `agencyzoom.api.referenceData.getAListOfLeadSources` | `read` | Fetches a list of all lead sources configured in AgencyZoom, including their ID, name, sales exclusion status, and category ID. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `referenceData.getAListOfLifeProfessionals` | `agencyzoom.api.referenceData.getAListOfLifeProfessionals` | `read` | Retrieves a list of life insurance professionals, including only their contact and status information (excluding sales or customer data), from the AgencyZoom platform. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `referenceData.getAListOfLocations` | `agencyzoom.api.referenceData.getAListOfLocations` | `read` | Retrieves all agency locations or branches from AgencyZoom; filtering options are not available. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `referenceData.getAListOfLossReasons` | `agencyzoom.api.referenceData.getAListOfLossReasons` | `read` | Retrieves all predefined loss reasons (e.g., 'Lost to competitor', 'Premium too high') available in AgencyZoom. These reasons can be used when marking leads as lost or for reporting purposes. No parameters required - returns complete list. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `referenceData.getAListOfPipelines` | `agencyzoom.api.referenceData.getAListOfPipelines` | `read` | Retrieves all pipelines and their stages from AgencyZoom to understand workflow structures; this is a read-only operation and does not return individual items (like leads or tasks) within these pipelines. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `referenceData.getAListOfProductLinesPolicyTypes` | `agencyzoom.api.referenceData.getAListOfProductLinesPolicyTypes` | `read` | Fetches all product lines and policy types from AgencyZoom, each detailed with its ID, name, and product category ID. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `referenceData.getAListOfRecycleEvents` | `agencyzoom.api.referenceData.getAListOfRecycleEvents` | `read` | Retrieves the available recycle event types and any existing X-Date information for a specified lead in AgencyZoom. Returns a list of recycle event categories that can be used to trigger follow-ups (e.g., 'X-Date', 'Accident Falls Off', 'Prior Insurance Fulfilled'). |\n| `referenceData.getDepartmentsGroups` | `agencyzoom.api.referenceData.getDepartmentsGroups` | `read` | Fetches department and group information for an agency, optionally filtered by a specific `agencyNumber`, to analyze its organizational structure. |\n| `referenceData.getListOfEndStages` | `agencyzoom.api.referenceData.getListOfEndStages` | `read` | Fetches a list of all defined end stages, representing final steps in processes like lead conversion or policy closure. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `referenceData.listProductCategories` | `agencyzoom.api.referenceData.listProductCategories` | `read` | Retrieves a complete, unfiltered list of all product categories (ID and name) from AgencyZoom, useful for understanding product organization or populating UI elements. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `referenceData.searchBusinessClassifications` | `agencyzoom.api.referenceData.searchBusinessClassifications` | `read` | Retrieves a comprehensive list of all available business classifications from AgencyZoom, each including an ID, code, and description. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `serviceTickets.serviceTicketList` | `agencyzoom.api.serviceTickets.serviceTicketList` | `read` | Retrieves a paginated list of service tickets from AgencyZoom. Supports filtering by: - Status (0=removed, 1=active, 2=completed) - Priority ID and Category ID Returns service ticket details including subject, description, dates, assignment information, and workflow stage. Results are paginated with default page size of 20 tickets per page. |\n| `tasks.batchDeleteTask` | `agencyzoom.api.tasks.batchDeleteTask` | `destructive` | Deletes multiple AgencyZoom tasks in a batch; task deletion is permanent and the response indicates overall batch success, not individual task status. |\n| `tasks.completeTask` | `agencyzoom.api.tasks.completeTask` | `write` | Marks an existing and accessible task in AgencyZoom as 'completed'; this action does not return the full updated task object. |\n| `tasks.createTask` | `agencyzoom.api.tasks.createTask` | `write` | Creates a new task in AgencyZoom; ensure `assigneeId`, `customerId`, or `leadId` are valid existing entities if provided, and use `contactEmail`, `customerId`, or `leadId` to link the task to a contact. |\n| `tasks.deleteATask` | `agencyzoom.api.tasks.deleteATask` | `destructive` | Permanently and irreversibly deletes an existing task, identified by its `taskId`. |\n| `tasks.getTheTaskDetails` | `agencyzoom.api.tasks.getTheTaskDetails` | `read` | Retrieves comprehensive details for a specific task using its unique `taskId`, which must correspond to an existing task in AgencyZoom. |\n| `tasks.reopenATask` | `agencyzoom.api.tasks.reopenATask` | `write` | Reopens an existing AgencyZoom task that is currently 'completed' or 'closed', allowing it to be reactivated with optional comments. |\n| `tasks.searchTasks` | `agencyzoom.api.tasks.searchTasks` | `read` | Searches and lists tasks, supporting pagination and accepting filter criteria in the POST request body despite an empty request schema. |\n| `tasks.updateTask` | `agencyzoom.api.tasks.updateTask` | `write` | Modifies an existing AgencyZoom task (which must be valid and identified by `taskId` in the path) with new attributes from the request body, which must also contain `taskId`. |\n| `textThreads.getAListOfProducer` | `agencyzoom.api.textThreads.getAListOfProducer` | `read` | Retrieves a list of all producers from AgencyZoom, typically related to text thread functionalities. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `textThreads.removeTextThreadEndpoint` | `agencyzoom.api.textThreads.removeTextThreadEndpoint` | `destructive` | Call this action to permanently delete an SMS/text message thread in AgencyZoom; the target thread is identified by its `threadId`. Note: This operation is idempotent - deleting a non-existent thread will return success. |\n| `textThreads.searchSmsThreads` | `agencyzoom.api.textThreads.searchSmsThreads` | `read` | Searches and retrieves SMS threads from AgencyZoom, with search parameters, filters, sorting, and pagination typically provided in the request body of this POST operation. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n| `textThreads.textDetailThread` | `agencyzoom.api.textThreads.textDetailThread` | `read` | Retrieves detailed messages for a specific SMS/text thread by its thread ID. Returns all messages in the thread with their content, attachments, sender/recipient information, and metadata. The thread ID can be obtained from the search_sms_threads action. |\n| `textThreads.unreadThread` | `agencyzoom.api.textThreads.unreadThread` | `write` | Updates the read or unread status of a specific SMS/text thread within AgencyZoom. |\n| `v4sso.authenticateForJwtviaV4Sso` | `agencyzoom.api.v4sso.authenticateForJwtviaV4Sso` | `write` | Completes AgencyZoom V4 Single Sign-On (SSO) authentication by exchanging an OAuth2 authorization code for a JWT token. Prerequisites: First call get_auth_url_for_v4sso to obtain the authentication URL, then redirect the user to that URL for login. After successful authentication through Vertafore's OAuth provider, the callback will include a 'code' parameter. Use that code with this action to obtain the JWT token for API access. Note: This is typically used during initial authentication setup. The code is single-use, time-limited, and must match the PKCE challenge from the original auth request. |\n| `v4sso.getAuthUrlForV4Sso` | `agencyzoom.api.v4sso.getAuthUrlForV4Sso` | `write` | Retrieves a fresh authentication URL for AgencyZoom's V4 Single Sign-On (SSO) process; call before each SSO attempt as the URL may change and should not be cached. #### Output \\| Parameter \\| Type \\| Required \\| Description \\| \\|-----------\\|------\\|----------\\|-------------\\| \\| `data` \\| string \\| Yes \\| Data from the action execution \\| \\| `error` \\| string \\| No \\| Error if any occurred during the execution of the action \\| \\| `successful` \\| boolean \\| Yes \\| Whether or not the action execution was successful or not \\| |\n\n## Auth\n\nAuth: API key. Corsair prompts your tenant for credentials on first use.\n\n## Webhooks\n\nNo webhooks.\n\n## Reference\n\nFull docs, types, and examples: https://docs.corsair.dev/plugins/agencyzoom\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md","homepage":"https://docs.corsair.dev/plugins/agencyzoom","repository":{"url":"git+https://github.com/corsairdev/corsair.git","type":"git","directory":"packages/agencyzoom"},"author":{"url":"https://corsair.dev","name":"Corsair"},"bugs":{"url":"https://github.com/corsairdev/corsair/issues"}}