添加应用程序 API 密钥
How to automate the process of adding an application API key.
阅读时间1 分钟最后更新于 13 天前
启用了 Enable Remote API 复选框时,可以通过使用 cURL、高级 REST 客户端 (ARC) 或 Postman 等工具调用位于
developer-api.vivox.com/api/v1/applications/remote-api/key/add
以下代码演示有关如何使用 cURL 添加“somenewkey”应用程序 API 密钥的示例:
以下格式的响应指示已成功添加了密钥:curl "https://developer-api.vivox.com/api/v1/applications/remote-api/key/add" -X POST -d"{\"remoteApiUsername\":\"remote-api-username-from-org-settings-page\",\"remoteApiPassword\":\"remote-api-password-from-org-settings-page\",\"issuer\":\"issuer-from-app-details-page\",\"key\":\"somenewkey\"}"
{"statusCode":200,"data":"some-new-key"}