List activity logs

This API endpoint returns list of activity logs of a specific subscription based on subscriptionId in the path params.

get/2026-04/subscription/{subscriptionId}/activityLog

Request

  • Base URL
    https://api.loopsubscriptions.com/admin
  • URL
    https://api.loopsubscriptions.com/admin/2026-04/subscription/{subscriptionId}/activityLog
  • Auth
    API key in header X-Loop-Token

Path parameters

subscriptionIdinteger required

The subscriptionId of a the subscription which activity logs has to be fetched.

Query parameters

afterCursorinteger

The cursor returned in the previous response. Use the nextCursor value from that response to fetch the next page of results.

pageSizeinteger

The maximum number of rows per page

Response

Activity logs fetched successfully

successboolean
messagestring
codestring

Example response

{
  "success": true,
  "message": "Activity logs fetched successfully",
  "data": [
    {
      "id": 661251946,
      "subscriptionId": 30204947,
      "key": "customer_email_notification",
      "entity": "Loop Subscriptions",
      "source": "System",
      "createdAt": "2026-08-01T14:37:26.000Z",
      "data": {
        "emailName": "Payment reminder"
      }
    }
  ],
  "code": "SUCCESS",
  "pageInfo": {
    "hasNextPage": true,
    "nextCursor": "eyJsYXN0U29ydFZhbHVlIjoiMjAyNi0wOC0wMSAxNDowMDo0OSIsImxhc3RJZCI6NjYxMTk0OTYzLCJkb21haW5TbHVnIjoiZGV2ZXNoLW9uYm9hcmRpbmciLCJzb3J0RmllbGQiOiJjcmVhdGVkQXQifQ=="
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.