agencybloc_search_individuals
Search individuals
Search individuals (clients and contacts) in AgencyBloc. All filters are optional and combine; with none you get the first records. Returns id, name, email, birth date, phones and last-updated time (national ids such as SSN are never returned). Use updated_since to find recently changed people. POST individuals/search.
Parametersemaillimitphonegroup_idlast_namefirst_nameupdated_sinceupdated_before
agencybloc_get_individual
Get individual
One individual by id, with addresses, policies and custom fields (and activities when include_activities is true). National ids are removed. POST individuals/detail.
Parametersindividual_idrequiredinclude_activities
agencybloc_search_groups
Search groups
Search groups (employer / business accounts) in AgencyBloc by name, type or phone. Returns id, name, type and phone. POST groups/search.
Parameterstypelimitgroup_nameupdated_sincebusiness_phone
agencybloc_get_group
Get group
One group by id, with addresses, policies and custom fields (and activities when include_activities is true). POST groups/detail.
Parametersgroup_idrequiredinclude_activities
agencybloc_search_policies
Search policies
Search policies by number, coverage type, carrier, holder, servicing agent, application date or last update. Returns id, holder, policy number, carrier, status, coverage type, effective and renewal dates. Use submitted_after/updated_since for recent business. POST policies/search.
Parameterslimitcarrierentity_identity_typecoverage_typepolicy_numberupdated_sinceupdated_beforesubmitted_aftersubmitted_beforeservicing_agent_id
agencybloc_get_policy
Get policy
One policy by id: holder, agent, carrier, status, dates, premium, coverages and custom fields. POST policies/detail.
Parameterspolicy_idrequired
agencybloc_search_agents
Search agents
Search agents (producers) by name, email or phone. Returns id, name, email and phones. POST agents/search.
Parametersemaillimitphonelast_namefirst_name
agencybloc_get_agent
Get agent
One agent by id, with agencies, addresses and custom fields (and activities when include_activities is true). POST agents/detail.
Parametersagent_idrequiredinclude_activities
agencybloc_search_carriers
Search carriers
Search insurance carriers by name or phone. Returns id, name, abbreviation and phones. POST carriers/search.
Parameterslimitphonecarrier_name
agencybloc_list_activities
List activities of a record
All activities (tasks, calls, renewals) logged on one group, individual, agent, carrier or lead: date, subject, notes, status, type, method, priority and follow-up. There is no paging. POST activities/list.
Parametersentity_idrequiredentity_typerequired
agencybloc_get_activities
Get activities by id
Activities by id (1-50 ids), e.g. the ids shown on a policy or individual. POST activity/list.
Parametersactivity_idsrequired
agencybloc_list_notes
List notes of a record
Notes (subject, body, author, dates, pinned flag, attachment names) on one agent, group, individual or policy, newest change first. There is no paging. POST notes/list.
Parametersentity_idrequiredentity_typerequired
agencybloc_search_leads_by_phone
Search sales records (leads) by phone
Find Sales Enablement records (leads) by phone number; the search is by phone only. Only accounts with the Sales Enablement module have them. POST salesEnablement/leads/searchphone.
Parametersphonerequired
agencybloc_get_lead
Get sales record (lead)
One Sales Enablement record (lead) by record id. POST salesEnablement/Leads/detail.
Parametersrecord_idrequired
agencybloc_create_individual
Create individual
WRITE: create a new individual (client or contact) in AgencyBloc. Needs first and last name; everything else is optional. It does not check for duplicates: search first. Returns the new individualID. POST individuals/create.
Parameterszipcitytagstypeemailstategenderstatusstreet1street2group_idlast_namerequired+10 more
agencybloc_update_individual
Update individual
WRITE: change fields of an existing individual; fields you leave out are not sent. Tags are replaced (empty string clears them). Addresses are not changed here. Returns the individualID. POST individuals/update.
Parameterstagstypeemailgenderstatusgroup_idbirth_datecell_phonehome_phonelead_sourcecustom_fieldsindividual_idrequired+3 more
agencybloc_create_group
Create group
WRITE: create a new group (employer / business account) in AgencyBloc. It does not check for duplicates: search first. Returns the new groupID. POST groups/create.
Parametersdbazipcitytypestatestatusstreet1street2websiteindustryemployeesgroup_namerequired+6 more
agencybloc_update_group
Update group
WRITE: change fields of an existing group (including its name); fields you leave out are not sent. Returns the groupID. POST groups/update.
Parametersdbatypewebsitegroup_idrequiredindustryemployeesgroup_namedescriptioncustom_fieldsbusiness_phoneaccount_managerservicing_agent_id
agencybloc_create_policy
Create policy
WRITE: create a policy on an existing group or individual. Needs the holder (entity_id + entity_type), coverage type, status and the carrier's full name; unknown coverage types / statuses are created in the account. carrier_product also creates a coverage (and the carrier product if unknown). effective_date and premium are policy-level fields, not coverage fields. Returns the new policyID. POST policies/create.
Parameterslivesnotesstatusrequiredcarrierrequiredpremiumentity_idrequiredterm_dateentity_typerequiredrenewal_datecoverage_typerequiredcustom_fieldspay_frequency+5 more
agencybloc_update_policy
Update policy
WRITE: change fields of an existing policy (status, carrier, dates, premium ...); fields you leave out are not sent. carrier_product requires carrier and first reads the policy: it creates the first coverage or changes the sole existing coverage, but refuses multiple coverages to avoid adding an unintended one. effective_date and premium remain policy-level fields. Returns the policyID. POST policies/update.
Parameterslivesnotesstatuscarrierpremiumpolicy_idrequiredterm_daterenewal_datecoverage_typecustom_fieldspay_frequencypolicy_number+4 more
agencybloc_create_activity
Create activity
WRITE: log an activity (call, task, renewal reminder) on a group, individual, agent, carrier or lead. Status, type, method and priority are the text values of the account's dropdowns (My Agency Settings > Data Administration); unknown values are created. When the status is not Complete the activity is a follow-up: give follow_up_user_id and follow_up_date (and start/end times), and AgencyBloc assigns it to that user. Nothing is sent to the customer. Activities cannot be edited or deleted through the API. Returns the new activityID. POST activities/create.
Parameterstyperequirednotesrequiredmethodrequiredstatusrequiredsubjectrequiredpriorityrequiredentity_idrequiredentity_typerequiredactivity_datefollow_up_datefollow_up_all_dayfollow_up_user_id+3 more
agencybloc_create_note
Add note
WRITE: add one note (subject + body) to an agent, group, individual or policy. AgencyBloc never allows notes to be edited or deleted through the API (audit rule), so the note is permanent. Pinning a note unpins the previously pinned one. Returns the new note id. POST notes/create.
Parametersbodyrequiredpinnedsubjectrequiredentity_idrequiredentity_typerequired