Customers

Lookup a customer's activities

Return a list of activities performed by, or for, a customer. Activities are things like attribute changes and message sends.

This endpoint is guaranteed to return activity history within the past 30 days. It might return data older than 30 days in some circumstances, but activites older than 30 days are not guaranteed.

get/v1/customers/{customer_id}/activities

Response

Returns an array of activity objects. Each object represents an activity that the customer performed, or that you performed on behalf of the customer.

Example response

{
  "activities": [
    {
      "customer_id": "42",
      "customer_identifiers": {
        "email": "test@example.com",
        "cio_id": "a3000001"
      },
      "data": {
        "delivery_id": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
        "opened": null,
        "delivered": null
      },
      "delivery_id": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
      "delivery_type": "email",
      "id": "01AK4N8V8G8KVA4HN8Y50CCZ59",
      "timestamp": 1397566226,
      "type": "sent_email"
    }
  ]
}

Changes

Changed in 1 of the 3 revisions of this API.1

    • added the media type application/json for the response with the status

      response-media-type-added