Devices

Catalog


POST Authorize Add device

Request path:

https://staging.server.kahla.app/Devices/AddDevice

Request content type:

application/x-www-form-urlencoded

Form content example:

Name=yourName&PushEndpoint=yourPushEndpoint&PushP256DH=yourPushP256DH&PushAuth=yourPushAuth 

Request form:

Name Required Type
Name Required Text
PushEndpoint Required Text
PushP256DH Required Text
PushAuth Required Text

POST Authorize Update device

Request path:

https://staging.server.kahla.app/Devices/UpdateDevice

Request content type:

application/x-www-form-urlencoded

Form content example:

DeviceId=0&Name=yourName&PushEndpoint=yourPushEndpoint&PushP256DH=yourPushP256DH&PushAuth=yourPushAuth 

Request form:

Name Required Type
DeviceId Required Number
Name Required Text
PushEndpoint Required Text
PushP256DH Required Text
PushAuth Required Text

GET Authorize My devices

Request path:

https://staging.server.kahla.app/Devices/MyDevicesTry

Request example:

https://staging.server.kahla.app/Devices/MyDevices

POST Authorize Push test message

Request path:

https://staging.server.kahla.app/Devices/PushTestMessage

Request content type:

application/x-www-form-urlencoded

Form content example: