diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/dyvmsapi-intl/2021-10-15 | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/dyvmsapi-intl/2021-10-15')
| -rw-r--r-- | data/zh_cn/dyvmsapi-intl/2021-10-15/api-docs.php | 1332 |
1 files changed, 390 insertions, 942 deletions
diff --git a/data/zh_cn/dyvmsapi-intl/2021-10-15/api-docs.php b/data/zh_cn/dyvmsapi-intl/2021-10-15/api-docs.php index 1e5eef1..8be575a 100644 --- a/data/zh_cn/dyvmsapi-intl/2021-10-15/api-docs.php +++ b/data/zh_cn/dyvmsapi-intl/2021-10-15/api-docs.php @@ -1,204 +1,134 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Dyvmsapi-intl', - 'version' => '2021-10-15', - ], + 'info' => ['style' => 'RPC', 'product' => 'Dyvmsapi-intl', 'version' => '2021-10-15'], 'directories' => [ [ - 'id' => 186730, - 'title' => '语音单呼', + 'children' => ['VoiceSingleCall'], 'type' => 'directory', - 'children' => [ - 'VoiceSingleCall', - ], + 'title' => '语音单呼', + 'id' => 452112, ], [ - 'id' => 166271, - 'title' => '语音群呼', + 'children' => ['VoiceGroupCall'], 'type' => 'directory', - 'children' => [ - 'VoiceGroupCall', - ], + 'title' => '语音群呼', + 'id' => 452113, ], [ - 'id' => 200087, - 'title' => '其他', + 'children' => ['BackendCallGroup', 'BackendCallSignal', 'SignalCall', 'GroupCall'], 'type' => 'directory', - 'children' => [ - 'BackendCallGroup', - 'BackendCallSignal', - 'SignalCall', - 'GroupCall', - ], + 'title' => '其他', + 'id' => 452114, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'VoiceSingleCall' => [ - 'summary' => '向指定号码发送语音验证码和带参数变量的语音通知,支持语音文件模板或文本转语音模板。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'BackendCallGroup' => [ + 'summary' => '向指定的一批号码发起语音群呼。群呼内容为已经通过审核的模板。可以通过登录国际语音控制台,进入“模板管理”查看模板ID。此功能会将号码送入发送队列进行排队。实际呼出时间不确定。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '258913', - 'abilityTreeNodes' => [ - 'FEATUREdyvmsF61Y5H', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'abilityTreeCode' => '107319', + 'abilityTreeNodes' => ['FEATUREdyvms5W940Z'], ], 'parameters' => [ [ - 'name' => 'CallerIdNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '主叫号码。 若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', - 'type' => 'string', - 'required' => false, - 'example' => '852****0001', - ], - ], - [ 'name' => 'CalledNumber', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '接收语音通知的手机号码。 号码格式:国际码+号码: 示例:85200****00。', - 'type' => 'string', - 'required' => false, - 'example' => '852****0000', - ], - ], - [ - 'name' => 'TtsCode', - 'in' => 'query', - 'schema' => [ - 'description' => '文本转语音模板的语音 ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板 ID。 此参数与 VoiceCode 二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', - 'type' => 'string', + 'description' => '被叫号码。上限为5万个。', + 'type' => 'array', + 'items' => ['description' => '号码格式:国际码+号码。'."\n" + .'例如: 852****0000', 'type' => 'string', 'required' => false, 'example' => '852****0000'], 'required' => false, - 'example' => '1001', ], ], [ - 'name' => 'TtsParam', + 'name' => 'CallerIdNumber', 'in' => 'query', - 'schema' => [ - 'description' => '模板中的变量参数,JSON 格式。', - 'type' => 'string', - 'required' => false, - 'example' => '{"code":"1234"}', - ], + 'schema' => ['description' => '主叫号码。'."\n" + ."\n" + .'若您不填该参数,系统将会使用当地随机号码作为外显号码。'."\n" + .'若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', 'type' => 'string', 'required' => false, 'example' => '852****1111'], ], [ - 'name' => 'VoiceCode', + 'name' => 'CountryId', 'in' => 'query', - 'schema' => [ - 'description' => '语音文件的模板 ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板 ID。 此参数与 TtsCode 二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', - 'type' => 'string', - 'required' => false, - 'example' => '1002', - ], + 'schema' => ['description' => '国家码。ISO2。', 'type' => 'string', 'required' => false, 'example' => 'HK'], ], [ 'name' => 'PlayTimes', 'in' => 'query', - 'schema' => [ - 'description' => '一通电话内语音通知内容的播放次数。取值范围:1~3,默认取值 3。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => '语音文件的播放次数。取值范围:1~3。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ - 'name' => 'Volume', + 'name' => 'SendType', 'in' => 'query', - 'schema' => [ - 'description' => '语音通知的播放音量。取值范围:0~100,默认取值 100。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => '发送类型:取值[1,2]。'."\n" + ."\n" + .'1: 立即开始发送任务,不等待。'."\n" + ."\n" + .'2: 定时开始发送任务。如果传该类型,TimingStart为必选字段。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], ], [ 'name' => 'Speed', 'in' => 'query', - 'schema' => [ - 'description' => '语速控制。取值范围为:-500~500。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '语速控制,取值范围:-500~500。'."\n" + ."\n" + .'音频类型为TTS时必传。录音文件可不传。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], ], [ 'name' => 'TaskName', 'in' => 'query', - 'schema' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'required' => false, - 'example' => '单呼任务名', - ], + 'schema' => ['description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => '测试群呼'], ], [ - 'name' => 'SendType', + 'name' => 'TimingStart', 'in' => 'query', - 'schema' => [ - 'description' => '发送类型:取值[1,2]。 1: 立即开始发送任务,不等待。 2: 定时开始发送任务。如果传该类型,TimingStart 为必选字段。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '定时发送的时间。', 'type' => 'string', 'required' => false, 'example' => '2022-05-01T08:00:00+08:00'], ], [ - 'name' => 'TimingStart', + 'name' => 'TtsCode', 'in' => 'query', - 'schema' => [ - 'description' => '定时发送的时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2022-05-01T08:00:00+08:00', - ], + 'schema' => ['description' => '语音文件的语音ID。'."\n" + ."\n" + .'您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板ID。'."\n" + ."\n" + .'此参数与VoiceCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', 'type' => 'string', 'required' => false, 'example' => '100001'], ], [ - 'name' => 'OutId', + 'name' => 'VoiceCode', 'in' => 'query', - 'schema' => [ - 'description' => '预留给调用方使用的 ID,最终会通过在回执消息中将此 ID 带回给调用方。 字符串类型,长度为 1~15 个字节。', - 'type' => 'string', - 'required' => false, - 'example' => '22522****', - ], + 'schema' => ['description' => '文本转语音的模板ID。'."\n" + ."\n" + .'您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。'."\n" + ."\n" + .'此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', 'type' => 'string', 'required' => false, 'example' => '200001'], ], [ - 'name' => 'CountryId', + 'name' => 'Volume', 'in' => 'query', - 'schema' => [ - 'description' => '国家/地区二字码,ISO2。', - 'type' => 'string', - 'required' => false, - 'example' => 'HK', - ], + 'schema' => ['description' => '语音文件播放的音量。取值范围:0~100,默认取值100。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], + ], + [ + 'name' => 'OutId', + 'in' => 'query', + 'schema' => ['title' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。'."\n" + ."\n" + .'字符串类型,长度为1~15个字节。', 'description' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。'."\n" + ."\n" + .'字符串类型,长度为1~15个字节。', 'type' => 'string', 'required' => false, 'example' => '22596****'], ], ], 'responses' => [ @@ -206,212 +136,103 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝详细信息。', - 'type' => 'string', - 'example' => '""', - ], - 'Message' => [ - 'description' => '返回信息描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '请求 ID。', - 'type' => 'string', - 'example' => 'D9CB****-****-****-****-********9D23'."\n", - ], - 'Model' => [ - 'description' => '请求结果数据', - 'type' => 'object', - ], - 'Code' => [ - 'description' => '请求状态码。 返回 SUCCESS 代表请求成功。 其他错误码,请参见 API 错误码。', - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'Success' => [ - 'description' => '请求是否成功,成功:true,失败:false。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E50F****-****-****-****-********966F'], + 'Code' => ['description' => ' '."\n" + .'请求状态码。'."\n" + ."\n" + .'返回OK代表请求成功。'."\n" + .'其他错误码,请参见API错误码。', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '返回信息描述', 'type' => 'string', 'example' => 'OK'], + 'TaskId' => ['description' => '任务ID,可以通过此ID查询任务的详情。', 'type' => 'string', 'example' => '550E****-****-****-****-********00A0'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Product.Unsubscript', 'errorMessage' => 'You have not subscribed to the specified product.', 'description' => ''], + ['errorCode' => 'Ram.PermissionDeny', 'errorMessage' => 'You are not authorized to perform the operation.', 'description' => ''], + ['errorCode' => 'System.LimitControl', 'errorMessage' => 'The system is under flow control.', 'description' => ''], + ['errorCode' => 'Unknown.ResourceOwnerId', 'errorMessage' => 'The resource does not belong to the current user.', 'description' => ''], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Message\\": \\"OK\\",\\n \\"RequestId\\": \\"D9CB****-****-****-****-********9D23\\\\n\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '向指定号码发起语音呼叫', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E50F****-****-****-****-********966F\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"TaskId\\": \\"550E****-****-****-****-********00A0\\"\\n}","errorExample":""},{"type":"xml","example":"<BackendCallGroupResponse>\\n <RequestId>E50FFA85-0B79-4421-A7BD-00B0A271966F</RequestId>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <TaskId>550e8400-e29b-41d4-a716-446655440000</TaskId>\\n</BackendCallGroupResponse>","errorExample":""}]', + 'title' => '向指定的一批号码发起语音群呼', + 'changeSet' => [], ], - 'VoiceGroupCall' => [ - 'summary' => '向指定号码发送多次语音呼叫,支持语音文件模板或文本转语音模板进行呼叫。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'BackendCallSignal' => [ + 'summary' => '向指定号码发送语音验证码和带参数变量的语音通知。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '258912', - 'abilityTreeNodes' => [ - 'FEATUREdyvmsRGAF50', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'abilityTreeCode' => '107320', + 'abilityTreeNodes' => ['FEATUREdyvms5W940Z'], ], 'parameters' => [ [ - 'name' => 'CallerIdNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '主叫号码。 若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', - 'type' => 'string', - 'required' => false, - 'example' => '852****1111', - ], - ], - [ 'name' => 'CalledNumber', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '被叫号码。上限为5万个。', - 'type' => 'array', - 'items' => [ - 'description' => '号码格式:国际码+号码。 例如: 852****0000', - 'type' => 'string', - 'required' => false, - 'example' => '852****0000', - ], - 'required' => false, - ], - ], - [ - 'name' => 'TtsCode', - 'in' => 'query', - 'schema' => [ - 'description' => '文本转语音的模板 ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板 ID。 此参数与 VoiceCode 二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', - 'type' => 'string', - 'required' => false, - 'example' => '1****01', - ], + 'schema' => ['description' => '接收语音通知的手机号码。'."\n" + ."\n" + .'号码格式:国际码+号码:'."\n" + .'示例:85200****00。', 'type' => 'string', 'required' => false, 'example' => '852****0000'], ], [ - 'name' => 'TtsParam', + 'name' => 'CallerIdNumber', 'in' => 'query', - 'schema' => [ - 'description' => '模板中的变量参数,JSON格式。', - 'type' => 'string', - 'required' => false, - 'example' => '{"code":"1234"}', - ], + 'schema' => ['description' => '主叫号码。'."\n" + ."\n" + .'若您不填该参数,系统将会使用当地随机号码作为外显号码。'."\n" + .'若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', 'type' => 'string', 'required' => false, 'example' => '852****0000'], ], [ - 'name' => 'VoiceCode', + 'name' => 'CountryId', 'in' => 'query', - 'schema' => [ - 'description' => '语音文件的模板ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。 此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', - 'type' => 'string', - 'required' => false, - 'example' => '2*****01', - ], + 'schema' => ['description' => '国家二字码,ISO2', 'type' => 'string', 'required' => false, 'example' => 'HK'], ], [ 'name' => 'PlayTimes', 'in' => 'query', - 'schema' => [ - 'description' => '语音文件的播放次数。取值范围:1~3。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'Volume', - 'in' => 'query', - 'schema' => [ - 'description' => '语音文件播放的音量。取值范围:0~100,默认取值 100。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => '一通电话内语音通知内容的播放次数。取值范围:1~3,默认取值3。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], ], [ 'name' => 'Speed', 'in' => 'query', - 'schema' => [ - 'description' => '语速控制,取值范围:-500~500。 音频类型为 TTS 时必传。录音文件可不传。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => '语速控制。取值范围为:-500~500。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], ], [ - 'name' => 'TaskName', + 'name' => 'TtsCode', 'in' => 'query', - 'schema' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'required' => false, - 'example' => '群呼任务', - ], + 'schema' => ['description' => '已通过审核的语音验证码模板ID。'."\n" + ."\n" + .'您可以登录国际语音服务控制台,选择"国际语音-语音模板管理-文本转语音模板"查看模板ID。', 'type' => 'string', 'required' => false, 'example' => '1001'], ], [ - 'name' => 'SendType', + 'name' => 'TtsParam', 'in' => 'query', - 'schema' => [ - 'description' => '发送类型:取值[1,2]。 1: 立即开始发送任务,不等待。 2: 定时开始发送任务。如果传该类型,TimingStart 为必选字段。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '模板中的变量参数,JSON格式。', 'type' => 'string', 'required' => false, 'example' => '{"code":"1234"}'], ], [ - 'name' => 'TimingStart', + 'name' => 'Volume', 'in' => 'query', - 'schema' => [ - 'description' => '定时发送的时间', - 'type' => 'string', - 'required' => false, - 'example' => '2022-05-01T08:00:00+08:00', - ], + 'schema' => ['description' => '语音通知的播放音量。取值范围:0~100,默认取值100。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], ], [ 'name' => 'OutId', 'in' => 'query', - 'schema' => [ - 'description' => '预留给调用方使用的 ID,最终会通过在回执消息中将此 ID 带回给调用方。 字符串类型,长度为 1~15 个字节。', - 'type' => 'string', - 'required' => false, - 'example' => '22596****', - ], - ], - [ - 'name' => 'CountryId', - 'in' => 'query', - 'schema' => [ - 'description' => '国家/地区二字码,ISO2。', - 'type' => 'string', - 'required' => false, - 'example' => 'HK', - ], + 'schema' => ['title' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。'."\n" + ."\n" + .'字符串类型,长度为1~15个字节。', 'description' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。'."\n" + ."\n" + .'字符串类型,长度为1~15个字节。', 'type' => 'string', 'required' => false, 'example' => '22522****'], ], ], 'responses' => [ @@ -419,222 +240,144 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝详细信息。', - 'type' => 'string', - 'example' => '""', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'E50F****-****-****-****-********966F', - ], - 'Message' => [ - 'description' => '返回信息描述', - 'type' => 'string', - 'example' => 'OK', - ], - 'Model' => [ - 'description' => '请求结果数据。', - 'type' => 'object', - ], - 'Code' => [ - 'description' => '请求状态码。 返回 OK 代表请求成功。 其他错误码,请参见 API 错误码。', - 'type' => 'string', - 'example' => 'OK', - ], - 'Success' => [ - 'description' => '请示成功标识,true: 成功 / false: 失败', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D9CB****-****-****-****-********9D23'], + 'Code' => ['description' => '请求状态码。'."\n" + ."\n" + .'返回OK代表请求成功。'."\n" + .'其他错误码,请参见API错误码。', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '状态码的描述。', 'type' => 'string', 'example' => 'OK'], + 'CallId' => ['description' => '此次通话的唯一回执ID。可以通过此ID查询单个通话的详情。', 'type' => 'string', 'example' => '550E****-****-****-****-********0CA0'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"\\\\\\"\\\\\\"\\",\\n \\"RequestId\\": \\"E50F****-****-****-****-********966F\\",\\n \\"Message\\": \\"OK\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '向指定的一批号码发起语音群呼', - ], - 'BackendCallGroup' => [ - 'summary' => '向指定的一批号码发起语音群呼。群呼内容为已经通过审核的模板。可以通过登录国际语音控制台,进入“模板管理”查看模板ID。此功能会将号码送入发送队列进行排队。实际呼出时间不确定。', - 'methods' => [ - 'get', - 'post', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Product.Unsubscript', 'errorMessage' => 'You have not subscribed to the specified product.', 'description' => ''], + ['errorCode' => 'Ram.PermissionDeny', 'errorMessage' => 'You are not authorized to perform the operation.', 'description' => ''], + ['errorCode' => 'System.LimitControl', 'errorMessage' => 'The system is under flow control.', 'description' => ''], + ['errorCode' => 'Unknown.ResourceOwnerId', 'errorMessage' => 'The resource does not belong to the current user.', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D9CB****-****-****-****-********9D23\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"CallId\\": \\"550E****-****-****-****-********0CA0\\"\\n}","type":"json"}]', + 'title' => '向指定号码发起语音验证码', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dyvms:BackendCallSignal', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VoiceMessagingService', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GroupCall' => [ + 'summary' => '向指定号码发送多次语音呼叫,支持语音文件模板或文本转语音模板进行呼叫。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '107319', - 'abilityTreeNodes' => [ - 'FEATUREdyvms5W940Z', - ], - ], 'parameters' => [ [ + 'name' => 'Signature', + 'in' => 'query', + 'schema' => ['description' => '认证签名。自动补全,无需写入', 'type' => 'string', 'required' => false, 'example' => 's****************D'."\n"], + ], + [ + 'name' => 'Timestamp', + 'in' => 'query', + 'schema' => ['description' => '写入记录的时间。自动补全,无需写入', 'type' => 'string', 'required' => false, 'example' => '20**-**-******10Z'."\n"], + ], + [ + 'name' => 'SignatureNonce', + 'in' => 'query', + 'schema' => ['description' => '签名唯一的随机数。自动补全,无需写入。', 'type' => 'string', 'required' => false, 'example' => 'l*********y'."\n"], + ], + [ 'name' => 'CalledNumber', 'in' => 'query', 'style' => 'json', 'schema' => [ + 'title' => '被叫号码。上限为5万个。', 'description' => '被叫号码。上限为5万个。', 'type' => 'array', - 'items' => [ - 'description' => '号码格式:国际码+号码。'."\n" - .'例如: 852****0000', - 'type' => 'string', - 'required' => false, - 'example' => '852****0000', - ], + 'items' => ['title' => '号码格式:国际码+号码。 例如: 852****0000', 'description' => '号码格式:国际码+号码。 例如: 852****0000', 'type' => 'string', 'required' => false, 'example' => '852****0000'], 'required' => false, + 'example' => '', ], ], [ 'name' => 'CallerIdNumber', 'in' => 'query', - 'schema' => [ - 'description' => '主叫号码。'."\n" - ."\n" - .'若您不填该参数,系统将会使用当地随机号码作为外显号码。'."\n" - .'若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', - 'type' => 'string', - 'required' => false, - 'example' => '852****1111', - ], + 'schema' => ['title' => '主叫号码。 若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', 'description' => '主叫号码。 若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', 'type' => 'string', 'required' => false, 'example' => '852****1111'], ], [ 'name' => 'CountryId', 'in' => 'query', - 'schema' => [ - 'description' => '国家码。ISO2。', - 'type' => 'string', - 'required' => false, - 'example' => 'HK', - ], + 'schema' => ['title' => '国家/地区二字码,ISO2。', 'description' => '国家/地区二字码,ISO2。', 'type' => 'string', 'required' => false, 'example' => 'HK'], ], [ 'name' => 'PlayTimes', 'in' => 'query', - 'schema' => [ - 'description' => '语音文件的播放次数。取值范围:1~3。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '语音文件的播放次数。取值范围:1~3。', 'description' => '语音文件的播放次数。取值范围:1~3。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'SendType', 'in' => 'query', - 'schema' => [ - 'description' => '发送类型:取值[1,2]。'."\n" - ."\n" - .'1: 立即开始发送任务,不等待。'."\n" - ."\n" - .'2: 定时开始发送任务。如果传该类型,TimingStart为必选字段。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['title' => '发送类型:取值[1,2]。 1: 立即开始发送任务,不等待。 2: 定时开始发送任务。如果传该类型,TimingStart为必选字段。', 'description' => '发送类型:取值[1,2]。 1: 立即开始发送任务,不等待。 2: 定时开始发送任务。如果传该类型,TimingStart为必选字段。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3'], ], [ 'name' => 'Speed', 'in' => 'query', - 'schema' => [ - 'description' => '语速控制,取值范围:-500~500。'."\n" - ."\n" - .'音频类型为TTS时必传。录音文件可不传。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['title' => '语速控制,取值范围:-500~500。 音频类型为TTS时必传。录音文件可不传。', 'description' => '语速控制,取值范围:-500~500。 音频类型为TTS时必传。录音文件可不传。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '94'], ], [ 'name' => 'TaskName', 'in' => 'query', - 'schema' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'required' => false, - 'example' => '测试群呼', - ], + 'schema' => ['title' => '任务名称。', 'description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => '群呼任务'], ], [ 'name' => 'TimingStart', 'in' => 'query', - 'schema' => [ - 'description' => '定时发送的时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2022-05-01T08:00:00+08:00', - ], + 'schema' => ['title' => '2022-05-01T08:00:00+08:00', 'description' => '2022-05-01T08:00:00+08:00', 'type' => 'string', 'required' => false, 'example' => '定时发送的时间。'], ], [ 'name' => 'TtsCode', 'in' => 'query', - 'schema' => [ - 'description' => '语音文件的语音ID。'."\n" - ."\n" - .'您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板ID。'."\n" - ."\n" - .'此参数与VoiceCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', - 'type' => 'string', - 'required' => false, - 'example' => '100001', - ], + 'schema' => ['title' => '文本转语音的模板ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板ID。 此参数与VoiceCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', 'description' => '文本转语音的模板ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板ID。 此参数与VoiceCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', 'type' => 'string', 'required' => false, 'example' => '1****01'], ], [ 'name' => 'VoiceCode', 'in' => 'query', - 'schema' => [ - 'description' => '文本转语音的模板ID。'."\n" - ."\n" - .'您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。'."\n" - ."\n" - .'此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', - 'type' => 'string', - 'required' => false, - 'example' => '200001', - ], + 'schema' => ['title' => '语音文件的模板ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。 此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', 'description' => '语音文件的模板ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。 此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', 'type' => 'string', 'required' => false, 'example' => '2*****01'], ], [ 'name' => 'Volume', 'in' => 'query', - 'schema' => [ - 'description' => '语音文件播放的音量。取值范围:0~100,默认取值100。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['title' => '语音文件播放的音量。取值范围:0~100,默认取值100。', 'description' => '语音文件播放的音量。取值范围:0~100,默认取值100。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11'], ], [ 'name' => 'OutId', 'in' => 'query', - 'schema' => [ - 'title' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。'."\n" - ."\n" - .'字符串类型,长度为1~15个字节。', - 'description' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。'."\n" - ."\n" - .'字符串类型,长度为1~15个字节。', - 'type' => 'string', - 'required' => false, - 'example' => '22596****', - ], + 'schema' => ['title' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。 字符串类型,长度为1~15个字节。', 'description' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。 字符串类型,长度为1~15个字节。', 'type' => 'string', 'required' => false, 'example' => '22596****'."\n"], + ], + [ + 'name' => 'TtsParam', + 'in' => 'query', + 'schema' => ['title' => '模板中的变量参数,JSON格式。', 'description' => '模板中的变量参数,JSON格式。', 'type' => 'string', 'required' => false, 'example' => '{"code":"1234"}'], ], ], 'responses' => [ @@ -642,187 +385,121 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'E50F****-****-****-****-********966F', - ], - 'Code' => [ - 'description' => ' '."\n" - .'请求状态码。'."\n" - ."\n" - .'返回OK代表请求成功。'."\n" - .'其他错误码,请参见API错误码。', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '返回信息描述', - 'type' => 'string', - 'example' => 'OK', - ], - 'TaskId' => [ - 'description' => '任务ID,可以通过此ID查询任务的详情。', - 'type' => 'string', - 'example' => '550E****-****-****-****-********00A0', + 'AccessDeniedDetail' => ['description' => '访问被拒绝详细信息。', 'type' => 'string', 'example' => '""'], + 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => 'E50F****-****-****-****-********966F'], + 'Message' => ['title' => '返回信息描述', 'description' => '返回信息描述', 'type' => 'string', 'example' => 'OK'], + 'Model' => [ + 'description' => '请求结果数据。', + 'type' => 'object', + 'properties' => [ + 'TaskId' => ['title' => '任务ID,可以通过此ID查询任务的详情。', 'description' => '任务ID,可以通过此ID查询任务的详情。', 'type' => 'string', 'example' => '550E****-****-****-****-********00A0'], + ], + 'example' => '', ], + 'Code' => ['title' => '请求状态码。 返回OK代表请求成功。 其他错误码,请参见API错误码。', 'description' => '请求状态码。 返回OK代表请求成功。 其他错误码,请参见API错误码。', 'type' => 'string', 'example' => 'OK'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Product.Unsubscript', - 'errorMessage' => 'You have not subscribed to the specified product.', - ], - [ - 'errorCode' => 'Ram.PermissionDeny', - 'errorMessage' => 'You are not authorized to perform the operation.', - ], - [ - 'errorCode' => 'System.LimitControl', - 'errorMessage' => 'The system is under flow control.', - ], - [ - 'errorCode' => 'Unknown.ResourceOwnerId', - 'errorMessage' => 'The resource does not belong to the current user.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E50F****-****-****-****-********966F\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"TaskId\\": \\"550E****-****-****-****-********00A0\\"\\n}","errorExample":""},{"type":"xml","example":"<BackendCallGroupResponse>\\n <RequestId>E50FFA85-0B79-4421-A7BD-00B0A271966F</RequestId>\\n <Code>OK</Code>\\n <Message>OK</Message>\\n <TaskId>550e8400-e29b-41d4-a716-446655440000</TaskId>\\n</BackendCallGroupResponse>","errorExample":""}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"\\\\\\"\\\\\\"\\",\\n \\"RequestId\\": \\"E50F****-****-****-****-********966F\\",\\n \\"Message\\": \\"OK\\",\\n \\"Model\\": {\\n \\"TaskId\\": \\"550E****-****-****-****-********00A0\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', 'title' => '向指定的一批号码发起语音群呼', - ], - 'BackendCallSignal' => [ - 'summary' => '向指定号码发送语音验证码和带参数变量的语音通知。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + ], + 'SignalCall' => [ + 'summary' => '向指定号码发送语音验证码和带参数变量的语音通知,支持语音文件模板或文本转语音模板。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '107320', - 'abilityTreeNodes' => [ - 'FEATUREdyvms5W940Z', - ], - ], 'parameters' => [ [ - 'name' => 'CalledNumber', + 'name' => 'Signature', 'in' => 'query', - 'schema' => [ - 'description' => '接收语音通知的手机号码。'."\n" - ."\n" - .'号码格式:国际码+号码:'."\n" - .'示例:85200****00。', - 'type' => 'string', - 'required' => false, - 'example' => '852****0000', - ], + 'schema' => ['description' => '认证签名。自动补全,无需写入。', 'type' => 'string', 'required' => false, 'example' => '9****************D'], ], [ - 'name' => 'CallerIdNumber', + 'name' => 'Timestamp', 'in' => 'query', - 'schema' => [ - 'description' => '主叫号码。'."\n" - ."\n" - .'若您不填该参数,系统将会使用当地随机号码作为外显号码。'."\n" - .'若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', - 'type' => 'string', - 'required' => false, - 'example' => '852****0000', - ], + 'schema' => ['description' => '写入记录的时间。自动补全,无需写入。', 'type' => 'string', 'required' => false, 'example' => '20**-**-**T**%3A25%3A10Z'], ], [ - 'name' => 'CountryId', + 'name' => 'SignatureNonce', 'in' => 'query', - 'schema' => [ - 'description' => '国家二字码,ISO2', - 'type' => 'string', - 'required' => false, - 'example' => 'HK', - ], + 'schema' => ['description' => '签名唯一的随机数。自动补全,无需写入。', 'type' => 'string', 'required' => false, 'example' => 'l*********y'], ], [ - 'name' => 'PlayTimes', + 'name' => 'CallerIdNumber', 'in' => 'query', - 'schema' => [ - 'description' => '一通电话内语音通知内容的播放次数。取值范围:1~3,默认取值3。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['title' => '主叫号码。 若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', 'description' => '主叫号码。 若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', 'type' => 'string', 'required' => false, 'example' => '852****0001'], ], [ - 'name' => 'Speed', + 'name' => 'CalledNumber', 'in' => 'query', - 'schema' => [ - 'description' => '语速控制。取值范围为:-500~500。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['title' => '接收语音通知的手机号码。 号码格式:国际码+号码: 示例:85200****00。', 'description' => '接收语音通知的手机号码。 号码格式:国际码+号码: 示例:85200****00。', 'type' => 'string', 'required' => false, 'example' => '852****0000'], ], [ 'name' => 'TtsCode', 'in' => 'query', - 'schema' => [ - 'description' => '已通过审核的语音验证码模板ID。'."\n" - ."\n" - .'您可以登录国际语音服务控制台,选择"国际语音-语音模板管理-文本转语音模板"查看模板ID。', - 'type' => 'string', - 'required' => false, - 'example' => '1001', - ], + 'schema' => ['title' => '文本转语音模板的语音ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板ID。 此参数与VoiceCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', 'description' => '文本转语音模板的语音ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板ID。 此参数与VoiceCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', 'type' => 'string', 'required' => false, 'example' => '1001'], ], [ 'name' => 'TtsParam', 'in' => 'query', - 'schema' => [ - 'description' => '模板中的变量参数,JSON格式。', - 'type' => 'string', - 'required' => false, - 'example' => '{"code":"1234"}', - ], + 'schema' => ['title' => '模板中的变量参数,JSON格式。', 'description' => '模板中的变量参数,JSON格式。', 'type' => 'string', 'required' => false, 'example' => '{"code":"1234"}'], + ], + [ + 'name' => 'VoiceCode', + 'in' => 'query', + 'schema' => ['title' => '语音文件的模板ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。 此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', 'description' => '语音文件的模板ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。 此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', 'type' => 'string', 'required' => false, 'example' => '1002'], + ], + [ + 'name' => 'PlayTimes', + 'in' => 'query', + 'schema' => ['title' => '一通电话内语音通知内容的播放次数。取值范围:1~3,默认取值3。', 'description' => '一通电话内语音通知内容的播放次数。取值范围:1~3,默认取值3。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], ], [ 'name' => 'Volume', 'in' => 'query', - 'schema' => [ - 'description' => '语音通知的播放音量。取值范围:0~100,默认取值100。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['title' => '语音通知的播放音量。取值范围:0~100,默认取值100。', 'description' => '语音通知的播放音量。取值范围:0~100,默认取值100。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], + ], + [ + 'name' => 'Speed', + 'in' => 'query', + 'schema' => ['title' => '语速控制。取值范围为:-500~500。', 'description' => '语速控制。取值范围为:-500~500。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], + ], + [ + 'name' => 'CountryId', + 'in' => 'query', + 'schema' => ['title' => '国家/地区二字码,ISO2。', 'description' => '国家/地区二字码,ISO2。', 'type' => 'string', 'required' => false, 'example' => 'HK'], + ], + [ + 'name' => 'TaskName', + 'in' => 'query', + 'schema' => ['title' => '任务名称。', 'description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => '单呼任务名'], + ], + [ + 'name' => 'SendType', + 'in' => 'query', + 'schema' => ['title' => '发送类型:取值[1,2]。 1: 立即开始发送任务,不等待。 2: 定时开始发送任务。如果传该类型,TimingStart为必选字段。', 'description' => '发送类型:取值[1,2]。 1: 立即开始发送任务,不等待。 2: 定时开始发送任务。如果传该类型,TimingStart为必选字段。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'TimingStart', + 'in' => 'query', + 'schema' => ['title' => '定时发送的时间。', 'description' => '定时发送的时间。', 'type' => 'string', 'required' => false, 'example' => '2022-05-01T08:00:00+08:00'], ], [ 'name' => 'OutId', 'in' => 'query', - 'schema' => [ - 'title' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。'."\n" - ."\n" - .'字符串类型,长度为1~15个字节。', - 'description' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。'."\n" - ."\n" - .'字符串类型,长度为1~15个字节。', - 'type' => 'string', - 'required' => false, - 'example' => '22522****', - ], + 'schema' => ['title' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。 字符串类型,长度为1~15个字节。', 'description' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。 字符串类型,长度为1~15个字节。', 'type' => 'string', 'required' => false, 'example' => '22522****'], ], ], 'responses' => [ @@ -830,66 +507,31 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D9CB****-****-****-****-********9D23', - ], - 'Code' => [ - 'description' => '请求状态码。'."\n" - ."\n" - .'返回OK代表请求成功。'."\n" - .'其他错误码,请参见API错误码。', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '状态码的描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'CallId' => [ - 'description' => '此次通话的唯一回执ID。可以通过此ID查询单个通话的详情。', - 'type' => 'string', - 'example' => '550E****-****-****-****-********0CA0', + 'AccessDeniedDetail' => ['description' => '访问被拒绝详细信息。', 'type' => 'string', 'example' => '""'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'D9CB****-****-****-****-********9D23'."\n"], + 'Message' => ['title' => '返回信息描述。', 'description' => '返回信息描述。', 'type' => 'string', 'example' => 'OK'."\n"], + 'Model' => [ + 'description' => '请求结果数据', + 'type' => 'object', + 'properties' => [ + 'CallId' => ['title' => '任务ID,可以通过此ID查询任务的详情。', 'description' => '任务ID,可以通过此ID查询任务的详情。', 'type' => 'string', 'example' => '550E****-****-****-****-********0CA0'."\n"], + ], + 'example' => '', ], + 'Code' => ['title' => '请求状态码。 返回OK代表请求成功。 其他错误码,请参见API错误码。', 'description' => '请求状态码。 返回OK代表请求成功。 其他错误码,请参见API错误码。', 'type' => 'string', 'example' => 'OK'], + 'Success' => ['title' => '请求是否成功,成功:true,失败:false。', 'description' => '请求是否成功,成功:true,失败:false。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Product.Unsubscript', - 'errorMessage' => 'You have not subscribed to the specified product.', - ], - [ - 'errorCode' => 'Ram.PermissionDeny', - 'errorMessage' => 'You are not authorized to perform the operation.', - ], - [ - 'errorCode' => 'System.LimitControl', - 'errorMessage' => 'The system is under flow control.', - ], - [ - 'errorCode' => 'Unknown.ResourceOwnerId', - 'errorMessage' => 'The resource does not belong to the current user.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D9CB****-****-****-****-********9D23\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"OK\\",\\n \\"CallId\\": \\"550E****-****-****-****-********0CA0\\"\\n}","type":"json"}]', - 'title' => '向指定号码发起语音验证码', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"\\\\\\"\\\\\\"\\",\\n \\"RequestId\\": \\"D9CB****-****-****-****-********9D23\\\\n\\",\\n \\"Message\\": \\"OK\\\\n\\",\\n \\"Model\\": {\\n \\"CallId\\": \\"550E****-****-****-****-********0CA0\\\\n\\"\\n },\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '向指定号码发起语音呼叫', + 'changeSet' => [], ], - 'SignalCall' => [ - 'summary' => '向指定号码发送语音验证码和带参数变量的语音通知,支持语音文件模板或文本转语音模板。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'VoiceGroupCall' => [ + 'summary' => '向指定号码发送多次语音呼叫,支持语音文件模板或文本转语音模板进行呼叫。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -901,149 +543,73 @@ [ 'name' => 'CallerIdNumber', 'in' => 'query', - 'schema' => [ - 'title' => '主叫号码。 若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', - 'description' => '主叫号码。 若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', - 'type' => 'string', - 'required' => false, - 'example' => '852****0001', - ], + 'schema' => ['description' => '主叫号码。 若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', 'type' => 'string', 'required' => false, 'example' => '852****1111'], ], [ 'name' => 'CalledNumber', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '接收语音通知的手机号码。 号码格式:国际码+号码: 示例:85200****00。', - 'description' => '接收语音通知的手机号码。 号码格式:国际码+号码: 示例:85200****00。', - 'type' => 'string', + 'description' => '被叫号码。上限为5万个。', + 'type' => 'array', + 'items' => ['description' => '号码格式:国际码+号码。 例如: 852****0000', 'type' => 'string', 'required' => false, 'example' => '852****0000'], 'required' => false, - 'example' => '852****0000', ], ], [ 'name' => 'TtsCode', 'in' => 'query', - 'schema' => [ - 'title' => '文本转语音模板的语音ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板ID。 此参数与VoiceCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', - 'description' => '文本转语音模板的语音ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板ID。 此参数与VoiceCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', - 'type' => 'string', - 'required' => false, - 'example' => '1001', - ], + 'schema' => ['description' => '文本转语音的模板 ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板 ID。 此参数与 VoiceCode 二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', 'type' => 'string', 'required' => false, 'example' => '1****01'], ], [ 'name' => 'TtsParam', 'in' => 'query', - 'schema' => [ - 'title' => '模板中的变量参数,JSON格式。', - 'description' => '模板中的变量参数,JSON格式。', - 'type' => 'string', - 'required' => false, - 'example' => '{"code":"1234"}', - ], + 'schema' => ['description' => '模板中的变量参数,JSON格式。', 'type' => 'string', 'required' => false, 'example' => '{"code":"1234"}'], ], [ 'name' => 'VoiceCode', 'in' => 'query', - 'schema' => [ - 'title' => '语音文件的模板ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。 此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', - 'description' => '语音文件的模板ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。 此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', - 'type' => 'string', - 'required' => false, - 'example' => '1002', - ], + 'schema' => ['description' => '语音文件的模板ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。 此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', 'type' => 'string', 'required' => false, 'example' => '2*****01'], ], [ 'name' => 'PlayTimes', 'in' => 'query', - 'schema' => [ - 'title' => '一通电话内语音通知内容的播放次数。取值范围:1~3,默认取值3。', - 'description' => '一通电话内语音通知内容的播放次数。取值范围:1~3,默认取值3。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => '语音文件的播放次数。取值范围:1~3。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'Volume', 'in' => 'query', - 'schema' => [ - 'title' => '语音通知的播放音量。取值范围:0~100,默认取值100。', - 'description' => '语音通知的播放音量。取值范围:0~100,默认取值100。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => '语音文件播放的音量。取值范围:0~100,默认取值 100。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], ], [ 'name' => 'Speed', 'in' => 'query', - 'schema' => [ - 'title' => '语速控制。取值范围为:-500~500。', - 'description' => '语速控制。取值范围为:-500~500。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], - ], - [ - 'name' => 'CountryId', - 'in' => 'query', - 'schema' => [ - 'title' => '国家/地区二字码,ISO2。', - 'description' => '国家/地区二字码,ISO2。', - 'type' => 'string', - 'required' => false, - 'example' => 'HK', - ], + 'schema' => ['description' => '语速控制,取值范围:-500~500。 音频类型为 TTS 时必传。录音文件可不传。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], ], [ 'name' => 'TaskName', 'in' => 'query', - 'schema' => [ - 'title' => '任务名称。', - 'description' => '任务名称。', - 'type' => 'string', - 'required' => false, - 'example' => '单呼任务名', - ], + 'schema' => ['description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => '群呼任务'], ], [ 'name' => 'SendType', 'in' => 'query', - 'schema' => [ - 'title' => '发送类型:取值[1,2]。 1: 立即开始发送任务,不等待。 2: 定时开始发送任务。如果传该类型,TimingStart为必选字段。', - 'description' => '发送类型:取值[1,2]。 1: 立即开始发送任务,不等待。 2: 定时开始发送任务。如果传该类型,TimingStart为必选字段。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '发送类型:取值[1,2]。 1: 立即开始发送任务,不等待。 2: 定时开始发送任务。如果传该类型,TimingStart 为必选字段。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'TimingStart', 'in' => 'query', - 'schema' => [ - 'title' => '定时发送的时间。', - 'description' => '定时发送的时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2022-05-01T08:00:00+08:00', - ], + 'schema' => ['description' => '定时发送的时间', 'type' => 'string', 'required' => false, 'example' => '2022-05-01T08:00:00+08:00'], ], [ 'name' => 'OutId', 'in' => 'query', - 'schema' => [ - 'title' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。 字符串类型,长度为1~15个字节。', - 'description' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。 字符串类型,长度为1~15个字节。', - 'type' => 'string', - 'required' => false, - 'example' => '22522****', - ], + 'schema' => ['description' => '预留给调用方使用的 ID,最终会通过在回执消息中将此 ID 带回给调用方。 字符串类型,长度为 1~15 个字节。', 'type' => 'string', 'required' => false, 'example' => '22596****'], + ], + [ + 'name' => 'CountryId', + 'in' => 'query', + 'schema' => ['description' => '国家/地区二字码,ISO2。', 'type' => 'string', 'required' => false, 'example' => 'HK'], ], ], 'responses' => [ @@ -1051,65 +617,30 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝详细信息。', - 'type' => 'string', - 'example' => '""', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D9CB****-****-****-****-********9D23'."\n", - ], - 'Message' => [ - 'title' => '返回信息描述。', - 'description' => '返回信息描述。', - 'type' => 'string', - 'example' => 'OK'."\n", - ], - 'Model' => [ - 'description' => '请求结果数据', - 'type' => 'object', - 'properties' => [ - 'CallId' => [ - 'title' => '任务ID,可以通过此ID查询任务的详情。', - 'description' => '任务ID,可以通过此ID查询任务的详情。', - 'type' => 'string', - 'example' => '550E****-****-****-****-********0CA0'."\n", - ], - ], - 'example' => '', - ], - 'Code' => [ - 'title' => '请求状态码。 返回OK代表请求成功。 其他错误码,请参见API错误码。', - 'description' => '请求状态码。 返回OK代表请求成功。 其他错误码,请参见API错误码。', - 'type' => 'string', - 'example' => 'OK', - ], - 'Success' => [ - 'title' => '请求是否成功,成功:true,失败:false。', - 'description' => '请求是否成功,成功:true,失败:false。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'AccessDeniedDetail' => ['description' => '访问被拒绝详细信息。', 'type' => 'string', 'example' => '""'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E50F****-****-****-****-********966F'], + 'Message' => ['description' => '返回信息描述', 'type' => 'string', 'example' => 'OK'], + 'Model' => ['description' => '请求结果数据。', 'type' => 'object'], + 'Code' => ['description' => '请求状态码。 返回 OK 代表请求成功。 其他错误码,请参见 API 错误码。', 'type' => 'string', 'example' => 'OK'], + 'Success' => ['description' => '请示成功标识,true: 成功 / false: 失败', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"\\\\\\"\\\\\\"\\",\\n \\"RequestId\\": \\"D9CB****-****-****-****-********9D23\\\\n\\",\\n \\"Message\\": \\"OK\\\\n\\",\\n \\"Model\\": {\\n \\"CallId\\": \\"550E****-****-****-****-********0CA0\\\\n\\"\\n },\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '向指定号码发起语音呼叫', - ], - 'GroupCall' => [ - 'summary' => '向指定号码发送多次语音呼叫,支持语音文件模板或文本转语音模板进行呼叫。', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"\\\\\\"\\\\\\"\\",\\n \\"RequestId\\": \\"E50F****-****-****-****-********966F\\",\\n \\"Message\\": \\"OK\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '向指定的一批号码发起语音群呼', + 'changeSet' => [ + ['createdAt' => '2025-07-31T08:14:59.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + ], + 'VoiceSingleCall' => [ + 'summary' => '向指定号码发送语音验证码和带参数变量的语音通知,支持语音文件模板或文本转语音模板。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1119,159 +650,69 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'CalledNumber', + 'name' => 'CallerIdNumber', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '被叫号码。上限为5万个。', - 'description' => '被叫号码。上限为5万个。', - 'type' => 'array', - 'items' => [ - 'title' => '号码格式:国际码+号码。 例如: 852****0000', - 'description' => '号码格式:国际码+号码。 例如: 852****0000', - 'type' => 'string', - 'required' => false, - 'example' => '852****0000', - ], - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => '主叫号码。 若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', 'type' => 'string', 'required' => false, 'example' => '852****0001'], ], [ - 'name' => 'CallerIdNumber', + 'name' => 'CalledNumber', 'in' => 'query', - 'schema' => [ - 'title' => '主叫号码。 若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', - 'description' => '主叫号码。 若您不填该参数,系统将会使用当地随机号码作为外显号码。 若您专属号码外呼,则必须传入已购买的号码,仅支持一个号码。您可以登录国际语音服务控制台,选择"号码管理"查看已购买的号码。', - 'type' => 'string', - 'required' => false, - 'example' => '852****1111', - ], + 'schema' => ['description' => '接收语音通知的手机号码。 号码格式:国际码+号码: 示例:85200****00。', 'type' => 'string', 'required' => false, 'example' => '852****0000'], ], [ - 'name' => 'CountryId', + 'name' => 'TtsCode', 'in' => 'query', - 'schema' => [ - 'title' => '国家/地区二字码,ISO2。', - 'description' => '国家/地区二字码,ISO2。', - 'type' => 'string', - 'required' => false, - 'example' => 'HK', - ], + 'schema' => ['description' => '文本转语音模板的语音 ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板 ID。 此参数与 VoiceCode 二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', 'type' => 'string', 'required' => false, 'example' => '1001'], ], [ - 'name' => 'PlayTimes', + 'name' => 'TtsParam', 'in' => 'query', - 'schema' => [ - 'title' => '语音文件的播放次数。取值范围:1~3。', - 'description' => '语音文件的播放次数。取值范围:1~3。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '模板中的变量参数,JSON 格式。', 'type' => 'string', 'required' => false, 'example' => '{"code":"1234"}'], ], [ - 'name' => 'SendType', + 'name' => 'VoiceCode', 'in' => 'query', - 'schema' => [ - 'title' => '发送类型:取值[1,2]。 1: 立即开始发送任务,不等待。 2: 定时开始发送任务。如果传该类型,TimingStart为必选字段。', - 'description' => '发送类型:取值[1,2]。 1: 立即开始发送任务,不等待。 2: 定时开始发送任务。如果传该类型,TimingStart为必选字段。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => '语音文件的模板 ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板 ID。 此参数与 TtsCode 二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', 'type' => 'string', 'required' => false, 'example' => '1002'], ], [ - 'name' => 'Speed', + 'name' => 'PlayTimes', 'in' => 'query', - 'schema' => [ - 'title' => '语速控制,取值范围:-500~500。 音频类型为TTS时必传。录音文件可不传。', - 'description' => '语速控制,取值范围:-500~500。 音频类型为TTS时必传。录音文件可不传。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '94', - ], + 'schema' => ['description' => '一通电话内语音通知内容的播放次数。取值范围:1~3,默认取值 3。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], ], [ - 'name' => 'TaskName', + 'name' => 'Volume', 'in' => 'query', - 'schema' => [ - 'title' => '任务名称。', - 'description' => '任务名称。', - 'type' => 'string', - 'required' => false, - 'example' => '群呼任务', - ], + 'schema' => ['description' => '语音通知的播放音量。取值范围:0~100,默认取值 100。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], ], [ - 'name' => 'TimingStart', + 'name' => 'Speed', 'in' => 'query', - 'schema' => [ - 'title' => '2022-05-01T08:00:00+08:00', - 'description' => '2022-05-01T08:00:00+08:00', - 'type' => 'string', - 'required' => false, - 'example' => '定时发送的时间。', - ], + 'schema' => ['description' => '语速控制。取值范围为:-500~500。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], ], [ - 'name' => 'TtsCode', + 'name' => 'TaskName', 'in' => 'query', - 'schema' => [ - 'title' => '文本转语音的模板ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板ID。 此参数与VoiceCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', - 'description' => '文本转语音的模板ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"文本转语音模板",查看模板ID。 此参数与VoiceCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', - 'type' => 'string', - 'required' => false, - 'example' => '1****01', - ], + 'schema' => ['description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => '单呼任务名'], ], [ - 'name' => 'VoiceCode', + 'name' => 'SendType', 'in' => 'query', - 'schema' => [ - 'title' => '语音文件的模板ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。 此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', - 'description' => '语音文件的模板ID。 您可以登录国际语音服务控制台,选择"语音模板管理"-"语音文件",查看模板ID。 此参数与TtsCode二选一必填。分别代表使用语音文件作为呼叫内容呼叫或者使用固定模板文字作为呼叫内容。', - 'type' => 'string', - 'required' => false, - 'example' => '2*****01', - ], + 'schema' => ['description' => '发送类型:取值[1,2]。 1: 立即开始发送任务,不等待。 2: 定时开始发送任务。如果传该类型,TimingStart 为必选字段。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ - 'name' => 'Volume', + 'name' => 'TimingStart', 'in' => 'query', - 'schema' => [ - 'title' => '语音文件播放的音量。取值范围:0~100,默认取值100。', - 'description' => '语音文件播放的音量。取值范围:0~100,默认取值100。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '11', - ], + 'schema' => ['description' => '定时发送的时间。', 'type' => 'string', 'required' => false, 'example' => '2022-05-01T08:00:00+08:00'], ], [ 'name' => 'OutId', 'in' => 'query', - 'schema' => [ - 'title' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。 字符串类型,长度为1~15个字节。', - 'description' => '预留给调用方使用的ID,最终会通过在回执消息中将此ID带回给调用方。 字符串类型,长度为1~15个字节。', - 'type' => 'string', - 'required' => false, - 'example' => '22596****'."\n", - ], + 'schema' => ['description' => '预留给调用方使用的 ID,最终会通过在回执消息中将此 ID 带回给调用方。 字符串类型,长度为 1~15 个字节。', 'type' => 'string', 'required' => false, 'example' => '22522****'], ], [ - 'name' => 'TtsParam', + 'name' => 'CountryId', 'in' => 'query', - 'schema' => [ - 'title' => '模板中的变量参数,JSON格式。', - 'description' => '模板中的变量参数,JSON格式。', - 'type' => 'string', - 'required' => false, - 'example' => '{"code":"1234"}', - ], + 'schema' => ['description' => '国家/地区二字码,ISO2。', 'type' => 'string', 'required' => false, 'example' => 'HK'], ], ], 'responses' => [ @@ -1279,54 +720,61 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AccessDeniedDetail' => [ - 'description' => '访问被拒绝详细信息。', - 'type' => 'string', - 'example' => '""', - ], - 'RequestId' => [ - 'title' => '请求ID', - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'E50F****-****-****-****-********966F', - ], - 'Message' => [ - 'title' => '返回信息描述', - 'description' => '返回信息描述', - 'type' => 'string', - 'example' => 'OK', - ], - 'Model' => [ - 'description' => '请求结果数据。', - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'title' => '任务ID,可以通过此ID查询任务的详情。', - 'description' => '任务ID,可以通过此ID查询任务的详情。', - 'type' => 'string', - 'example' => '550E****-****-****-****-********00A0', - ], - ], - 'example' => '', - ], - 'Code' => [ - 'title' => '请求状态码。 返回OK代表请求成功。 其他错误码,请参见API错误码。', - 'description' => '请求状态码。 返回OK代表请求成功。 其他错误码,请参见API错误码。', - 'type' => 'string', - 'example' => 'OK', - ], + 'AccessDeniedDetail' => ['description' => '访问被拒绝详细信息。', 'type' => 'string', 'example' => '""'], + 'Message' => ['description' => '返回信息描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'D9CB****-****-****-****-********9D23'."\n"], + 'Model' => ['description' => '请求结果数据', 'type' => 'object'], + 'Code' => ['description' => '请求状态码。 返回 SUCCESS 代表请求成功。 其他错误码,请参见 API 错误码。', 'type' => 'string', 'example' => 'SUCCESS'], + 'Success' => ['description' => '请求是否成功,成功:true,失败:false。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"\\\\\\"\\\\\\"\\",\\n \\"RequestId\\": \\"E50F****-****-****-****-********966F\\",\\n \\"Message\\": \\"OK\\",\\n \\"Model\\": {\\n \\"TaskId\\": \\"550E****-****-****-****-********00A0\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', - 'title' => '向指定的一批号码发起语音群呼', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Message\\": \\"OK\\",\\n \\"RequestId\\": \\"D9CB****-****-****-****-********9D23\\\\n\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '向指定号码发起语音呼叫', + 'changeSet' => [ + ['createdAt' => '2025-07-31T08:14:59.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], ], ], 'endpoints' => [ + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dyvmsapi-intl.ap-southeast-1.aliyuncs.com', 'endpoint' => 'dyvmsapi-intl.ap-southeast-1.aliyuncs.com', 'vpc' => 'dyvmsapi-intl-vpc.ap-southeast-1.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'ACCOUNT_INFO_UNCOMPLETED', 'message' => 'Remote invoke error msg:Your account info is incomplete.', 'http_code' => 400, 'description' => '远程调用错误消息:您的账户信息不完整,请前往 https://myaccount.alibabacloud.com/user_info.htm#/account/tax 补全'], + ['code' => 'DidNumberInvalid', 'message' => 'Invalid calling number.', 'http_code' => 400, 'description' => '主叫号码无效'], + ['code' => 'isv.PRODUCT_UN_SUBSCRIPT', 'message' => '未开通云通信产品的阿里云客户', 'http_code' => 400, 'description' => '未开通云通信产品的阿里云客户'], + ['code' => 'PlayTimesInvalid', 'message' => 'The value range of replay times is incorrect, [1,3].', 'http_code' => 400, 'description' => '重播次数取值范围错误,[1,3]'], + ['code' => 'SpeedInvalid', 'message' => 'The speech speed value range is wrong, [-500,500].', 'http_code' => 400, 'description' => '语速取值范围错误,[-500,500]'], + ['code' => 'SUPER_RESELLER_NOT_OPEN', 'message' => 'The distribution account has not been opened yet. Please contact the primary account to open the service and try again.', 'http_code' => 400, 'description' => '分销账号暂未开通,请先联系主账号开通服务后重试'], + ['code' => 'TemplateInvalid', 'message' => 'Invalid template ID.', 'http_code' => 400, 'description' => '模板ID无效'], + ], + 'changeSet' => [ [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'dyvmsapi-intl.ap-southeast-1.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'VoiceSingleCall'], + ['description' => 'OpenAPI 下线', 'api' => 'VoiceGroupCall'], + ], + 'createdAt' => '2025-07-31T08:14:59.000Z', + 'description' => '', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], ], ], + 'ram' => [ + 'productCode' => 'VoiceMessagingService', + 'productName' => '语音服务', + 'ramCodes' => ['dyvms'], + 'ramLevel' => '服务级', + 'ramConditions' => [], + 'ramActions' => [], + 'resourceTypes' => [], + ], ]; |
