Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

onesignal update device api

curl --include 
     --request PUT 
     --header "Content-Type: application/json" 
     --data-binary "{"app_id" : "APP_ID",
"language":"es",
"timezone":-28800,
"game_version":"1.0",
"device_os":"7.0.4",
"device_type":0,
"device_model":"iPhone",
"tags":{"a":"1","foo":""}}" 
     https://onesignal.com/api/v1/players/PLAYER_ID
Source by documentation.onesignal.com #
 
PREVIOUS NEXT
Tagged: #onesignal #update #device #api
ADD COMMENT
Topic
Name
6+7 =