Availability useravailable

When the useravailable request is called in the Ozeki Chat Client, it updates the user's availability status to "available," signaling to other users that they are ready for communication. This API request triggers a real-time update across the platform, ensuring that the user's status is accurately reflected to their contacts. By leveraging this functionality, the Ozeki Chat Client facilitates seamless communication by instantly notifying others when a user becomes available for interaction.

Availability request

Method: POST
URL: ?srv=chatserver&api=chatavailability
Request headers: Content-Type: application/json
Ozeki-Signature: signature
Ozeki-Station: stationId
Ozeki-User: userId
POST data:
{
  "action": "useravailable",
  "clientversioncode": 3,
  "timestamp": "2024-03-08 13:55:47"
}

Availability response

Response headers Content-Type: application/json
Response data:
{
  "status": "OK",
  "errormessage": ""
}

Request parameters

userid: This parameter contains the user id of the user. This field can be calculated by taking the md5 checksum of the user's e-mail address. For example: md5("alice@ozeki.hu") = "aa68d2204cb2bb85f2de3b9aad0d86d7";

timestamp: yyyy-MM-dd hh:mm:ss format, in UTC timezone, it's the client's responsibility to convert it into the local timezone.

More information