{% extends "layout.html" %} {% block content %}
{% if action_performed %}

Successfully {{ action_performed }} Association

{% endif %}

Associated Contacts

// src/routes/companies.py
associations = hubspot.crm.associations.batch_api.read(
    ObjectType.COMPANIES,
    ObjectType.CONTACTS,
    batch_input_public_object_id=BatchInputPublicObjectId(inputs=[company_id])
)
{% for contact in associated_contacts %} {% endfor %}
ID Email
{{ contact.id }} {{ contact.properties.email }}
{% endblock %}