Menu

Introduction

Preparation

First, you need to go to the console's "Automation" -> "API" menu to obtain the API KEY. Then, use the DuoPlus-API-Key in the request header for all API requests to pass in the obtained API KEY.

Usage Limitations

The QPS limit for each interface is set to 1.

Request Domain

Domain: https://openapi.duoplus.net

Request Method

POST

Request Headers

Parameter Value Description
Lang zh Set the interface interaction language, supports: zh, zh-TW, en, ru
Content-Type application/json All data is transmitted using JSON
DuoPlus-API-Key xx-xx-xx API Key, obtained from the "Automation" -> "API" menu in the console

Request Parameters

Use JSON string to transmit

json Copy
{"key":"value"}

Response Parameters

Parameter Type Description
code int Response status code, 200 means normal; 401 requires re-login
data object Content body
message string Message, usually error information

Pagination Description

Pagination Request Parameters

Parameter Type Required Description
page int No Request page number, defaults to the first page if not provided
pagesize int No Number of items per page, defaults to 10 items/page if not provided

Pagination Response Parameters

The following parameters are within the returned data object. Typically for lists, data contains a list and the following pagination parameters at the same level.

Parameter Type Required Description
page int Yes Page number
pagesize int Yes Number of items per page
total int Yes Total number of items
total_page int Yes Total number of pages
Previous
API Reference
Next
Cloud Phone
Last modified: 2024-12-13Powered by