Skip to main content
GET
/
v6
/
auditTrail
/
{entityId}
Audit an entity
curl --request GET \
  --url https://sandbox.tight.com/v6/auditTrail/{entityId} \
  --header 'Authorization: Bearer <token>'
{
  "result": "SUCCESS",
  "data": [
    {
      "id": "aud_28868401",
      "company": {
        "id": "co_28868401",
        "name": "Acme Corp"
      },
      "editor": {
        "id": "emp_28868401",
        "userId": "usr_28868401",
        "email": "editor@example.com"
      },
      "action": "UPDATE",
      "datetime": "2023-11-07T05:31:56Z",
      "revisions": [
        {
          "internal_key": "some_internal_key",
          "some_other_field": 23434
        }
      ]
    }
  ],
  "cursor": {
    "after": "<string>",
    "before": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, see Authentication for more detail.

Response

Success

result
enum<string>

The result of the action performed.

Available options:
SUCCESS,
FAILURE
data
object[]

The data generated by the action performed.

cursor
object

Cursor to be used in your subsequent paginated request. Only populated if there are more pages available.