Documentation of renew or get the session API - https://api.webnet.mywire.org/auth/session (POST)
HTTP Parameters | Value |
---|---|
Method: | POST |
URL: | https://api.webnet.mywire.org/auth/session |
Body: | JSON |
Body Parameters | Type | Required | Description |
---|---|---|---|
device_key / session | string / string | YES | The user’s session or device key |
* If both parameters are specified (“device_key” and “session”), the “session” parameter is ignored
Parameters | Type | Description |
---|---|---|
session | string | The user’s new session |
session_old* | string / null | The user’s old, no longer valid session |
* “session_old” is set to null if “device_key” was used in the request
Request does not have all required parameters or they are not correct
The user’s request session or device key is invalid