GET v3/subscribers/{subscriberId}/events

https://api.questline.com/v3/subscribers/{subscriberId}/events

Gets a list of events for a subscriber.

Request Information

URI Parameters

Name Description Type Additional Info
subscriberId The ID of the subscriber. globally unique identifier Required

Body Parameters

None.

Filters

Name Description Usage
automatedCampaignId Filters the request by automated campaign ID. GET v3/subscribers/{subscriberId}/events?filter=automatedcampaignid~{operator}~{value}
automatedCampaignStepId Filters the request by automated campaign step ID. GET v3/subscribers/{subscriberId}/events?filter=automatedcampaignstepid~{operator}~{value}
date Filters the request by date. GET v3/subscribers/{subscriberId}/events?filter=date~{operator}~{value}
eventType Filters the request by event type. GET v3/subscribers/{subscriberId}/events?filter=eventtype~{operator}~{value}
standardCampaignId Filters the request by standard campaign ID. GET v3/subscribers/{subscriberId}/events?filter=standardcampaignid~{operator}~{value}
standardCampaignSendId Filters the request by standard campaign send ID. GET v3/subscribers/{subscriberId}/events?filter=standardcampaignsendid~{operator}~{value}

Sorting

Name Description Usage
date Sorts the request by date. GET v3/subscribers/{subscriberId}/events?sort=date~{direction}

Paging

Name Description Usage
index The index to retrieve when requesting paged results. GET v3/subscribers/{subscriberId}/events?page=index~{value}
size The size of the page when requesting paged results. GET v3/subscribers/{subscriberId}/events?page=size~{value}

Response Information

Resource Description

GetSubscriberEventsResponseV3
Name Description Type Additional Info
SubscriberEvents The list of events. Collection of SubscriberEventV3 None.
NextPageUrl The URL of the next page of data for the list. string None.
PageIndex The index of the requested page. integer None.
PageSize The size of the requested page. integer None.
TotalPages The total number of pages, based on total results and page size. integer None.
TotalResults The total number of results. integer None.
Error The response error, if any. ResponseErrorV3 None.

Response Formats

application/json, text/json

Sample:

{
  "SubscriberEvents": [
    {
      "AutomatedCampaignId": 1,
      "AutomatedCampaignStepId": 1,
      "Date": "2024-03-29T12:10:10.4190763+00:00",
      "EventGuid": "b3aa3424-4fb0-47e2-91b8-207867a252c3",
      "EventType": "sample string 3",
      "StandardCampaignId": "538d2947-4cf7-4f49-a3dc-81dad76232b3",
      "StandardCampaignSendId": "52b11bad-8aa7-47b4-9f70-8581305e91b2",
      "SubscriberId": "1719787b-377d-4bb4-a6c2-23385b68eb7c",
      "Target": "sample string 5",
      "Data": "sample string 6"
    },
    {
      "AutomatedCampaignId": 1,
      "AutomatedCampaignStepId": 1,
      "Date": "2024-03-29T12:10:10.4190763+00:00",
      "EventGuid": "b3aa3424-4fb0-47e2-91b8-207867a252c3",
      "EventType": "sample string 3",
      "StandardCampaignId": "538d2947-4cf7-4f49-a3dc-81dad76232b3",
      "StandardCampaignSendId": "52b11bad-8aa7-47b4-9f70-8581305e91b2",
      "SubscriberId": "1719787b-377d-4bb4-a6c2-23385b68eb7c",
      "Target": "sample string 5",
      "Data": "sample string 6"
    }
  ],
  "NextPageUrl": "sample string 1",
  "PageIndex": 1,
  "PageSize": 1,
  "TotalPages": 1,
  "TotalResults": 1,
  "Error": {
    "ErrorId": 1,
    "ErrorMessage": "sample string 1"
  }
}

text/javascript, application/javascript, application/json-p

Sample:

/**/ typeof  === 'function' && ({"SubscriberEvents":[{"AutomatedCampaignId":1,"AutomatedCampaignStepId":1,"Date":"2024-03-29T12:10:10.4190763+00:00","EventGuid":"b3aa3424-4fb0-47e2-91b8-207867a252c3","EventType":"sample string 3","StandardCampaignId":"538d2947-4cf7-4f49-a3dc-81dad76232b3","StandardCampaignSendId":"52b11bad-8aa7-47b4-9f70-8581305e91b2","SubscriberId":"1719787b-377d-4bb4-a6c2-23385b68eb7c","Target":"sample string 5","Data":"sample string 6"},{"AutomatedCampaignId":1,"AutomatedCampaignStepId":1,"Date":"2024-03-29T12:10:10.4190763+00:00","EventGuid":"b3aa3424-4fb0-47e2-91b8-207867a252c3","EventType":"sample string 3","StandardCampaignId":"538d2947-4cf7-4f49-a3dc-81dad76232b3","StandardCampaignSendId":"52b11bad-8aa7-47b4-9f70-8581305e91b2","SubscriberId":"1719787b-377d-4bb4-a6c2-23385b68eb7c","Target":"sample string 5","Data":"sample string 6"}],"NextPageUrl":"sample string 1","PageIndex":1,"PageSize":1,"TotalPages":1,"TotalResults":1,"Error":{"ErrorId":1,"ErrorMessage":"sample string 1"}});