Custom table record links API

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:

Custom tables are an Enterprise+ exclusive feature.

Link custom table records to another custom table record

PUT /api/v1/custom_object_records/:id

Parameters
NameDescription
id *

Numeric ID of the custom table record

Example request

PUT /api/v1/custom_object_records/640362830

Example CURL command

curl "https://company.aha.io/api/v1/custom_object_records/640362830" -d '{"custom_object_record":{"custom_object_links":{"custom_table_name_submitters":[136661093]}}}' -X PUT \
	-H "Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab
contentType: application/json
accept: application/json

Request body

Response

Status: 200 OK
contentType: application/json; charset=utf-8

Response body