Skip to content
Taylorz CRM Developers
Esc
↑↓navigate↵open⌘Jpreview

List related objects

The objects whose relation fields point at this one, which is what a related list is built from.

GET/api/v1/objects/{objectId}/related
Authorization
AuthorizationOAuth2 access token · headerrequired

Authorization-code grant with PKCE. Clients are public and hold no secret. Discovery is published at /.well-known/oauth-authorization-server/api/auth.

Scopes:api.access
Path parameters
objectIdstringrequired

An object's id

min length 1 · max length 255
Responses
200

The objects that point here

Array of CrmRelatedObject
fieldIdstringrequired
min length 1 · max length 255
fieldKeystringrequired
matches ^[a-z][a-z0-9_]{0,62}$
objectIdstringrequired
min length 1 · max length 255
objectKeystringrequired
matches ^[a-z][a-z0-9_]{0,62}$
objectLabelstringrequired
orderBystring | nullrequired
Show properties
Any of:
string
string
null
null
400

The request body, query or parameters were refused

codestringrequired
Allowed:invalid_inputnot_foundconflictforbidden
detailany
errorstringrequired
reasonstring
401

The access token is missing, invalid or revoked

errorstringrequired
403

The tenant's module is off, or the token's scope or the member's role does not permit the action

codestringrequired
Allowed:invalid_inputnot_foundconflictforbidden
detailany
errorstringrequired
reasonstring
404

No such record, or none the caller may read

codestringrequired
Allowed:invalid_inputnot_foundconflictforbidden
detailany
errorstringrequired
reasonstring
413

The request exceeds the route's body limit

errorstringrequired
500

An unexpected failure

errorstringrequired
Request
curl -X GET '/api/v1/api/v1/objects/string/related' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Accept: application/json'
Response
[
  {
    "fieldId": "string",
    "fieldKey": "string",
    "objectId": "string",
    "objectKey": "string",
    "objectLabel": "string",
    "orderBy": "string"
  }
]

Was this page helpful?