Canopy Connect
App · 14 actions
Read Canopy Connect insurance pulls, monitoring events, widgets and Policy Streams.
Actions
| Action | What it does |
|---|---|
| Get carrier | Read supported products for an insurance carrier. |
| Get insurance pull | Read policy information collected from a connected carrier. |
| Get monitoring | Read a monitor and optionally its pulls. |
| Get policy stream object | Read a policy stream object by ID. |
| Get team | Read the connected Canopy Connect team. |
| Get widget | Read a connection widget by ID. |
| List carriers | Read supported insurance carriers. |
| List insurance pulls | Read insurance pulls by date with limit and offset. |
| List monitoring events | Read the differences between the two most recent pulls. |
| List monitorings | Read recurring insurance monitors and their status. |
| List policy streams | Read policy streams available to the team. |
| List widgets | Read the team’s connection widgets. |
| Read policy stream updates | Read policy stream objects after a saved cursor. |
| Read policy stream updates by stream | Read policy stream objects for a specific stream. |
Get carrier
Read supported products for an insurance carrier.
Inputs
- Carrier id
carrier_idtextRequired - Carrier id.
- Products
productstext - Cannot be used with `public_alias`. Comma separated list of products to include carriers for. Valid products: `personal`, `commercial`
- Public alias
public_aliastext - Cannot be used with `products`. The widget public alias that is used to include carriers with products that match the widget's supported products
Outputs
dataobject- The response from Canopy Connect.
Example output
{
"data": {
"carrier_id": "example",
"color": "example",
"createAccountUrl": "example",
"disablePasswordField": false,
"homepageUrl": "example",
"name": "example",
"products": [],
"resetPasswordUrl": "example",
"servicingActions": [],
"subIssuerOf": "example",
"thirdFieldPlaceholder": "example",
"thirdFieldValidatorError": "example",
"thirdFieldValidatorRgx": "example",
"thirdFieldValidatorRgxFlags": "example",
"usernameFieldPlaceholder": "example"
}
}Get insurance pull
Read policy information collected from a connected carrier.
Inputs
- Pull id
pull_idtextRequired - ID of Pull to return
- With property data
with_property_datatrue/false - Fetch property data when unavailable on the pull.
Outputs
dataobject- The response from Canopy Connect.
Example output
{
"data": {
"pull": {
"account_email": "example",
"account_identifier": "example",
"addresses": [],
"agents": [],
"answers": [],
"claims": [],
"created_at": "example",
"documents": [],
"drivers": [],
"driving_records": [],
"email": "example",
"encountered_mfa": false,
"first_name": "example",
"funnel": {
"assignee": {
"agent_id": "example",
"email": "example",
"first_name": "example",
"last_name": "example"
},
"premium": 1.0,
"stage": "WORKING"
},
"home_phone": "example",
"insurance_provider_friendly_name": "example",
"insurance_provider_name": "example",
"is_archived": false,
"last_name": "example",
"loss_events": [],
"meta_data": "example",
"metadata": {},
"middle_name": "example",
"mobile_phone": "example",
"no_claims": false,
"no_documents": false,
"no_drivers": false,
"no_loss_events": false,
"no_policies": false,
"parent_pull_id": "example",
"phone": "example",
"policies": [],
"policy_check_status": "NONE",
"public_alias": "example",
"public_url": "example",
"pull_id": "example",
"skipped_product_types": [],
"status": "STARTED",
"supported_servicing_actions": [],
"team_id": "example",
"type": "PULLING_DATA",
"widget_id": "example",
"work_phone": "example",
"work_phone_extension": "example"
},
"success": false
}
}Get monitoring
Read a monitor and optionally its pulls.
Inputs
- Monitoring id
monitoring_idtextRequired - ID of Monitoring
- With pulls
with_pullstrue/false - Whether pulls should be includedOne of:
true. - Limit
limittext - Pagination limit for the pulls
- Before
beforetext - Pagination before pointer for a pull_id
Outputs
dataobject- The response from Canopy Connect.
Example output
{
"data": {
"monitoring": {
"interval": "example",
"latest_pull_id": "example",
"monitoring_id": "example",
"next_pull_date": "example",
"status": "ACTIVE",
"stop_after_date": "example"
},
"pulls": []
}
}Get policy stream object
Read a policy stream object by ID.
Inputs
- Object id
object_idtextRequired - ID of the Policy Stream object
Outputs
dataobject- The response from Canopy Connect.
Example output
{
"data": {
"object": {
"carrier": "example",
"carrier_customer_identifier": "example",
"change": "ADDED",
"changed_at": "example",
"details": {},
"effective_at": "example",
"id": "example",
"last_verified_at": "example",
"policy_id": "example",
"policy_number": "example",
"policy_stream_id": "example",
"state": "ACTIVE",
"type": "POLICY_TERM"
},
"pull": "example"
}
}Get team
Read the connected Canopy Connect team.
Inputs
None.
Outputs
dataobject- The response from Canopy Connect.
Example output
{
"data": {
"client_id": "example",
"company_name": "example",
"team_id": "example"
}
}Get widget
Read a connection widget by ID.
Inputs
- Widget id
widget_idtextRequired - Widget id.
Outputs
dataobject- The response from Canopy Connect.
Example output
{
"data": {
"success": false,
"widget": {
"agents": [],
"brand_color_hex": "example",
"cobranded_intro_screen": false,
"company_name": "example",
"icon_src": "example",
"intro_title": "example",
"is_sandbox": false,
"logo_src": "example",
"on_success_redirect_url": "example",
"public_alias": "example",
"public_url": "example",
"success_message": "example",
"widget_id": "example"
}
}
}List carriers
Read supported insurance carriers.
Inputs
- Products
productstext - Cannot be used with `public_alias`. Comma separated list of products to show carriers for. Valid products: `personal`, `commercial`
- Public alias
public_aliastext - Cannot be used with `products`. The widget public alias that is used to return carriers with products that match the widget's supported products
Outputs
datalist- The response from Canopy Connect.
Example output
{
"data": []
}List insurance pulls
Read insurance pulls by date with limit and offset.
Inputs
- Since
sincedate and time - Filter by Pulls that occurred since the supplied date (inclusive)
- Before
beforedate and time - Filter by Pulls that occurred before the supplied date (inclusive)
- Limit
limitnumber - Optionally limit the number of Pulls that are returned in the response to a maximum of limit. Use along with offsetFrom 1 to 100.
- Offset
offsetnumber - Optionally return Pulls starting from the supplied offset within the total list of Pulls matching the query. Use along with limit
Outputs
dataobject- The response from Canopy Connect.
Example output
{
"data": {
"pulls": [],
"total_pulls": 1
}
}List monitoring events
Read the differences between the two most recent pulls.
Inputs
- Monitoring id
monitoring_idtextRequired - ID of Monitoring
Outputs
dataobject- The response from Canopy Connect.
Example output
{
"data": {
"events": [],
"latest_pull_id": "example",
"previous_pull_id": "example"
}
}List monitorings
Read recurring insurance monitors and their status.
Inputs
- Limit
limitnumber - Pagination limit
- Before
beforetext - Pagination before pointer of a monitoring_id
- Pull id
pull_idtext - Filter used to list Monitorings related to a Pull (cannot be used with account_identifier)
- Account identifier
account_identifiertext - Filter used to list Monitorings related to an Account Identifier (cannot be used with pull_id)
- Status
statustext - Filter used to list Monitorings of a certain statusOne of:
ACTIVE,STOPPED.
Outputs
dataobject- The response from Canopy Connect.
Example output
{
"data": {
"monitorings": [],
"monitorings_count": 1
}
}List policy streams
Read policy streams available to the team.
Inputs
None.
Outputs
dataobject- The response from Canopy Connect.
Example output
{
"data": {
"policy_streams": []
}
}List widgets
Read the team’s connection widgets.
Inputs
- Limit
limitnumber - Pagination limit for the widgetsFrom 1 to 100.
- Before
beforetext - Pagination before pointer for a widget_id
Outputs
dataobject- The response from Canopy Connect.
Example output
{
"data": {
"success": false,
"widgets": []
}
}Read policy stream updates
Read policy stream objects after a saved cursor.
Inputs
- Cursor
cursortext - The `next_cursor` from your previous sync. Leave it out to start from the beginning. Cursors are opaque; store and send them back as-is.
- Limit
limitnumber - Maximum number of objects to returnFrom 1 to 500.
Outputs
dataobject- The response from Canopy Connect.
Example output
{
"data": {
"has_more": false,
"next_cursor": "example",
"objects": [],
"streams": []
}
}Read policy stream updates by stream
Read policy stream objects for a specific stream.
Inputs
- Policy stream
policy_stream_idtextRequired - ID of the Policy Stream
- Cursor
cursortext - The `next_cursor` from your previous sync. Leave it out to start from the beginning. Cursors are opaque; store and send them back as-is.
- Limit
limitnumber - Maximum number of objects to returnFrom 1 to 500.
Outputs
dataobject- The response from Canopy Connect.
Example output
{
"data": {
"has_more": false,
"next_cursor": "example",
"objects": [],
"streams": []
}
}