Returns a list of activity logs of a subscriber on the platform.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| subscriber_id | string | optional | Pass the unique ID of a subscriber. |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| page | string | optional | Pass the page number to retrieve logs. |
| page_size | string | optional | Pass the number of logs to retrieve on each page. |
| timestamp_from | string | optional | Pass the created time in epoch format from which you want to retrieve logs. |
| timestamp_to | string | optional | Pass the created time in epoch format until which you want to retrieve logs. |
| response_code | string | optional | Pass the HTTP status code to filter logs. |
| request_method | string | optional | Pass the HTTP request method to filter logs. |
| collection_id | string | optional | Pass the unique ID of a collection to filter logs. |
| action | string | optional | Pass the action type of the subscriber. |
| sort | string | optional | Pass the parameter to sort logs. By default logs are returned in descending order (latest logs are returned first) based on the created time. |
| q | string | optional | Pass the query text to search logs. |
Run it
Use the Request parameters panel to enter path IDs, query values, JSON body, and credentials. Then run any snippet below — all languages use the same values. Base URL: https://cs-testv2.cyware.com/ctixapi (change in API Settings).
Playground
Request parameters
Edit values here before running any snippet below (cURL, JavaScript, or Python). Code blocks are reference only — your inputs above are what gets sent.
Open API (HMAC signature) · Get credentials from Cyware Admin → Open API → Generate Credentials.
Signature and Expires are generated when you run a request. Access ID and Secret Key stay in memory for this tab only.
Credentials from Authentication auto-fill here for this product. If fields are empty after connecting, refresh this page or open the product docs again.
curl --request GET \
--url "https://cs-testv2.cyware.com/ctixapi/publishing/subscriber/polling_logs/5f071899-b78a-4844-953e-68128f256d32/?page=1&page_size=10×tamp_from=1704067200×tamp_to=1704758399&response_code=200&request_method=get&collection_id=57546b94-da09-4a16-9e69-d1d20969e1ab&action=Inbox&sort=-timestamp&q=sample%20text&AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E"View-only example — running live API calls requires a role with snippet testing access.
const url = "https://cs-testv2.cyware.com/ctixapi/publishing/subscriber/polling_logs/5f071899-b78a-4844-953e-68128f256d32/?page=1&page_size=10×tamp_from=1704067200×tamp_to=1704758399&response_code=200&request_method=get&collection_id=57546b94-da09-4a16-9e69-d1d20969e1ab&action=Inbox&sort=-timestamp&q=sample%20text&AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E";
const response = await fetch(url, {
method: "GET",
});
const text = await response.text();
let data;
try { data = JSON.parse(text); } catch { data = text; }
console.log(response.status, data);View-only example — running live API calls requires a role with snippet testing access.
import requests
url = "https://cs-testv2.cyware.com/ctixapi/publishing/subscriber/polling_logs/5f071899-b78a-4844-953e-68128f256d32/"
params = {
"page": "1",
"page_size": "10",
"timestamp_from": "1704067200",
"timestamp_to": "1704758399",
"response_code": "200",
"request_method": "get",
"collection_id": "57546b94-da09-4a16-9e69-d1d20969e1ab",
"action": "Inbox",
"sort": "-timestamp",
"q": "sample text",
"AccessID": "<your access id>",
"Signature": "<your signature>",
"Expires": "<your expires>"
}
headers = {}
response = requests.request("GET", url, params=params, headers=headers)
print(response.status_code)
print(response.text)View-only example — running live API calls requires a role with snippet testing access.
{
"next": "subscriber/polling_logs/5f071899-b78a-4844-953e-68128f256d32/?page=2&page_size=10",
"previous": {},
"page_size": 10,
"total": 392,
"results": [
{}
],
"hide_aggregate_col": false
}View-only example — running live API calls requires a role with snippet testing access.