Read all customers

This endpoint allows you to retrieves a list of all customers along with their subscription count.

get/2026-04/customer

Request

  • Base URL
    https://api.loopsubscriptions.com/admin
  • URL
    https://api.loopsubscriptions.com/admin/2026-04/customer
  • Auth
    API key in header X-Loop-Token

Query parameters

afterCursorstring

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

pageSizeinteger

The number of records to return per page.

emailstring

Filters results by the customer’s email address.

updatedAtStartEpochinteger

Start of the time range (in epoch) for filtering customers based on their last update time.

updatedAtEndEpochinteger

End of the time range (in epoch) for filtering customers based on their last update time.

Response

Customer details fetched successfully

successboolean
messagestring
codestring

Example response

{
  "success": true,
  "message": "Customers fetched successfully",
  "data": [
    {
      "id": 592380986,
      "firstName": "John",
      "lastName": "Smith",
      "email": "loop.subscriptions7@gmail.com",
      "shopifyId": 10059397464371,
      "cancelledSubscriptionsCount": 1,
      "allSubscriptionsCount": 1
    }
  ],
  "code": "SUCCESS"
}

Changes

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