/SetDeviceID

This method allows to save Device ID for specified user which will be used for sending push notifications to mobile device

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Save user's Device ID

  • When using apikey, endpoint will not try to look for authorization header.
  • When using authorization header, bearer token should be of type password.
  • Device ID can be changed unlimited number of times

Description

Definition: This method allows to save Device ID for specified user which will be used for sending push notifications to mobile device

Parameters

ParameterDefinition
apikeyAPI access key supplied by Rebuilding Society
userkeyToken for User Authentication, see /Userkey
device_id10...100 characters string
device_type'android' or 'ios'
Form Data
string
string
string

10...100 characters

string

'android' or 'ios'

Headers
string

bearer <access_token>

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
rebuildingsociety.com © copyright 2019