Developer Documentation
DashboardHelp
  • Getting Started
  • AdGate Rewards Monetization
    • AdGate Rewards Setup
    • Web Integration
    • iOS SDK
    • Android SDK
    • Unity SDK
    • Magic Receipts Standalone
  • Postbacks
    • Postback Information
    • Magic Receipts Postbacks
    • PHP Postback Examples
  • APIs
    • User Based API (v1)
      • Get Offers
      • Get Offers By Ids
      • Post Devices
      • Get History
      • Get Offer History - DEPRECATED
    • Offers API (v3)
    • Offers API (v2)
    • Publisher Reporting API
    • Advertiser Reporting API
Powered by GitBook
On this page
  • Required Query Parameters
  • Required JSON Body Parameters
  • Response

Was this helpful?

  1. APIs
  2. User Based API (v1)

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.

PreviousGet Offers By IdsNextGet History

Last updated 10 months ago

Was this helpful?

Method: POST Base URL:

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

{
    "data": {
        "devices": [
            "android"
        ]
    }
}

Your affiliate ID. Can be found on the .

Your API key. Can be found on the .

Wall code that can be found on the

https://api.adgatemedia.com/v1/user-based-api/devices
Offers API page
Offers API page
AdGate Rewards page