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
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
{
"data": {
"devices": [
"android"
]
}
}Last updated
Was this helpful?