New to Corsair? See API access, authentication, and error handling.
Auth
logTheUserIn
auth.logTheUserIn
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.
Risk: write
Output
logTheUserOut
auth.logTheUserOut
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 |
Risk: write
Output:
Record<string, any> \| any[]
v4SsoLogTheUserIn
auth.v4SsoLogTheUserIn
Logs a user into the AgencyZoom platform via Single Sign-On (SSO). Returns JWT on success or error details on authentication failure.
Risk: write
Output
Contact
batchCreateContact
contact.batchCreateContact
Creates 1 to 5 new contacts in AgencyZoom in a single batch API call.
Risk: write
Output:
Record<string, any> \| any[]
Customers
createACustomerNote
customers.createACustomerNote
Adds a new note to an existing customer’s profile using their ID; cannot be used to edit or retrieve existing notes.
Risk: write
Output:
Record<string, any> \| any[]
deleteACustomer
customers.deleteACustomer
Irreversibly deletes a customer and all associated data in AgencyZoom using their customerId; useful for offboarding or data privacy compliance.
Risk: destructive · Irreversible
Output:
Record<string, any> \| any[]
deleteACustomerFile
customers.deleteACustomerFile
Permanently deletes a specific file, identified by fileId, associated with a customer, identified by customerId.
Risk: destructive · Irreversible
Output:
Record<string, any> \| any[]
deleteACustomerPolicy
customers.deleteACustomerPolicy
Permanently deletes a specific policy associated with a customer, for instance, if it’s cancelled or inactive; this action is irreversible and requires caution.
Risk: destructive · Irreversible
Output:
Record<string, any> \| any[]
getAmsPoliciesForACustomer
customers.getAmsPoliciesForACustomer
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.
Risk: read
Output:
Record<string, any> \| any[]
getPoliciesForACustomer
customers.getPoliciesForACustomer
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.
Risk: read
Output:
Record<string, any> \| any[]
getTheCustomerDetails
customers.getTheCustomerDetails
Fetches comprehensive details for a specific customer, including personal information, policies, notes, tasks, files, and custom fields, using their unique customer ID.
Risk: read
Output
getTheCustomerTasks
customers.getTheCustomerTasks
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.
Risk: read
Output:
Record<string, any> \| any[]
searchCustomers
customers.searchCustomers
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 |
Risk: read
Output:
Record<string, any> \| any[]
updateCustomer
customers.updateCustomer
Updates an existing customer’s information in AgencyZoom using their unique customerId.
Risk: write
Output
Email Threads
deleteMessage
emailThreads.deleteMessage
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.
Risk: destructive · Irreversible
Output:
Record<string, any> \| any[]
deleteThread
emailThreads.deleteThread
Permanently deletes a specific email thread from the AgencyZoom system, identified by its threadId (expected by the endpoint), provided the thread exists.
Risk: destructive · Irreversible
Output:
Record<string, any> \| any[]
getThreadDetails
emailThreads.getThreadDetails
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 |
Risk: read
Output:
Record<string, any> \| any[]
markThreadAsUnreadApiEndpoint
emailThreads.markThreadAsUnreadApiEndpoint
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.
Risk: write
Output:
Record<string, any> \| any[]
searchEmailThreads
emailThreads.searchEmailThreads
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 |
Risk: read
Output:
Record<string, any> \| any[]
Leads
batchCreateLead
leads.batchCreateLead
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.
Risk: write
Output:
Record<string, any> \| any[]
changeStatusForLead
leads.changeStatusForLead
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.
Risk: write
Output:
Record<string, any> \| any[]
createALeadNote
leads.createALeadNote
Adds a new note to an existing lead in AgencyZoom, identified by leadId.
Risk: write
Output:
Record<string, any> \| any[]
createALeadOpportunity
leads.createALeadOpportunity
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.
Risk: write
Output:
Record<string, any> \| any[]
createALeadQuote
leads.createALeadQuote
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.
Risk: write
Output:
Record<string, any> \| any[]
createBizLead
leads.createBizLead
Creates or updates a business lead in AgencyZoom using detailed personal and company information, for B2B sales and marketing lead management.
Risk: write
Output:
Record<string, any> \| any[]
createLead
leads.createLead
Creates a new lead or updates an existing one in AgencyZoom; ensure pipelineId, stageId, leadSourceId, and assignTo reference valid, existing entities.
Risk: write
Output
deleteALeadFile
leads.deleteALeadFile
Deletes a specific file (identified by fileId) associated with an existing lead (identified by leadId); this operation is irreversible.
Risk: destructive · Irreversible
Output:
Record<string, any> \| any[]
deleteALeadOpportunity
leads.deleteALeadOpportunity
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.
Risk: destructive · Irreversible
Output:
Record<string, any> \| any[]
deleteALeadQuote
leads.deleteALeadQuote
Deletes a specific quote from a lead, requiring that the lead and quote exist and are associated.
Risk: destructive · Irreversible
Output:
Record<string, any> \| any[]
getLeadFiles
leads.getLeadFiles
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.
Risk: read
Output:
Record<string, any> \| any[]
getLeadNotes
leads.getLeadNotes
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.
Risk: read
Output:
Record<string, any> \| any[]
getLeadQuotes
leads.getLeadQuotes
Retrieves all insurance quotes (active and inactive) for a specific lead ID, useful for reviewing or tracking quote history.
Risk: read
Output:
Record<string, any> \| any[]
getLeadTasks
leads.getLeadTasks
Retrieves all tasks for a specific lead, identified by its leadId, to review its activity history or manage follow-ups.
Risk: read
Output:
Record<string, any> \| any[]
getTheLeadDetails
leads.getTheLeadDetails
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.
Risk: read
Output
getTheOpportunitiesForALead
leads.getTheOpportunitiesForALead
Retrieves all sales opportunities and their details for a specified, existing leadId in AgencyZoom.
Risk: read
Output:
Record<string, any> \| any[]
moveLeadToSold
leads.moveLeadToSold
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.
Risk: write
Output:
Record<string, any> \| any[]
searchLeads
leads.searchLeads
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 |
Risk: read
Output
leads full type
leads full type
searchLeadsCount
leads.searchLeadsCount
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 |
Risk: read
Output:
Record<string, any> \| any[]
updateALeadFileName
leads.updateALeadFileName
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.
Risk: write
Output:
Record<string, any> \| any[]
updateALeadOpportunity
leads.updateALeadOpportunity
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.
Risk: write
Output:
Record<string, any> \| any[]
updateALeadQuote
leads.updateALeadQuote
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.
Risk: write
Output:
Record<string, any> \| any[]
updateBusinessLead
leads.updateBusinessLead
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.
Risk: write
Output:
Record<string, any> \| any[]
updateLead
leads.updateLead
Updates an existing lead’s information in AgencyZoom using the leadId; ensure the leadId corresponds to an existing lead in AgencyZoom.
Risk: write
Output
updateLeadStatusById
leads.updateLeadStatusById
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).
Risk: write
Output:
Record<string, any> \| any[]
Life
searchLifeAndHealthLeads
life.searchLifeAndHealthLeads
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 |
Risk: read
Output:
Record<string, any> \| any[]
Opportunities
createADriverForAnOpportunity
opportunities.createADriverForAnOpportunity
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.
Risk: write
Output:
Record<string, any> \| any[]
createAnOpportunity
opportunities.createAnOpportunity
Creates a new lead opportunity in AgencyZoom; this action cannot update existing opportunities.
Risk: write
Output
createAVehicleForAnOpportunity
opportunities.createAVehicleForAnOpportunity
Adds a new vehicle record to a specified opportunity; opportunityId must refer to a valid, existing opportunity.
Risk: write
Output:
Record<string, any> \| any[]
deleteADriver
opportunities.deleteADriver
Permanently deletes an existing driver record (a person associated with an insurance opportunity) from AgencyZoom using its unique driverId; this action is irreversible.
Risk: destructive · Irreversible
Output:
Record<string, any> \| any[]
deleteAnOpportunity
opportunities.deleteAnOpportunity
Permanently deletes a specific opportunity by its unique ID; this action is irreversible and requires a valid, existing opportunityId.
Risk: destructive · Irreversible
Output:
Record<string, any> \| any[]
deleteAVehicle
opportunities.deleteAVehicle
Permanently deletes a vehicle record by its vehicleId, which must correspond to an existing vehicle in the AgencyZoom system.
Risk: destructive · Irreversible
Output:
Record<string, any> \| any[]
getAListOfDriversForAnOpportunity
opportunities.getAListOfDriversForAnOpportunity
Retrieves a list of drivers (individuals), including their personal details, licensing information, and relationship status, associated with a specific, existing opportunityId in AgencyZoom.
Risk: read
Output:
Record<string, any> \| any[]
getAListOfVehiclesForAnOpportunity
opportunities.getAListOfVehiclesForAnOpportunity
Retrieves all vehicles associated with an existing opportunity, using its unique opportunityId.
Risk: read
Output:
Record<string, any> \| any[]
getTheDriverDetails
opportunities.getTheDriverDetails
Retrieves detailed information for a specific, existing driver (by driverId) associated with an AgencyZoom opportunity.
Risk: read
Output:
Record<string, any> \| any[]
getTheOpportunityDetails
opportunities.getTheOpportunityDetails
Fetches comprehensive details for an existing opportunity using its unique opportunityId.
Risk: read
Output
getTheVehicleDetails
opportunities.getTheVehicleDetails
Retrieves detailed information for a specific vehicle, often associated with an AgencyZoom opportunity, using its unique vehicleId.
Risk: read
Output:
Record<string, any> \| any[]
linkADriverToOpportunity
opportunities.linkADriverToOpportunity
Assigns or reassigns an existing driver to an existing opportunity.
Risk: write
Output:
Record<string, any> \| any[]
linkAVehicleToOpportunity
opportunities.linkAVehicleToOpportunity
Links an existing vehicle to an existing sales opportunity in AgencyZoom using their respective IDs, typically for managing auto insurance policies or related services.
Risk: write
Output:
Record<string, any> \| any[]
unlinkADriverFromOpportunity
opportunities.unlinkADriverFromOpportunity
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.
Risk: write
Output:
Record<string, any> \| any[]
unlinkAVehicleFromOpportunity
opportunities.unlinkAVehicleFromOpportunity
Unlinks a specific, existing vehicle from a specific, existing opportunity using their respective IDs, removing only the association and not the records themselves.
Risk: write
Output:
Record<string, any> \| any[]
updateADriverSDetails
opportunities.updateADriverSDetails
Updates an existing driver’s details in AgencyZoom, requiring driverId in the path and firstName and lastName in the request.
Risk: write
Output:
Record<string, any> \| any[]
updateAnOpportunity
opportunities.updateAnOpportunity
Updates an existing opportunity with the provided details; ensure any custom field names are predefined in AgencyZoom configuration.
Risk: write
Output
updateAVehicleSDetails
opportunities.updateAVehicleSDetails
Updates details for an existing vehicle within an opportunity; this action cannot be used to create new vehicle records.
Risk: write
Output:
Record<string, any> \| any[]
Policies
updateAPolicy
policies.updateAPolicy
Updates an existing insurance policy for the given policyId; monetary values must be in cents and dates in YYYY-MM-DD format.
Risk: write
Output:
Record<string, any> \| any[]
updateTagsForAPolicy
policies.updateTagsForAPolicy
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.
Risk: write
Output:
Record<string, any> \| any[]
Profile
updateMyProfile
profile.updateMyProfile
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.
Risk: write
Output:
Record<string, any> \| any[]
Reference Data
getAListOfAssignGroups
referenceData.getAListOfAssignGroups
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 |
Risk: read
Output:
Record<string, any> \| any[]
getAListOfCarriers
referenceData.getAListOfCarriers
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 |
Risk: read
Output:
Record<string, any> \| any[]
getAListOfCsrs
referenceData.getAListOfCsrs
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 |
Risk: read
Output:
Record<string, any> \| any[]
getAListOfCustomFields
referenceData.getAListOfCustomFields
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 |
Risk: read
Output:
Record<string, any> \| any[]
getAListOfEmployees
referenceData.getAListOfEmployees
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 |
Risk: read
Output:
Record<string, any> \| any[]
getAListOfLeadSourceCategories
referenceData.getAListOfLeadSourceCategories
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 |
Risk: read
Output:
Record<string, any> \| any[]
getAListOfLeadSources
referenceData.getAListOfLeadSources
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 |
Risk: read
Output:
Record<string, any> \| any[]
getAListOfLifeProfessionals
referenceData.getAListOfLifeProfessionals
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 |
Risk: read
Output:
Record<string, any> \| any[]
getAListOfLocations
referenceData.getAListOfLocations
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 |
Risk: read
Output:
Record<string, any> \| any[]
getAListOfLossReasons
referenceData.getAListOfLossReasons
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 |
Risk: read
Output:
Record<string, any> \| any[]
getAListOfPipelines
referenceData.getAListOfPipelines
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 |
Risk: read
Output:
Record<string, any> \| any[]
getAListOfProductLinesPolicyTypes
referenceData.getAListOfProductLinesPolicyTypes
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 |
Risk: read
Output:
Record<string, any> \| any[]
getAListOfRecycleEvents
referenceData.getAListOfRecycleEvents
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’).
Risk: read
Output
getDepartmentsGroups
referenceData.getDepartmentsGroups
Fetches department and group information for an agency, optionally filtered by a specific agencyNumber, to analyze its organizational structure.
Risk: read
Output:
Record<string, any> \| any[]
getListOfEndStages
referenceData.getListOfEndStages
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 |
Risk: read
Output:
Record<string, any> \| any[]
listProductCategories
referenceData.listProductCategories
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 |
Risk: read
Output:
Record<string, any> \| any[]
searchBusinessClassifications
referenceData.searchBusinessClassifications
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 |
Risk: read
Output:
Record<string, any> \| any[]
Service Tickets
serviceTicketList
serviceTickets.serviceTicketList
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.
Risk: read
Output:
Record<string, any> \| any[]
Tasks
batchDeleteTask
tasks.batchDeleteTask
Deletes multiple AgencyZoom tasks in a batch; task deletion is permanent and the response indicates overall batch success, not individual task status.
Risk: destructive · Irreversible
Output:
Record<string, any> \| any[]
completeTask
tasks.completeTask
Marks an existing and accessible task in AgencyZoom as ‘completed’; this action does not return the full updated task object.
Risk: write
Output:
Record<string, any> \| any[]
createTask
tasks.createTask
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.
Risk: write
Output
deleteATask
tasks.deleteATask
Permanently and irreversibly deletes an existing task, identified by its taskId.
Risk: destructive · Irreversible
Output:
Record<string, any> \| any[]
getTheTaskDetails
tasks.getTheTaskDetails
Retrieves comprehensive details for a specific task using its unique taskId, which must correspond to an existing task in AgencyZoom.
Risk: read
Output
reopenATask
tasks.reopenATask
Reopens an existing AgencyZoom task that is currently ‘completed’ or ‘closed’, allowing it to be reactivated with optional comments.
Risk: write
Output:
Record<string, any> \| any[]
searchTasks
tasks.searchTasks
Searches and lists tasks, supporting pagination and accepting filter criteria in the POST request body despite an empty request schema.
Risk: read
Output:
Record<string, any> \| any[]
updateTask
tasks.updateTask
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.
Risk: write
Output
Text Threads
getAListOfProducer
textThreads.getAListOfProducer
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 |
Risk: read
Output:
Record<string, any> \| any[]
removeTextThreadEndpoint
textThreads.removeTextThreadEndpoint
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.
Risk: destructive · Irreversible
Output:
Record<string, any> \| any[]
searchSmsThreads
textThreads.searchSmsThreads
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 |
Risk: read
Output:
Record<string, any> \| any[]
textDetailThread
textThreads.textDetailThread
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.
Risk: read
Output:
Record<string, any> \| any[]
unreadThread
textThreads.unreadThread
Updates the read or unread status of a specific SMS/text thread within AgencyZoom.
Risk: write
Output:
Record<string, any> \| any[]
V4sso
authenticateForJwtviaV4Sso
v4sso.authenticateForJwtviaV4Sso
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.
Risk: write
Output
getAuthUrlForV4Sso
v4sso.getAuthUrlForV4Sso
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 |
Risk: write
Output:
Record<string, any> \| any[]