我有一个1000多个电话号码的列表,我正试图通过拨打flash电话来使用sinch verification REST API进行验证。然而,我总是从端点得到这样的响应。。。
[
callId:fa61c8ae-2936-4c3d-a89c-ca852d9bd464,
reason:Expired,
method:flashcall,
identity:[
endpoint:+2348166180681,
verified:false, type:number
],
id:fa61c8ae-2936-4c3d-a89c-ca852d9bd464,
event:VerificationResultEvent,
status:FAIL
]
我正在执行以下步骤。。。
-
向发出POST请求
https://verificationapi-v1.sinch.com/verification/v1/verifications
使用以下正文。。。
["identity" : ["type": "number","endpoint": "+xxxxxxxxxx"], "flashCallOptions": ["dialTimeout": 10],"method": "flashCall"]
-
听a
verificationRequestEvent
并以
[action: "allow"]
当我这样做时,我会通过
VerificationResultEvent
如上所示。
有什么我做得不对的吗?我目前的怀疑是,与其只在第二步做出反应
[操作:“允许”]
,我应该再提出一个发帖请求吗?