Clarify API
API ReferenceActivities

Get Activities

GET
/workspaces/{workspace}/objects/{object}/records/{record}/activities
Authorization<token>

API key authentication. Send your key in the Authorization header as: api-key <your-api-key>.

In: header

Path Parameters

workspace*string
object*string
record*string

Query Parameters

page?
sortOrder?

Response Body

application/json

curl -X GET "https://example.com/workspaces/string/objects/string/records/string/activities"
{
  "links": {
    "next": "string"
  },
  "data": [
    {
      "type": "activity",
      "id": "string",
      "attributes": {
        "_id": "string",
        "_created_at": "2019-08-24T14:15:22Z",
        "aggKey": "string",
        "data": [
          {
            "_id": "string",
            "_created_at": "2019-08-24T14:15:22Z",
            "type": "clarify:create",
            "actor": {
              "_id": "string",
              "anonymous_id": "string",
              "entity": "string",
              "data": {
                "property1": null,
                "property2": null
              },
              "diff": [
                {
                  "op": "add",
                  "path": [
                    "string"
                  ],
                  "val": null,
                  "oldVal": null
                }
              ],
              "source_id": "string"
            },
            "object": {
              "_id": "string",
              "anonymous_id": "string",
              "entity": "string",
              "data": {
                "property1": null,
                "property2": null
              },
              "diff": [
                {
                  "op": "add",
                  "path": [
                    "string"
                  ],
                  "val": null,
                  "oldVal": null
                }
              ]
            },
            "relationship": "string",
            "ref": {
              "_id": "string",
              "anonymous_id": "string",
              "entity": "string",
              "data": {
                "property1": null,
                "property2": null
              },
              "diff": [
                {
                  "op": "add",
                  "path": [
                    "string"
                  ],
                  "val": null,
                  "oldVal": null
                }
              ]
            },
            "refs": [
              {
                "_id": "string",
                "anonymous_id": "string",
                "entity": "string",
                "data": {
                  "property1": null,
                  "property2": null
                },
                "diff": [
                  {
                    "op": "add",
                    "path": [
                      "string"
                    ],
                    "val": null,
                    "oldVal": null
                  }
                ]
              }
            ],
            "origin": {
              "_id": "string",
              "anonymous_id": "string",
              "entity": "string",
              "data": {
                "property1": null,
                "property2": null
              },
              "diff": [
                {
                  "op": "add",
                  "path": [
                    "string"
                  ],
                  "val": null,
                  "oldVal": null
                }
              ]
            },
            "target": {
              "_id": "string",
              "anonymous_id": "string",
              "entity": "string",
              "data": {
                "property1": null,
                "property2": null
              },
              "diff": [
                {
                  "op": "add",
                  "path": [
                    "string"
                  ],
                  "val": null,
                  "oldVal": null
                }
              ]
            }
          }
        ]
      },
      "relationships": {}
    }
  ]
}