AgencyZoom

App · 20 actions

Search insurance leads, customers, tasks and service requests.

Actions

ActionWhat it does
Get customerGet customer from AgencyZoom.
Get leadGet lead from AgencyZoom.
Get taskGet task from AgencyZoom.
List carriersList carriers from AgencyZoom.
List customer policiesList customer policies from AgencyZoom.
List customer tasksList customer tasks from AgencyZoom.
List employeesList employees from AgencyZoom.
List lead notesList lead notes from AgencyZoom.
List lead opportunitiesList lead opportunities from AgencyZoom.
List lead quotesList lead quotes from AgencyZoom.
List lead sourcesList lead sources from AgencyZoom.
List lead tasksList lead tasks from AgencyZoom.
List locationsList locations from AgencyZoom.
List pipelines and stagesList pipelines and stages from AgencyZoom.
List service categoriesList service categories from AgencyZoom.
List tagsList tags from AgencyZoom.
Search customersSearch customers from AgencyZoom.
Search leadsSearch leads from AgencyZoom.
Search service requestsSearch service requests from AgencyZoom.
Search tasksSearch tasks from AgencyZoom.

Get customer

Get customer from AgencyZoom.

Inputs

Customer IDcustomer_idnumberRequired
ID of the customer

Outputs

dataobject
The response from AgencyZoom.
Example output
{
  "data": {
    "businessName": "example",
    "city": "example",
    "country": "example",
    "email": "example",
    "firstname": "example",
    "id": 1,
    "lastname": "example",
    "middlename": "example",
    "phone": "example",
    "secondaryEmail": "example",
    "secondaryPhone": "example",
    "state": "example",
    "streetAddress": "example",
    "zip": "example"
  }
}

Get lead

Get lead from AgencyZoom.

Inputs

Lead IDlead_idnumberRequired
ID of the lead

Outputs

dataobject
The response from AgencyZoom.
Example output
{
  "data": {
    "city": "example",
    "country": "example",
    "email": "example",
    "firstname": "example",
    "id": 1,
    "lastname": "example",
    "leadType": "example",
    "middlename": "example",
    "phone": "example",
    "secondaryEmail": "example",
    "secondaryPhone": "example",
    "state": "example",
    "status": 0,
    "streetAddress": "example"
  }
}

Get task

Get task from AgencyZoom.

Inputs

Task IDtask_idnumberRequired
ID of the task

Outputs

dataobject
The response from AgencyZoom.
Example output
{
  "data": {
    "assignedDate": "example",
    "assignees": [
      {
        "firstname": "example",
        "id": 1,
        "isEmployee": true,
        "lastname": "example"
      }
    ],
    "comments": "example",
    "completeDate": "example",
    "completedBy": 1,
    "createDate": "example",
    "dueDate": "example",
    "duration": 1,
    "id": 1,
    "isCompletedByEmployee": true,
    "status": 0,
    "taskDateTime": "example",
    "timeSpecific": true,
    "title": "example"
  }
}

List carriers

List carriers from AgencyZoom.

Inputs

None.

Outputs

datalist
The response from AgencyZoom.
Example output
{
  "data": [
    {
      "id": 1,
      "name": "example",
      "standardCarrierCode": "example"
    }
  ]
}

List customer policies

List customer policies from AgencyZoom.

Inputs

Customer IDcustomer_idnumberRequired
ID of the customer

Outputs

dataobject
The response from AgencyZoom.
Example output
{
  "data": {
    "agentId": 1,
    "agentName": "example",
    "carrierId": 1,
    "id": 1,
    "items": 1,
    "leadSourceId": 1,
    "policyNumber": "example",
    "policyTypeId": "example",
    "policyTypeName": "example",
    "premium": 1,
    "soldDate": "example",
    "standardCarrierCode": "example",
    "standardProductLineCode": "example",
    "status": 0
  }
}

List customer tasks

List customer tasks from AgencyZoom.

Inputs

Customer IDcustomer_idnumberRequired
ID of the customer

Outputs

datalist
The response from AgencyZoom.
Example output
{
  "data": [
    {
      "assignedDate": "example",
      "assignees": [
        {
          "firstname": "example",
          "id": 1,
          "isEmployee": true,
          "lastname": "example"
        }
      ],
      "comments": "example",
      "completeDate": "example",
      "completedBy": 1,
      "createDate": "example",
      "dueDate": "example",
      "duration": 1,
      "id": 1,
      "isCompletedByEmployee": true,
      "status": 0,
      "taskDateTime": "example",
      "timeSpecific": true,
      "title": "example"
    }
  ]
}

List employees

List employees from AgencyZoom.

Inputs

None.

Outputs

datalist
The response from AgencyZoom.
Example output
{
  "data": [
    {
      "avatar": "example",
      "email": "example",
      "externalIds": [
        "example"
      ],
      "externalSystem": "example",
      "firstname": "example",
      "id": 1,
      "isActive": true,
      "isOwner": true,
      "isProducer": true,
      "lastname": "example",
      "phone": "example",
      "userId": 1
    }
  ]
}

List lead notes

List lead notes from AgencyZoom.

Inputs

Lead IDlead_idnumberRequired
ID of the lead

Outputs

datalist
The response from AgencyZoom.
Example output
{
  "data": [
    {
      "attr": {},
      "body": "example",
      "createDate": "example",
      "createdBy": "example",
      "title": "example",
      "type": "example"
    }
  ]
}

List lead opportunities

List lead opportunities from AgencyZoom.

Inputs

Lead IDlead_idnumberRequired
ID of the lead

Outputs

datalist
The response from AgencyZoom.
Example output
{
  "data": [
    {
      "carrierId": 1,
      "customFields": [
        {
          "fieldName": "example",
          "fieldValue": [
            "example"
          ]
        }
      ],
      "id": 1,
      "items": 1,
      "premium": 1,
      "productLineId": 1,
      "propertyAddress": [
        {
          "address1": "example",
          "address2": "example",
          "city": "example",
          "country": "example",
          "id": 1,
          "leadOpportunityId": 1,
          "state": "example",
          "useMailingAddressAsLocation": 1,
          "zip": "example"
        }
      ],
      "standardCarrierCode": "example",
      "standardProductLineCode": "example",
      "status": 1
    }
  ]
}

List lead quotes

List lead quotes from AgencyZoom.

Inputs

Lead IDlead_idnumberRequired
ID of the lead

Outputs

datalist
The response from AgencyZoom.
Example output
{
  "data": [
    {
      "carrierId": 1,
      "carrierName": "example",
      "customFields": [
        {
          "fieldName": "example",
          "fieldValue": [
            "example"
          ]
        }
      ],
      "id": 1,
      "items": 1,
      "potentialRevenue": 1,
      "premium": 1,
      "productLineId": 1,
      "productName": "example",
      "propertyAddress": [
        {
          "address1": "example",
          "address2": "example",
          "city": "example",
          "country": "example",
          "id": 1,
          "leadOpportunityId": 1,
          "state": "example",
          "useMailingAddressAsLocation": 1,
          "zip": "example"
        }
      ],
      "sold": true,
      "standardCarrierCode": "example",
      "standardProductLineCode": "example",
      "status": 1
    }
  ]
}

List lead sources

List lead sources from AgencyZoom.

Inputs

None.

Outputs

datalist
The response from AgencyZoom.
Example output
{
  "data": [
    {
      "categoryId": 1,
      "excludeAsSales": true,
      "id": 1,
      "name": "example"
    }
  ]
}

List lead tasks

List lead tasks from AgencyZoom.

Inputs

Lead IDlead_idnumberRequired
ID of the lead

Outputs

datalist
The response from AgencyZoom.
Example output
{
  "data": [
    {
      "assignedDate": "example",
      "assignees": [
        {
          "firstname": "example",
          "id": 1,
          "isEmployee": true,
          "lastname": "example"
        }
      ],
      "comments": "example",
      "completeDate": "example",
      "completedBy": 1,
      "createDate": "example",
      "dueDate": "example",
      "duration": 1,
      "id": 1,
      "isCompletedByEmployee": true,
      "status": 0,
      "taskDateTime": "example",
      "timeSpecific": true,
      "title": "example"
    }
  ]
}

List locations

List locations from AgencyZoom.

Inputs

None.

Outputs

datalist
The response from AgencyZoom.
Example output
{
  "data": [
    {
      "id": "example",
      "name": "example"
    }
  ]
}

List pipelines and stages

List pipelines and stages from AgencyZoom.

Inputs

Typetypetext
Pipeline typeOne of: lead, service.

Outputs

datalist
The response from AgencyZoom.
Example output
{
  "data": [
    {
      "id": 1,
      "name": "example",
      "seq": 1,
      "stages": [
        {
          "id": 1,
          "name": "example",
          "seq": 1,
          "status": 1
        }
      ],
      "status": 1,
      "type": "example"
    }
  ]
}

List service categories

List service categories from AgencyZoom.

Inputs

None.

Outputs

datalist
The response from AgencyZoom.
Example output
{
  "data": [
    {
      "id": 1,
      "name": "example"
    }
  ]
}

List tags

List tags from AgencyZoom.

Inputs

None.

