Easymailing
Members

List member activities

GET /audiences/{audienceUuid}/members/{memberUuid}/activities

GET/audiences/{audienceUuid}/members/{memberUuid}/activities

Lists what has happened to one member, newest first: emails sent, opens and clicks, bounces, subscription changes, group changes, automations and orders. Each item has a type, a data object that depends on the type and a created_at date. Accounts already on the new Customer App get an empty list, because their activity is not stored in this history.

When to use: To see the history of one subscriber before deciding what to do with them, or to check whether they opened or clicked a campaign.

When not to use: To read the member's current status, groups and totals, use get_audience_member.

Filters: type: return only activities of one type. Items are always sorted newest first.

Permissions: Requires the manager role or higher, or the contacts.read and marketing.audiences.read capabilities.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

audienceUuid*string

UUID of the audience the member belongs to. Get it from list_audiences.

memberUuid*string

UUID of the member (the person's subscription to this audience). Get it from list_audience_members.

Query Parameters

type?string

Return only activities of this type.

Value in

  • "email_sent"
  • "open_campaign"
  • "click_campaign"
  • "bounce"
  • "suscribe"
  • "unsuscribe"
  • "complaint"
  • "add_to_group"
  • "remove_from_group"
  • "start_automation"
  • "complete_automation"
  • "exit_automation"
  • "new_customer"
  • "new_order"
  • "form_completed"
page?integer

Page number, starting at 1.

Default1
itemsPerPage?integer

Items per page. Default 30, maximum 50.

Range0 <= value <= 50
Default30

Response Body

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/audiences/0df14405-90ff-4287-b3e4-ef088901ee6f/members/7f3c2a10-5b8e-4d1a-9c2e-3a6f0b9d4e21/activities?type=open_campaign&page=1&itemsPerPage=30" \  -H "X-Auth-Token: YOUR_API_KEY"
[  {    "id": 0,    "type": "string",    "data": [      "string"    ],    "created_at": "2019-08-24T14:15:22Z"  }]