Bento
  • Go to Marketing Site
  • Go to App
  • User Work Laptop Streamline Icon: https://streamlinehq.comAccount

  • Graduation Cap Streamline Icon: https://streamlinehq.comGet Started

  • Migration Guides

  • DNS Setup

  • Connection Integration System Api Streamline Icon: https://streamlinehq.comAPI for Developers

    • Introduction
    • Quickstart
    • Authentication
    • Subscribers API
    • Events API
    • Emails API
    • Tags API
    • Fields API
    • Broadcasts API
    • Stats API
    • Spam API
  • Package Streamline Icon: https://streamlinehq.comSDK Guides

  • Plugs Streamline Icon: https://streamlinehq.comIntegrations

  • Horizontal Menu Streamline Icon: https://streamlinehq.comMisc

  • Sign in

Stats

Stats offers a straightforward collection of API requests that give you the latest figures on your subscriber numbers, detailing both active and unsubscribed counts. Additionally, this information can be segmented for deeper insights.

These endpoints are designed exclusively for backend implementation. To integrate them properly, ensure they are used in your server-side code, which should then relay the relevant data to the front end in a manner that aligns with your specific requirements.

Available Endpoints

MethodEndpointName
GETstats/siteGet Site Stats
GETstats/segmentGet Segment Stats
GETstats/reportGet Report Stats

The Stats Model

The stats model offers straightforward totals and specific stats for your convenience. These data keys are accessible whether you're querying across the entire account or by individual segments.

Properties

  • Name
    user_count
    Type
    integer
    Description

    Total count of users in the account or segment.

  • Name
    subscriber_count
    Type
    integer
    Description

    Active user count for the account or segment.

  • Name
    unsubscriber_count
    Type
    integer
    Description

    Number of subscribers that have unsubscribed in the account or segment.


GET/v1/stats/site

Get Site Stats

Returns a list of site stats.

Required Attributes

  • Name
    site_uuid
    Type
    string
    Description

    The UUID of the site to get stats for.



Response

Returns site statistics including user, subscriber, and unsubscribed counts.


GET/v1/stats/segment

Get Segment Stats

Returns a list of a segments stats.

Required Attributes

  • Name
    site_uuid
    Type
    string
    Description

    The UUID of the site to get stats for.

  • Name
    segment_id
    Type
    string
    Description

    The id of the segment to get stats for.



Response

Returns segment statistics including user, subscriber, and unsubscribed counts.


GET/v1/stats/report

Get Report Stats

Returns an object containing data for a specific report.

Required Attributes

  • Name
    site_uuid
    Type
    string
    Description

    The UUID of the site to get stats for.

  • Name
    report_id
    Type
    string
    Description

    The id of the report to get stats for.



Response

Returns a data blob containing the report statistics.

PreviousBroadcasts API
NextSpam API

© Copyright 2025. All rights reserved.

Follow us on XFollow us on GitHubJoin our Discord server

What's on this page

  • Available Endpoints
  • The Stats Model
  • GETGet Site Stats
  • GETGet Segment Stats
  • GETGet Report Stats