App Data
Reminder: if you are using an app/client ID in sandbox, you must use sandbox.motar.io as the endpoint for your requests. Requests to api.motar.io with a sandbox client ID will fail!
Get User's Private App Data
GET
https://api.motar.io/app/v1/data
Returns a user's private app data. Each user has one private store per app.
Query Parameters
userId
string
User ID for the owner of the app data to retrieve. A user can only query for his or her own app data or the app data of their kid's accounts.
Headers
Authorization
string
Auth token generated when logging in.
Update Users Private App Data
POST
https://api.motar.io/app/v1/data
Update a user's private app data.
Headers
Authorization
string
Auth token generated when logging in.
Request Body
key
string
Location in app data to update, using dot object notation.
userId
string
User ID for the owner of the app data to update. A user can only update his or her own app data or the app data of their kid's account.
value
string
Value to insert or update at the location specified by the "key" parameter. This can be any valid JSON data.
Last updated