How do I use the MOCA REST API?
MOCA's REST API is a powerful tool to gather the data we have for your account, and process it at your end in order to get deeper insights into your data.
The documentation for the REST API can be found here. It's extensive and covers all accessible endpoints.
The REST API uses OAuth 2.0, which means it requires an Access Token. To receive it you must:
- Be an owner of a fully paid MOCA account.
- Send a request to support within the MOCA Console.
- Use it adequately. Any detected abuse can mean invalidating the access to the REST API.
Once you contact support, we will issue the Access Token directly on your console via a prompt. We recommend you save it somewhere safe as you won't be able to access it again.
Related Articles
Example: Analytics data via REST API
Our REST API is a powerful tool which allows you to gather data and process it depending on your needs. We have both the documentation and an API call tester embedded here. This example will show you how to get the actions and reached users per ...
How do I receive MOCA SDK actions in my third party API?
MOCA has a feature called Cloud-Hook. This feature enables the MOCA SDK embedded into the client mobile App to deliver location-triggered actions directly to the Third Party campaigns module and deliver segmented and personalized content to end ...
How to set MOCA SDK to download only when connected to Wi-Fi
The MOCA SDK has the capability to download data only when the "Wi-Fi Only" data transmission is activated. In order to do so, here are the calls for both Android and iOS: Android SDK MOCA API Java /** * Returns true if the "Wifi Only" data ...
How Does MOCA Work?
There are billions of people generating location data every day and it is currently not used to personalize the customer experience. With MOCA, brands can get location insights and influence their customer behavior in real life by connecting web, ...
How to change my time zone in the MOCA Console?
For analytics, campaign scheduling and notification emails the time zone of your account is important. To change the time zone click on the top right icon > Account & profile: Then on Account settings: And use the drop down to choose your time zone. ...