Description

Registers/associates the device with the user.

General

End Point
https://www.mogl.com/api/v2/devices/add
HTTP Method POST
Requires SSL true
Requires Acting User true (learn more)
Scope(s) None

Path Parameters

Path parameters are ALWAYS required.

None

Request Parameters

Parameters are NOT REQUIRED unless noted otherwise.

deviceToken required The device token for receiving push notifications.
deviceType required The type of the device [IOS,ANDROID].

Response Fields

device A device See device details

Try It Now

Endpoint
Client Id
(required)
Access Token
(required)
User Token
*(see below -- client_credentials only)
deviceToken
(required)
deviceType
(required)
*Partners that authenticate with client_credentials should provide a user_token.