Outputs

dataobject
The response from AgencyZoom.
Example output
{
  "data": {
    "tags": [
      {
        "id": 1,
        "name": "example"
      }
    ]
  }
}

Search customers

Search customers from AgencyZoom.

Inputs

Page sizepage_sizenumber
Page size: number of results returned. The maximum is 100Default: 20.
Pagepagenumber
The page being returned. Start with 0Default: 0.
Sortsorttext
Field name used for sorting
Orderordertext
Order.One of: asc, desc.
Locationlocationtext
Unique identifier of the customer's location. Often used to filter customers within a specific branch.
Statestatetext
Two-letter abbreviation of the U.S. state where the customer resides, e.g., 'CA' for California or 'TX' for Texas. Used to filter customers by state.
Citycitytext
The name of the city where the customer is located.
Emailemailtext
The customer's email address.
Phonephonetext
The customer's phone number.
Start datestart_datetext
The starting date for filtering customers by their creation date. Must be in ISO 8601 format, e.g., '2024-01-01'.
End dateend_datetext
The end date for filtering customers by their creation date. Must be in ISO 8601 format, e.g., '2024-12-31'.
Lead sourcelead_source_idnumber
The ID of the lead source that brought in the customer. Used for filtering by specific marketing or acquisition channels.
Firstnamefirstnametext
The customer's first name. Supports partial match filtering for flexible searches.
Lastnamelastnametext
The customer's last name. Supports partial match filtering for flexible searches.
Full namefull_nametext
Full name
Policy typepolicy_typenumber
The ID of the policy type associated with the customer.
Standard product line codestandard_product_line_codetext
The standard code of the policy type. Applicable only to enterprise users.
Policy numberpolicy_numbertext
The policy number to search for. Searches both written policies and AMS-synced policies.
Agentagent_idnumber
The unique identifier of the agent assigned to the policy.
Statusstatusnumber
The status of the customer: 1 for active, 0 for inactive, and -1 for all. The default is -1 if no filter is applied

Outputs

dataobject
The response from AgencyZoom.
Example output
{
  "data": {
    "customers": [
      {
        "businessName": "example",
        "city": "example",
        "country": "example",
        "email": "example",
        "firstname": "example",
        "id": 1,
        "lastname": "example",
        "middlename": "example",
        "phone": "example",
        "secondaryEmail": "example",
        "secondaryPhone": "example",
        "state": "example",
        "streetAddress": "example",
        "zip": "example"
      }
    ],
    "page": 1,
    "pageSize": 1,
    "totalCount": 1
  }
}

Search leads

Search leads from AgencyZoom.

Inputs

Page sizepage_sizenumber
Page size: number of results returned. The maximum is 100Default: 20.
Pagepagenumber
The page being returned. Start with 0Default: 0.
Sortsorttext
Field name used for sorting, not in enum, or empty, default value is lastEnterStageDateOne of: firstname, lastname, lastEnterStageDate, lastActivityDate. Default: lastEnterStageDate.
Orderordertext
Order.One of: asc, desc.
Locationlocationtext
Location ID
IDidnumber
Unique identifier for the lead record
Assigned toassigned_tonumber
Unique identifier of the agent assigned to the lead
Creatorcreatornumber
Unique identifier of the agent who created the lead
Statusstatusnumber
Current status of the lead (0: NEW, 1: QUOTED, 2: WON, 3: LOST, 4: CONTACTED, 5: EXPIRED)One of: 0, 1, 2, 3, 4, 5.
Lead sourcelead_source_idnumber
Unique identifier of the lead source
Customer namecustomer_nametext
Customer name for prefix-based search matching
Customer emailcustomer_emailtext
Customer email address for prefix-based search matching
Customer phonecustomer_phonetext
Customer phone number for prefix-based search matching
Customer phone listcustomer_phone_listlist
Array of phone numbers for exact matching against lead records
Start datestart_datetext
Start date for lead creation date range filter (YYYY-MM-DD format)
End dateend_datetext
End date for lead creation date range filter (YYYY-MM-DD format)
Sold periodsold_periodtext
Predefined date range for sold leads (today, yesterday, thisweek, lastweek, lastmonth, mtd, qtd, ytd, or custom range YYYY-MM-DD|YYYY-MM-DD)One of: today, yesterday, mtd, lastmonth, ytd, lastyear.
Pipeline workflow IDpipeline_workflow_idnumber
Unique identifier of the workflow associated with the lead
Workflow stage IDworkflow_stage_idtext
Workflow stage identifier(s) for filtering leads by stage (supports multiple stages separated by '/',like stg2/stg3/stg5)
Last activity earliest datelast_activity_earliest_datetext
Earliest date for last activity filter (YYYY-MM-DD format)
Last activity latest datelast_activity_latest_datetext
Latest date for last activity filter (YYYY-MM-DD format)

