Log in

API Requests

Request format

Use POST request in the following format:

https://tracker-s2s.my.com/v1/method_name/?idApp=XXX
  • v1 — S2S API version;
  • method_name — name of method (for example, customEvent for custom events import);
  • idApp=XXX — application identifier, which you can find in the URL of your app page.

When calling the method, you should pass S2S API key in the Authorization header

API methods

version returns the current version of S2S API.

https://tracker-s2s.my.com/v1/version

test-app-access allows you to check access rights to the application.

https://tracker-s2s.my.com/v1/test-app-access/?idApp=XXX

registration and registrationBatch transmit one or more registration events to MyTracker.

login and loginBatch transmit one or more authorization events to MyTracker.

customEvent and customEventBatch transmit one or more custom events such as office visit or deliveries to MyTracker.

customRevenue and customRevenueBatch transmit one or more custom payments such as offline revenue or payments via WeChat Pay.

googlePlayProductTransaction, googlePlaySubscriptionTransaction, and googlePlaySubscriptionToken transmit Google Play in-app payments and subscriptions to MyTracker.

appStoreProductTransaction, appStoreSubscriptionTransaction, appStoreSubscriptionReceipt transmit App Store in-app payments and subscriptions to MyTracker.

Was this article helpful?