全部產品
Search
文件中心

Resource Management:SendPhoneVerificationForMessageContact - 向連絡人手機發送驗證資訊

更新時間:Dec 21, 2025

向連絡人的手機號碼發送驗證資訊。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

ContactId

string

連絡人 ID。

c-qL4HqKONzOM7****

PhoneNumber

string

連絡人的手機號碼。

格式:<國家碼>-<手機號碼>

該手機號碼為您在 AddMessageContact 中設定的手機號碼。

86-139****1234

返回參數

名稱

類型

描述

樣本值

object

返回結果。

RequestId

string

請求 ID。

CD76D376-2517-4924-92C5-DBC52262F93A

樣本

正常返回樣本

JSON格式

{
  "RequestId": "CD76D376-2517-4924-92C5-DBC52262F93A"
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 MissingParameter.ContactId You must specify ContactId.
400 InvalidParameter.ContactId The ContactId is invalid.
400 MissingParameter.PhoneNumber You must specify PhoneNumber.
400 InvalidParameter.PhoneNumber The PhoneNumber is invalid.
400 InvalidParameter.MobileCountryCode The current site does not support the country code.
404 EntityNotExists.Contact This Contact does not exist.
404 EntityNotExists.Contact.Verification This contact verification does not exist.
409 SendValidateCodeExceedsLimitForAccount For the same account, the number of verification codes sent exceeds the limit.

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情