Appearance
Custom objects
Endpoints of the public API tagged Custom objects, generated from the API's OpenAPI document. Base URL: your API origin, for example https://api.example.com. See API overview and API keys and scopes.
Custom objects with their fields and associations
text
GET /api/v1/rest/objects- Operation id:
listObjects - Scope:
objects:read
Response (200): { success: true, data: { items, nextCursor } }
| Field | Type | Required | Notes |
|---|---|---|---|
key | string | yes | |
singular | string | yes | |
plural | string | yes | |
primaryFieldKey | string | yes | |
status | string | yes | |
fields | array | yes | |
associations | array | yes | |
recordCount | number | yes | |
createdAt | string | yes | |
updatedAt | string | yes |
Records of a custom object (search q, filters as a JSON array, sort, direction)
text
GET /api/v1/rest/objects/{objectKey}/records- Operation id:
listObjectRecords - Scope:
objects:read
Parameters
| Name | In | Required | Type |
|---|---|---|---|
objectKey | path | yes | string |
limit | query | no | integer |
cursor | query | no | string |
q | query | no | string |
filters | query | no | string |
sort | query | no | string |
direction | query | no | string |
Response (200): { success: true, data: { items, nextCursor } }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
objectKey | string | yes | |
name | string | yes | |
fields | object | yes | |
createdAt | string | yes | |
updatedAt | string | yes |
Create a record (fields by key; associations: links made with it)
text
POST /api/v1/rest/objects/{objectKey}/records- Operation id:
createObjectRecord - Scope:
objects:write
Parameters
| Name | In | Required | Type |
|---|---|---|---|
objectKey | path | yes | string |
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
fields | object | yes | |
associations | array | no |
Response (201): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
record | object | yes | |
associations | array | yes |
A record with its links
text
GET /api/v1/rest/objects/{objectKey}/records/{recordId}- Operation id:
getObjectRecord - Scope:
objects:read
Parameters
| Name | In | Required | Type |
|---|---|---|---|
objectKey | path | yes | string |
recordId | path | yes | string |
Response (200): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
record | object | yes | |
associations | array | yes |
Update a record's fields (null clears)
text
PATCH /api/v1/rest/objects/{objectKey}/records/{recordId}- Operation id:
updateObjectRecord - Scope:
objects:write
Parameters
| Name | In | Required | Type |
|---|---|---|---|
objectKey | path | yes | string |
recordId | path | yes | string |
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
fields | object | yes |
Response (200): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
record | object | yes | |
associations | array | yes |
Delete a record (soft delete)
text
DELETE /api/v1/rest/objects/{objectKey}/records/{recordId}- Operation id:
deleteObjectRecord - Scope:
objects:write
Parameters
| Name | In | Required | Type |
|---|---|---|---|
objectKey | path | yes | string |
recordId | path | yes | string |
Response (200): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
deleted | boolean | yes | |
id | string | yes |
Link a record to a contact, an opportunity or another record
text
POST /api/v1/rest/objects/{objectKey}/records/{recordId}/links- Operation id:
linkObjectRecord - Scope:
objects:write
Parameters
| Name | In | Required | Type |
|---|---|---|---|
objectKey | path | yes | string |
recordId | path | yes | string |
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
association | string | yes | |
targetId | string | yes | |
role | string | no |
Response (201): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
role | string | yes | |
target | object | yes | |
createdAt | string | yes |
Remove a link
text
DELETE /api/v1/rest/objects/{objectKey}/records/{recordId}/links/{linkId}- Operation id:
unlinkObjectRecord - Scope:
objects:write
Parameters
| Name | In | Required | Type |
|---|---|---|---|
objectKey | path | yes | string |
recordId | path | yes | string |
linkId | path | yes | string |
Response (200): { success: true, data }
| Field | Type | Required | Notes |
|---|---|---|---|
deleted | boolean | yes | |
id | string | yes |