Post Devices
If a user owns a mobile device, call this endpoint to store the devices. If provided, desktop users will be able to see available mobile offers.
Method: POST Base URL: https://api.adgatemedia.com/v1/user-based-api/devices
Required Query Parameters
Parameter
Description
Type
Example
aff_id
Any Integer
60000
api_key
Any String
941bd1fecf7e6596823b895e04df3a0c
wall_code
String
nQug
user_id
The affiliate's user ID. Max length 255 bytes
String
user12345
Required JSON Body Parameters
Field
Note
Type
Example
devices
An array that any combination of iphone
, ipad
, or android
. Provide an empty array to clear existing devices.
array
["iphone", "ipad", "android"]
Response
The response will contain the list of user devices after the update.
Sample Response
Last updated