post https://www.rebuildingsociety.com/api/rs/SetDeviceID
This method allows to save Device ID for specified user which will be used for sending push notifications to mobile device
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
Parameter | Definition |
---|---|
apikey | API access key supplied by Rebuilding Society |
userkey | Token for User Authentication, see /Userkey |
device_id | 10...100 characters string |
device_type | 'android' or 'ios' |