Workspace registration

In the Ozeki Chat Client, the Workspace Registration API request, accompanied by headers such as Content-Type, Ozeki-User, and Ozeki-Signature, facilitates the registration of new workspaces within the application. This request enables users to securely register workspaces by providing essential parameters like user ID and signature for authentication and authorization purposes. By adhering to the specified Content-Type and including the necessary authentication headers, users can seamlessly integrate new workspaces into the Ozeki Chat Client environment.

Workspace registration request

Method: POST
URL: ?srv=chatowner&api=workspace
Request headers: Content-Type: application/json
Ozeki-User: userid
Ozeki-Signature: signature
POST data:
{
  "action": "workspaceregister",
  "workspacename": "alice.ozeki.chat"
}

Workspace registration response

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

More information