Outputs

dataobject
The response from AgencyZoom.
Example output
{
  "data": {
    "leads": [
      {
        "city": "example",
        "country": "example",
        "email": "example",
        "firstname": "example",
        "id": 1,
        "lastname": "example",
        "leadType": "example",
        "middlename": "example",
        "phone": "example",
        "secondaryEmail": "example",
        "secondaryPhone": "example",
        "state": "example",
        "status": 0,
        "streetAddress": "example"
      }
    ],
    "page": 1,
    "pageSize": 1,
    "quoteAmount": 1,
    "totalCount": 1
  }
}

Search service requests

Search service requests from AgencyZoom.

Inputs

Page sizepage_sizenumber
Page size: number of results returned. The maximum is 100Default: 20.
Pagepagenumber
The page being returned. Start with 0Default: 0.
Sortsorttext
Field name used for sorting
Orderordertext
Order.One of: asc, desc.
Locationlocationtext
Location ID
Full namefull_nametext
Name of a household
Statusstatusnumber
Service ticket status
Categorycategorynumber
Service ticket category
Priorityprioritynumber
Service ticket priority
Resolutionresolutiontext
The id of service ticket resolution
Complete startcomplete_starttext
The complete start date of a service ticket
Complete endcomplete_endtext
The complete end date of a service ticket
Complete periodcomplete_periodtext
The complete priorid
Create startcreate_starttext
The create start date of a service ticket
Create endcreate_endtext
The create end date of a service ticket
Create periodcreate_periodtext
The complete priorid
Timezonetimezonetext
The timezone of agency
Pipeline workflow IDpipeline_workflow_idnumber
The id of Pipeline
Workflow stage IDworkflow_stage_idnumber
The id of stage
Tagstagstext
The id of tags
Service ticket IDSservice_ticket_idslist
Service ticket Ids
Policy typepolicy_typelist
The ids of policy type. Optional if standardProductLineCodes is provided.
Standard product line codesstandard_product_line_codeslist
The standard codes of policy type.
Carriercarrierlist
The ids of carrier. Optional if standardCarrierCodes is provided.
Standard carrier codesstandard_carrier_codeslist
The standard codes of carrier.
Policy numberpolicy_numbertext
The policy number to search for. Searches both written policies and AMS-synced policies.

Outputs

dataobject
The response from AgencyZoom.
Example output
{
  "data": {
    "page": 1,
    "pageSize": 1,
    "serviceTickets": [
      {
        "agencyId": 1,
        "createDate": "example",
        "csr": 1,
        "email": "example",
        "enrolled": 1,
        "enterStageTS": 1,
        "householdId": 1,
        "id": 1,
        "name": "example",
        "status": 1,
        "statusDesc": "example",
        "subject": "example",
        "workflowId": 1,
        "workflowStageId": 1
      }
    ],
    "totalCount": 1
  }
}

Search tasks

Search tasks from AgencyZoom.

Inputs

Page sizepage_sizenumber
Page size: number of results returned. The maximum is 200Default: 20.
Pagepagenumber
The page being returned. Start with 0Default: 0.
Sortsorttext
Field name used for sorting
Orderordertext
Order.One of: asc, desc.
Locationlocationtext
Location ID
Start datestart_datetext
Start date of task created
End dateend_datetext
End date of task created
Typetypetext
Task typeOne of: sales, onboarding.
Assigneeassignee_idnumber
Assignee ID
Life professional IDlife_professional_idnumber
ID of Life & Health Professional
Statusstatusnumber
Task status. 0 - open, 1 - completedOne of: 0, 1.
Periodperiodtext
Predefined periodOne of: past-due-rotting, past-due, remainder-week, next-week, today.
Lead source category IDlead_source_category_idnumber
LeadSource category id
Lead sourcelead_source_idnumber
LeadSource id

Outputs

dataobject
The response from AgencyZoom.
Example output
{
  "data": {
    "outstandingCount": 1,
    "page": 1,
    "pageSize": 1,
    "tasks": [
      {
        "assignedDate": "example",
        "assignees": [
          {}
        ],
        "comments": "example",
        "completeDate": "example",
        "completedBy": 1,
        "createDate": "example",
        "dueDate": "example",
        "duration": 1,
        "id": 1,
        "isCompletedByEmployee": true,
        "status": 0,
        "taskDateTime": "example",
        "timeSpecific": true,
        "title": "example"
      }
    ],
    "totalCount": 1
  }
}

On this page