---
title: "Create a custom table record link associated with a goal"
method: PUT
path: "/goals/{id}"
tags: ["Custom table record links"]
---

# Create a custom table record link associated with a goal

`PUT /goals/{id}`

Resources that can be linked to records from a custom table (called custom objects in the API) can be manipulated in a bulk ID-list format.
To use custom table record links you must first add a many-to-many custom field definition to the resource.
When you pass the IDs of custom table records to link to the feature, the existing list of links will be replaced.

Examples of linking custom objects to resources with a many-to-many `customer` field:

- [Products](/api/resources/custom_table_record_links/create_a_custom_table_record_link_associated_with_a_product)
- [Releases](/api/resources/custom_table_record_links/create_a_custom_table_record_link_associated_with_a_release)
- [Features](/api/resources/custom_table_record_links/create_a_custom_table_record_link_associated_with_a_feature)
- [Ideas](/api/resources/custom_table_record_links/create_a_custom_table_record_link_associated_with_an_idea)
- [Initiatives](/api/resources/custom_table_record_links/create_a_custom_table_record_link_associated_with_an_initiative)
- [Goals](/api/resources/custom_table_record_links/create_a_custom_table_record_link_associated_with_a_goal)

**[Custom tables](https://www.aha.io/support/roadmaps/strategic-roadmaps/customizations/custom-tables) are an Enterprise+ exclusive feature.**

## Path parameters

- `id` string, required

## Request body

- CustomtablerecordlinksPostRequest
  - `requirement` object
    - `custom_object_links` object
      - `customers` string[]

## Response `200`

Successful operation

---

[API](https://skmtc.net/aha/apis/aha-api.md) · [All operations](https://skmtc.net/aha/apis/aha-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aha/aha-api/versions/6274be5aa6c5/schema)
