Campaigns V2

Audience Results Chart

Changed on

Cumulative per-variant total proceeds, initial conversions (including trial starts), unique paywall viewers, proceeds per viewer and conversion rate. Rates are fractions; proceeds are USD. Uses the audience lifetime, with UTC day/week/month buckets. Requires campaigns:read and charts:read scopes.

get/v2/campaigns/{id}/audiences/{audience_id}/chart

Request

  • Base URL
    https://api.superwall.com
  • URL
    https://api.superwall.com/v2/campaigns/{id}/audiences/{audience_id}/chart
  • Auth
    • HTTP bearer
    • or API key in cookie accounts_superwall_token
    • or HTTP bearer

Path parameters

idstring required
audience_idstring required

Query parameters

environment'PRODUCTION' | 'SANDBOX'
string
OR
string[]
refresh'true' | 'false'

Bypass the cached snapshot and force a fresh computation

Response

Success

object'audience_chart' required
date_interval'day' | 'week' | 'month' required
computed_atnumber required
revalidatingboolean required

Changes

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • warning

      added the new credentials_missing enum value to the / response property for the response status

    • info

      added subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 to the response body anyOf list for the response status

    • info

      removed subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 from the response body anyOf list for the response status

    • info

      endpoint added