API Reference
Every MomentScience API on one page, with what each one is for. Most endpoints sit on https://api.adspostx.com. Each API page covers authentication, parameters and sample responses, and several have a Try it console for sending a live request.
APIs
API | Use it to | Endpoint |
|---|---|---|
๏ปฟMomentPerks API๏ปฟ๏ปฟ | Fetch personalized offers for one user and show them in your own UI. | POST /native/v4/offers.json |
๏ปฟPerkswall API๏ปฟ๏ปฟ | Fetch a curated set of offers for a branded perks gallery. | POST /native/v4/perkswall.json |
๏ปฟDirectPerks API๏ปฟ๏ปฟ | Get every active offer on your account, with creatives and tracking links. | GET /native/v3/catalog.json |
๏ปฟReporting API๏ปฟ๏ปฟ | Pull revenue, impressions, clicks and CTR, by day or by hour. | GET /native/activity.json |
๏ปฟCreate Sub-Accounts API๏ปฟ๏ปฟ | Create sub-accounts under your main account, with copied settings and scoped permissions. | POST /native/account.json |
๏ปฟUser Selected Perks API๏ปฟ๏ปฟ | Build your own User Selected Perks flow, from session to saved offers. | /sdk/v4/usp/ (several endpoints) |
Before your first call
Every request needs an API key. Getting Your API Key๏ปฟ shows how to create one and which permissions each API needs. When a request fails, API Error Codes๏ปฟ lists the status codes the APIs return and how to handle each one.
Postbacks
Postbacks run the other way. Handling Postback Events๏ปฟ covers the notifications MomentScience sends to your server when a user converts. Advertisers who send conversions to MomentScience should read Server-to-Server (S2S) Postback Integration๏ปฟ.
Mobile apps
Calling the MomentPerks API from a mobile app? There is a step-by-step guide for each platform: Android (Kotlin)๏ปฟ, iOS (Swift)๏ปฟ, Flutter๏ปฟ, React Native๏ปฟ and Unity๏ปฟ.