Entities Custom Fields

postEntityCustomFields

POST
/entityCustomFields

Create an Entity Custom Field. Custom Fields can be added to entities associated by the Entity Id. An Entity Id can have various fields associated to it.

Authorization

APIKEY<token>

In: header

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Request Body

application/json

Add Entity Cutom Field Request

Add Entity Cutom Field Request

entity?|

Entity for which we are creating custom field.

key?string

Name of custom field.

value?string

Value of custom field.

Response Body

application/json

application/json

curl -X POST "https://example.com/entityCustomFields" \  -H "Content-Type: application/json" \  -d '{    "entity": "t1_ent_67d3ab7bc0ef1d4284d4578",    "key": "companyId",    "value": "70bbd35e-8500-f011-90cb-6045bdc7c168"  }'
{  "response": {    "data": [      {        "id": "t1_ecf_67d3ab7bc5e308c4815100z",        "created": "2025-03-14 00:07:23.8236",        "modified": "2025-03-14 00:07:23.8236",        "creator": "t1_log_67327b89589de7a6d89a665",        "modifier": "t1_log_67327b89589de7a6d89a665",        "entity": "t1_ent_67d3ab7bc0ef1d4284d4578",        "key": "companyId",        "value": "70bbd35e-8500-f011-90cb-6045bdc7c168",        "deleted": "2025-03-14 00:07:23"      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}