Migration

Get Migration Cohort

Changed on

Server-to-server. Lists the users who are currently eligible for your Switch & Save offer, so your backend can target them (for example with email or push). Authenticate with your secret key, never the publishable key. The environment (sandbox or live) comes from the key. This is an enumeration: it does not count impressions. Eligibility follows the same rules as the offer the SDK shows. When no campaign is enabled the list is empty.

get/iap/migration-cohort/

Request

  • Base URL
    https://api.zerosettle.io/v1
  • URL
    https://api.zerosettle.io/v1/iap/migration-cohort/
  • Auth
    API key in header X-ZeroSettle-Key

Query parameters

cursorstring

Pagination cursor: the next_cursor from the previous page.

limitinteger

Page size. Default 100, maximum 500. Values below 1 are raised to 1.

Response

A page of eligible users

next_cursorstring nullable required

Pass as cursor to get the next page. Null on the last page. A page can hold fewer users than limit only on the last page.

Changes