# HubSpot docs: APIs Legacy CRM ## CRM - [HubSpot CRM embed](https://developers.hubspot.com/docs/api-reference/legacy/crm/embed.md): Learn how to embed a HubSpot view such as a record timeline, property history, or meeting link in a third-party platform. - [CRM search](https://developers.hubspot.com/docs/api-reference/legacy/crm/search-the-crm.md): The CRM search endpoints make getting data more efficient by allowing developers to filter, sort, and search across any CRM object type. - [Understanding the CRM APIs](https://developers.hubspot.com/docs/api-reference/legacy/crm/understanding-the-crm.md): HubSpot’s CRM is a system for managing customer relationships and data. Learn about objects and the related CRM APIs. - [Using Object APIs](https://developers.hubspot.com/docs/api-reference/legacy/crm/using-object-apis.md): Learn how to use the object API endpoints to create and manage records or activities. - [APIs / Legacy / CRM / Objects (425 pages)](https://developers.hubspot.com/docs/_llms/apis/legacy/crm/objects.txt): Documentation for APIs / Legacy / CRM / Objects. ### Activities #### Calls - [Activities | Calls](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/calls/guide.md): Use the calls engagement API to log and manage calls on CRM records. - [Create](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/calls/create-call.md): Create a call with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard calls is provided. - [Read](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/calls/get-call.md): Read an Object identified by `{callId}`. `{callId}` refers to the internal object ID by default, or optionally any unique property value as specified by the `idProperty` query param. Control what is returned via the `properties` query param. - [List](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/calls/get-calls.md): Read a page of calls. Control what is returned via the `properties` query param. - [Update](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/calls/update-call.md): Perform a partial update of an Object identified by `{callId}`or optionally a unique property value as specified by the `idProperty` query param. `{callId}` refers to the internal object ID by default, and the `idProperty` query param refers to a property whose values are unique for the object. Prov… - [Archive](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/calls/delete-call.md): Move an Object identified by `{callId}` to the recycling bin. ##### Batch - [Create a batch of calls](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/calls/batch/create-calls.md): Create a batch of calls. The `inputs` array can contain a `properties` object to define property values for each record, along with an `associations` array to define [associations](https://developers.hubspot.com/docs/guides/api/crm/associations/associations-v4) with other CRM records. - [Read a batch of calls by internal ID, or unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/calls/batch/get-calls.md): Retrieve a batch of calls by ID. - [Update a batch of calls by internal ID, or unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/calls/batch/update-calls.md): Update a batch of calls by ID. - [Create or update a batch of calls by unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/calls/batch/upsert-calls.md): Create or update records identified by a unique property value as specified by the `idProperty` query param. `idProperty` query param refers to a property whose values are unique for the object. - [Archive a batch of calls by ID](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/calls/batch/delete-calls.md): Archive a batch of calls by ID. Deleted calls can be restored within 90 days of being deleted, but call recordings recording will be permanently deleted. Learn more about [restoring activity records](https://knowledge.hubspot.com/records/restore-deleted-activity-in-a-record). ##### Search - [Search for calls](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/calls/search/search-calls.md): Search for calls by filtering on properties, searching through associations, and sorting results. Learn more about [CRM search](https://developers.hubspot.com/docs/guides/api/crm/search#make-a-search-request). #### Emails - [Activities | Email](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/emails/guide.md): Use the email engagement API to log and manage emails on CRM records. - [Create](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/emails/create-email.md): Create a email with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard emails is provided. - [Read](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/emails/get-email.md): Read an Object identified by `{emailId}`. `{emailId}` refers to the internal object ID by default, or optionally any unique property value as specified by the `idProperty` query param. Control what is returned via the `properties` query param. - [List](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/emails/get-emails.md): Read a page of emails. Control what is returned via the `properties` query param. - [Update](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/emails/update-email.md): Perform a partial update of an Object identified by `{emailId}`or optionally a unique property value as specified by the `idProperty` query param. `{emailId}` refers to the internal object ID by default, and the `idProperty` query param refers to a property whose values are unique for the object. Pr… - [Archive](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/emails/delete-email.md): Move an Object identified by `{emailId}` to the recycling bin. ##### Batch - [Create a batch of emails](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/emails/batch/create-emails.md): Create a batch of emails with specified properties and return the created objects. - [Read a batch of emails by internal ID, or unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/emails/batch/get-emails.md): Retrieve records by record ID or include the `idProperty` parameter to retrieve records by a custom unique value property. - [Update a batch of emails by internal ID, or unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/emails/batch/update-emails.md): Update a batch of emails using their internal IDs or unique property values. - [Create or update a batch of emails by unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/emails/batch/upsert-emails.md): Create or update records identified by a unique property value as specified by the `idProperty` query param. `idProperty` query param refers to a property whose values are unique for the object. - [Archive a batch of emails by ID](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/emails/batch/delete-emails.md): Archive a batch of emails identified by their IDs. ##### Search - [Search for emails using specified criteria and filters.](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/emails/search/search-emails.md): Perform a search for emails based on the provided query parameters and return matching results. #### Meetings - [Activities | Meetings](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/meetings/guide.md): Use the meetings engagement API to log and manage meetings on CRM records. - [Create](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/meetings/create-meeting.md): Create a meeting with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard meetings is provided. - [Read](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/meetings/get-meeting.md): Read an Object identified by `{meetingId}`. `{meetingId}` refers to the internal object ID by default, or optionally any unique property value as specified by the `idProperty` query param. Control what is returned via the `properties` query param. - [List](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/meetings/get-meetings.md): Read a page of meetings. Control what is returned via the `properties` query param. - [Update](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/meetings/update-meeting.md): Perform a partial update of an Object identified by `{meetingId}`or optionally a unique property value as specified by the `idProperty` query param. `{meetingId}` refers to the internal object ID by default, and the `idProperty` query param refers to a property whose values are unique for the object… - [Archive](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/meetings/delete-meeting.md): Move an Object identified by `{meetingId}` to the recycling bin. ##### Batch - [Create a batch of meetings](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/meetings/batch/create-meetings.md) - [Read a batch of meetings by internal ID, or unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/meetings/batch/get-meetings.md): Retrieve records by record ID or include the `idProperty` parameter to retrieve records by a custom unique value property. - [Update a batch of meetings by internal ID, or unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/meetings/batch/update-meetings.md) - [Create or update a batch of meetings by unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/meetings/batch/upsert-meetings.md): Create or update records identified by a unique property value as specified by the `idProperty` query param. `idProperty` query param refers to a property whose values are unique for the object. - [Archive a batch of meetings by ID](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/meetings/batch/delete-meetings.md) ##### Search - [Search meetings](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/meetings/search/search-meetings.md) #### Notes - [Activities | Notes](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/notes/guide.md): Contact records store information about individuals. The contacts endpoints allow you to manage this data and sync it between HubSpot and other systems. - [Create](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/notes/create-note.md): Create a note with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard notes is provided. - [Read](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/notes/get-note.md): Read an Object identified by `{noteId}`. `{noteId}` refers to the internal object ID by default, or optionally any unique property value as specified by the `idProperty` query param. Control what is returned via the `properties` query param. - [List](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/notes/get-notes.md): Read a page of notes. Control what is returned via the `properties` query param. - [Update](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/notes/update-note.md): Perform a partial update of an Object identified by `{noteId}`or optionally a unique property value as specified by the `idProperty` query param. `{noteId}` refers to the internal object ID by default, and the `idProperty` query param refers to a property whose values are unique for the object. Prov… - [Archive](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/notes/delete-note.md): Move an Object identified by `{noteId}` to the recycling bin. ##### Batch - [Create a batch of notes](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/notes/batch/create-notes.md): Create multiple notes in a single request by providing the necessary properties for each note. This operation returns the created notes with their unique identifiers. - [Read a batch of notes by internal ID, or unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/notes/batch/get-notes.md): Retrieve records by record ID or include the `idProperty` parameter to retrieve records by a custom unique value property. - [Update a batch of notes by internal ID, or unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/notes/batch/update-notes.md): Update multiple notes using their internal IDs or unique property values. This operation allows you to modify the properties of several notes in a single request, streamlining the process of managing note data in bulk. - [Create or update a batch of notes by unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/notes/batch/upsert-notes.md): Create or update records identified by a unique property value as specified by the `idProperty` query param. `idProperty` query param refers to a property whose values are unique for the object. - [Archive a batch of notes by ID](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/notes/batch/delete-notes.md): Archive multiple notes by their IDs in a single request. This operation moves the specified notes to the recycling bin, making them inaccessible from regular queries. ##### Search - [Search for notes based on specified criteria.](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/notes/search/search-notes.md): Execute a search for notes using filters, sorting options, and other query parameters to refine the results. This endpoint allows for complex queries to locate specific notes within the CRM system. #### Postal mail - [Activities | Postal Mail](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/postal-mail/guide.md): Use the postal mail engagement API to log any postal mail you've sent to or received from contacts or companies on their CRM records. - [Create postal mail](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/postal-mail/create-postal-mail.md) - [Get postal mail](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/postal-mail/get-postal-mail-postalMailId.md) - [Get all postal mail](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/postal-mail/get-postal-mail.md) - [Update postal mail](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/postal-mail/update-postal-mail.md) - [Archive postal mail](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/postal-mail/delete-postal-mail.md) ##### Batch - [Create postal mail](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/postal-mail/batch/create-postal-mail.md) - [Retrieve postal mail](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/postal-mail/batch/get-postal-mail.md) - [Update postal mail](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/postal-mail/batch/update-postal-mail.md) - [Upsert postal mail](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/postal-mail/batch/upsert-postal-mail.md) - [Archive postal mail](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/postal-mail/batch/delete-postal-mail.md) ##### Search - [Search for postal mail](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/postal-mail/search/search-postal-mail.md) #### Tasks - [Activities | Tasks](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/tasks/guide.md): Use the tasks engagement API to log and manage tasks on CRM records. - [Create](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/tasks/create-task.md): Create a task with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard tasks is provided. - [Read](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/tasks/get-task.md): Read an Object identified by `{taskId}`. `{taskId}` refers to the internal object ID by default, or optionally any unique property value as specified by the `idProperty` query param. Control what is returned via the `properties` query param. - [List](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/tasks/get-tasks.md): Read a page of tasks. Control what is returned via the `properties` query param. - [Update](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/tasks/update-task.md): Perform a partial update of an Object identified by `{taskId}`or optionally a unique property value as specified by the `idProperty` query param. `{taskId}` refers to the internal object ID by default, and the `idProperty` query param refers to a property whose values are unique for the object. Prov… - [Archive](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/tasks/delete-task.md): Move an Object identified by `{taskId}` to the recycling bin. ##### Batch - [Create a batch of tasks](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/tasks/batch/create-tasks.md): Create multiple tasks in a single request by providing a batch of task properties and associations. This endpoint allows for efficient task creation by processing multiple tasks together. - [Read a batch of tasks by internal ID, or unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/tasks/batch/get-tasks.md): Retrieve records by record ID or include the `idProperty` parameter to retrieve records by a custom unique value property. - [Update a batch of tasks by internal ID, or unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/tasks/batch/update-tasks.md): Update multiple tasks in a single request using their internal IDs or unique property values. This operation allows you to modify the properties of each task in the batch, ensuring efficient management of task data. - [Create or update a batch of tasks by unique property values](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/tasks/batch/upsert-tasks.md): Create or update records identified by a unique property value as specified by the `idProperty` query param. `idProperty` query param refers to a property whose values are unique for the object. - [Archive a batch of tasks by ID](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/tasks/batch/delete-tasks.md): Archive a batch of tasks by their IDs, moving them to the recycling bin. This operation requires a list of task IDs to be provided in the request body. ##### Search - [Search for tasks using specified criteria.](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/tasks/search/search-tasks.md): Execute a search for tasks based on the provided criteria, including filters, properties, and sorting options. This allows for retrieving tasks that match specific conditions or property values. #### Engagements - [Get call engagement dispositions](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/engagements/get-calling-v1-dispositions.md): Get all possible dispositions for sales calls (stored as engagements), listed as the outcome when viewing the call's outcome when viewing the call in the timeline in HubSpot. Due to how the underlying redirect logic works, your API logs will show any calls to this endpoint as /twilio/v1/dispositions… - [Get an engagement](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/engagements/get-engagements-v1-engagements-engagement-id.md): This endpoint is used to get an engagement (a task or activity) for a CRM record in HubSpot. Use case for this endpoint: This data can be used to report on per-rep productivity or to integrate HubSpot with other back-office tools. For another example, you can use this information about an individual… - [Get all engagements](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/engagements/get-engagements-v1-engagements-paged.md): This endpoint is used to get all engagements in an account. Use case for this endpoint: Because engagements represent individual activity, you can use the endpoint to source the inputs for a machine learning model to help predict the best time for a call to a prospect or a customer. - [Get recent engagements](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/engagements/get-engagements-v1-engagements-recent-modified.md): Get the most recently created or updated engagements in a portal, sorted by when they were last updated, with the most recently updated engagements first. - [Get engagements modified after](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/engagements/get-engagements-v1-engagements-modified-after.md): Get engagements that have been modified after a given point in time. Pass a Unix timestamp in milliseconds to start from a specific date, or pass a cursor returned by a previous response to continue from where you left off. Use this endpoint for incremental sync to efficiently retrieve only new and… - [Update an engagement](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/engagements/patch-engagements-v1-engagements-engagement-id.md): Update an engagement (a task or activity) on an object in HubSpot. See the documentation for creating an engagement for more details on the fields that can be included. Note: Associations cannot be modified using this endpoint. Use the CRM associations API to update associations for existing engagem… - [Create an engagement](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/engagements/post-engagements-v1-engagements.md): Use this endpoint to create an engagement (an email, call, meeting, task or note) on an object in HubSpot. Use case for this endpoint: This endpoint is useful for keeping your CRM records up-to-date on any interactions that take place outside of HubSpot. Activity reporting in the CRM also feeds off… - [Delete an engagement](https://developers.hubspot.com/docs/api-reference/legacy/crm/activities/engagements/delete-engagements-v1-engagements-engagement-id.md): Delete an engagement (a task or activity) on an object in HubSpot. Use case for this endpoint: Remove engagements that were created in error or are no longer needed. ### Associations - [Associations overview](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/overview.md): Learn how to create and manage associations between object records via the API. #### Associate records - [Associate records](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associate-records/guide.md): The CRM Associations endpoints are used to manage associations between object records. - [Retrieve all associations by object type](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associate-records/get-associations.md): Retrieve all associations between a specific record and an object type. Limit 500 per call. - [Report high usage](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associate-records/report-high-usage.md): Requests a report of all objects in the portal which have a high usage of associations - [Associate records (labeled)](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associate-records/update-association-labeled.md): Set association labels between two records. - [Associate records (default)](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associate-records/update-association.md): Create the default (most generic) association type between two object types - [Remove association between records](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associate-records/delete-association.md): deletes all associations between two records. ##### Batch - [Associate records (labeled)](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associate-records/batch/create-associations-labeled.md): Batch create associations for objects - [Associate records (default)](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associate-records/batch/create-associations.md): Create the default (most generic) association type between two object types - [Retrieve associations](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associate-records/batch/get-associations.md): Batch read associations for objects to specific object type. The 'after' field in a returned paging object can be added alongside the 'id' to retrieve the next page of associations from that objectId. The 'link' field is deprecated and should be ignored. Note: The 'paging' field will only be presen… - [Delete specific labels](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associate-records/batch/delete-association-labels.md): Batch delete specific association labels for objects. Deleting an unlabeled association will also delete all labeled associations between those two objects - [Remove associations](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associate-records/batch/delete-associations.md): Batch delete associations for objects #### Associations schema - [Configure associations](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associations-schema/guide.md): The Associations Schema endpoints are used to manage association types across objects. ##### Labels - [Create association label](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associations-schema/labels/create-associations-label.md): Create a new label that describes the relationship between two specified CRM object types. This can help in categorizing and managing associations more effectively. - [Retrieve association labels](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associations-schema/labels/get-associations-label.md): Retrieve all labels that describe the relationships between two specified CRM object types. These labels provide context about the nature of the associations. - [Update association label](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associations-schema/labels/update-associations-label.md): Update an existing label that describes the relationship between two specified CRM object types. This allows for modifications to existing association labels to better reflect the nature of the relationship. - [Delete association label](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associations-schema/labels/delete-associations-label.md): Remove a specific label from the association between two CRM object types. ##### Limits - [Configure association limits](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associations-schema/limits/create-associations-limits.md): Batch configure association limits between two object types. - [Retrieve all association limits](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associations-schema/limits/get-all-associations-limits.md): Retrieve all configured association limits between objects, which include details about how different CRM object types are associated with each other. - [Retrieve association limits](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associations-schema/limits/get-associations-limits.md): Retrieve the configuration details for associations between two specified CRM object types. Use this endpoint to understand limits that have been set for specific association types. - [Update association limits](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associations-schema/limits/update-associations-limits.md): Batch update association limits that have been configured between two object types. - [Remove association limits](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/associations-schema/limits/delete-associations-limits.md): Batch delete limits that have been defined for association types between two object types. #### v3 - [Associate records](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/v3/associate-records.md): The CRM Associations endpoints are used to manage associations between tickets, products, line items, and their related contacts, companies, and deals. - [Retrieve association types between objects.](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/v3/get-associations-schema.md) ##### Batch - [Create associations](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/v3/batch/create-associations-labeled.md): Batch create associations for objects - [Retrieve associations](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/v3/batch/get-associations.md): Batch read associations for objects to specific object type. The 'after' field in a returned paging object can be added alongside the 'id' to retrieve the next page of associations from that objectId. The 'link' field is deprecated and should be ignored. Note: The 'paging' field will only be presen… - [Archive associations](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/v3/batch/delete-associations.md): Batch delete associations for objects #### v1 - [Associate CRM objects](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/v1/create-association.md): This endpoint is used to associate two CRM objects. Use case for this endpoint: You can use this endpoint to associate a ticket with a contact or to associate a line item with a deal. See all possible associations on the CRM Associations Overview. If you need to make multiple associations (either to… - [Create multiple associations between CRM objects](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/v1/create-associations-batch.md): Create multiple associations between CRM objects. The JSON data in the PUT request would be a list of associations, with each one representing a single association between 2 objects (for example, a ticket to a contact). To associate one object with multiple other objects (i.e. to associate a ticket… - [Get associations for a CRM object](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/v1/get-associations.md): Use this endpoint to get the IDs of CRM objects associated with a given object, based on the specified association type. Check out the table on the CRM Associations Overview for a full list of IDs. Use cases for this endpoint: To get the ticket IDs for all tickets associated with a specific contact… - [Delete an association](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/v1/delete-association.md): Delete an association between 2 CRM objects. If you need to remove multiple associations, you can use the batch delete endpoint. - [Delete multiple associations between CRM objects](https://developers.hubspot.com/docs/api-reference/legacy/crm/associations/v1/delete-associations.md): Delete multiple associations between CRM objects. The JSON data in the PUT request will be a list of items each representing a single association that you want to delete. See the example for more details. ### Exports - [Exports](https://developers.hubspot.com/docs/api-reference/legacy/crm/exports/guide.md): Learn how to use the Exports API to export records in views or lists from your HubSpot account. - [Start an export](https://developers.hubspot.com/docs/api-reference/legacy/crm/exports/create-export.md): Begins exporting CRM data for the portal as specified in the request body - [Retrieve export status](https://developers.hubspot.com/docs/api-reference/legacy/crm/exports/get-export-status.md): Returns the status of the export with taskId, including the URL of the resulting file if the export status is COMPLETE - [Retrieve export details](https://developers.hubspot.com/docs/api-reference/legacy/crm/exports/get-export.md): Retrieve detailed information about a specific CRM export, including its current state and properties. ### Extensions #### Calling extensions - [CRM API | Receive calls in HubSpot when using calling apps](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/receive-incoming-calls.md): You can receive calls in HubSpot when using calling apps. - [Call recordings and transcripts](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/recordings-and-transcriptions.md): Learn how to log call recordings and their associated transcripts in HubSpot. - [Set up third-party calling in help desk](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/third-party-calling.md): Learn how to set up third-party calling in your HubSpot help desk. - [Third-party transcripts](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/third-party-transcripts.md): Enable HubSpot to use transcripts from a third-party platform as a part of its Conversation Intelligence feature. ##### Channel Connection Settings - [Configure channel connection settings](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/channel-connection-settings/create-channel-connection-settings.md): Establish new channel connection settings for the specified app. - [Retrieve channel connection settings](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/channel-connection-settings/get-channel-connection-settings.md): Access the current channel connection settings for the specified app. - [Update channel connection settings](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/channel-connection-settings/update-channel-connection-settings.md): Modify the existing channel connection settings for the specified app. - [Delete channel connection settings](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/channel-connection-settings/delete-channel-connection-settings.md): Delete the channel connection settings associated with the specified app. ##### Inbound - [Submit details of an inbound call to the CRM.](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/inbound/create-inbound-call-details.md): This endpoint allows you to submit information about an inbound call to the CRM system. The request must include details such as the external call ID, call status, and involved phone numbers. This operation helps in logging and managing inbound call data within the CRM. ##### Recording - [Mark a call recording as ready](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/recording/call-recording-ready.md): This endpoint is used to mark a call recording as ready. It requires the engagementId to identify the specific recording. ##### Recording Settings - [Create recording settings for an app.](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/recording-settings/create-recording-settings.md): Create new recording settings for a specific app using the provided app ID. - [Retrieve recording settings for an app.](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/recording-settings/get-recording-settings.md): Retrieve the current recording settings for a specific app using the provided app ID. - [Update recording settings for an app.](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/recording-settings/update-recording-settings.md): Update the recording settings for a specific app using the provided app ID. ##### Settings - [Create new calling extension settings for a specific app.](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/settings/create-calling-extension.md): Create new settings for the calling extension associated with the specified appId. - [Retrieve the calling extension settings for a specific app.](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/settings/get-calling-extensions.md): Retrieve the current settings of the calling extension for the specified appId. - [Update the calling extension settings for a specific app.](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/settings/update-calling-extension.md): Modify existing calling extension settings for the specified appId. Only the fields provided in the request will be updated. - [Delete the calling extension settings for a specific app.](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/calling-extensions/settings/delete-calling-extension.md): Remove the calling extension settings associated with the specified appId. This action cannot be undone. #### CRM cards - [Legacy CRM cards](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/crm-cards/guide.md): Learn about CRM cards built for legacy public apps. - [Create a CRM card](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/crm-cards/create-crm-card.md): Defines a new card that will become active on an account when this app is installed. - [Retrieve a CRM card](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/crm-cards/get-crm-card.md): Returns the definition for a card with the given ID. - [Retrieve all CRM cards](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/crm-cards/get-crm-cards.md): Returns a list of cards for a given app. - [Get sample CRM card detail response](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/crm-cards/get-sample-response.md): Returns an example card detail response. This is the payload with displayed details for a card that will be shown to a user. An app should send this in response to the data fetch request. - [Migrate CRM card views](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/crm-cards/migrate-crm-card.md): Swaps a Legacy CRM Card with an App Card in views. Reference the "Migrate a legacy CRM card to an app card" docs for more information - [Update a CRM card](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/crm-cards/update-crm-card.md): Update a card definition with new details. - [Delete a CRM card](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/crm-cards/delete-crm-card.md): Permanently deletes a card definition with the given ID. Once deleted, data fetch requests for this card will no longer be sent to your service. This can't be undone. #### Timeline - [CRM API | Timeline events](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/guide.md): Overview and walkthrough of the Timeline API. ##### Events - [Create multiple events](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/events/create-create.md): Batch create multiple instances of timeline events based on an event template. Once created, these event are immutable on the object timeline and cannot be modified. If the event template was configured to update object properties via `objectPropertyName`, this call will also attempt to updates thos… - [Send event data (single)](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/events/create-timeline.md): Send a single instance of event data to a specified event type. - [Get an event instance](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/events/get-timeline.md): Retrieve an event instance, specified by template ID and event ID. ##### v3 event types external - [Add tokens to an existing template](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v3-event-types-external/create-timeline-eventTemplateId.md): Update an existing event type template with new tokens. - [Create an event template](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v3-event-types-external/create-timeline.md): Event templates define the general structure for a custom timeline event, and enable you to send event data to HubSpot. A template includes formatted copy for its heading and details, as well as any custom property definitions. A single app can include up to 750 event templates.
the `v1… - [Get an event template](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v3-event-types-external/get-timeline-eventTemplateId.md): Retrieve an event type template by ID. - [Get all event templates](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v3-event-types-external/get-timeline.md): Retrieve all templates defined for an app. - [Update a template token](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v3-event-types-external/update-timeline-tokenName.md): Update an event type template token, specified by token name. - [Update an event template](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v3-event-types-external/update-timeline.md): Update an existing event template, specified by ID. - [Delete a template token](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v3-event-types-external/delete-timeline-tokenName.md): Delete an existing token from a specific event type template. - [Delete an event template](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v3-event-types-external/delete-timeline.md): Delete an event type template by ID. ##### v1 - [Get Timeline Event](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v1/get-integrations-v1-application-id-timeline-event-event-typeid-event-id.md): Get the data for a specific timeline event. All data that the event has will be returned, including the optional fields that were set for you. - [Get timeline event type by ID](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v1/get-integrations-v1-application-id-timeline-event-types-event-type-id.md): Retrieve a timeline event type by its ID. The response will include event type details such as `name`, `objectType`, and the header and detail templates. - [Get Properties for Timeline Event Type](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v1/get-integrations-v1-application-id-timeline-event-types-event-typeid-properties.md): Retrieve existing properties defined for a timeline event type. You can include these properties when sending event data to that event type, then use them in the event template for timeline display as well as list segmentation. - [Get Timeline Event Types](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v1/get-integrations-v1-application-id-timeline-event-types.md): Get all of the event types for a specific application - [Create a group of timeline events](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v1/post-integrations-v1-application-id-timeline-event-batch.md): Update an existing property for a specified timeline event type. The id passed in the JSON body needs to match the id of an existing property or this will return a 404 error.  Properties cannot be moved from one event type to another, so the eventTypeId included in the JSON body must match the event… - [Create Property for Timeline Event Type](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v1/post-integrations-v1-application-id-timeline-event-types-event-typeid-properties.md): Create or update a group of timeline events. This can be used to backfill events when your integration is first installed, or to efficiently sync a large number of events occurring over a short period of time. See the Timeline Overview for more details about creating and working with events. - [Create a new timeline event type](https://developers.hubspot.com/docs/api-reference/legacy/crm/extensions/timeline/v1/post-integrations-v1-application-id-timeline-event-types.md): Create a new timeline event type template to begin sending event data to HubSpot.
the `v1` and `v3` timeline events APIs are only available for app partners with existing `v1`/`v3` timeline events defined in their public app.