Roborock Go SDK
OpenapiAuthentication

Request Code

Reference contract from the pinned Python Roborock web API; caller selects the region explicitly.

POST
/api/v4/email/code/send

Header Parameters

header_clientid*string
header_clientlang*"en"

Value in

  • "en"

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v4/email/code/send" \  -H "header_clientid: string" \  -H "header_clientlang: en" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'email=synthetic%40example.test&type=login'
{  "code": 0,  "msg": "string",  "property1": null,  "property2": null}