Record Logs

Who first set and who last changed every field of one record

GET
/api/record-logs/field-metadata

One call per record for the field hover: for each field of a contact, application or conversation, the first setter and time and the last setter and time. Rows never expire. Fields set when the record was created and never changed since have no row; read the record's createdBy/createdAt for those. Custom-entity fields carry customEntityType and customEntityInstanceId. Org-scoped.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

entityType*string

Value in

  • "Contact"
  • "Application"
  • "Conversation"
entityId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/record-logs/field-metadata?entityType=Contact&entityId=string"
{  "success": true,  "data": {    "entityType": "Contact",    "entityId": "string",    "fields": [      {        "field": "string",        "customEntityType": "string",        "customEntityInstanceId": "string",        "firstSetAt": "2019-08-24T14:15:22Z",        "firstSetBy": {          "type": "user",          "userId": "string",          "label": "string"        },        "lastSetAt": "2019-08-24T14:15:22Z",        "lastSetBy": {          "type": "user",          "userId": "string",          "label": "string"        }      }    ]  }}