OpenAPI 參考Api claw

Verify hosted credentials and list owned devices

POST
/api/v1/api-agents/{agentId}/channels/hosted-devices

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication.

In: header

Path Parameters

agentId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/api-agents/string/channels/hosted-devices" \  -H "Content-Type: application/json" \  -d '{    "provider": "juhe_wechat",    "appKey": "string",    "appSecret": "string"  }'
{  "devices": [    {      "guid": "string",      "label": "string",      "status": "string"    }  ]}