Definition of Common Parameters

Explanation: The interface is implemented using the HTTP protocol and requires the necessary headers for authentication.

A. {url}: https://sdk.dmail.ai

B. The header should include the following two parts:

  • client_id: xxxx, // Client ID for the SDK, of type integer

  • client_secret: xxxx, // Client secret for the SDK, of type string C. Interface response structure:

  • code: 0/1 // The status code of the interface response, of type integer, where 0 represents failure and 1 represents success.

  • data: {...} // The data carried in the interface response, of type JSON object.

  • msg: "Process success" // The description of the interface response, of type string.

  • success: true/false // The success status of the interface response, of type boolean.

Last updated