# Auth im auth service - [/mcs.Auth/Register](#mcsauthregister) ## /mcs.Auth/Register 将用户注册进IM系统,系统会自动分配它预链接的WS服务器 ### Request ```javascript { device_os: "Pc", // enum, 设备名 device_token: "", // type, 设备唯一标识 device_brand: "", // type, 设备厂商 } ``` ### Reply ```javascript { status: 0, // type, 状态 secret_key: "", // type, 秘钥 endpoints: [""], // list, 服务器地址。 } ```